Administrator
4 天以前 245979e3907d34bcd88ac0c4547f399bf33a44de
strategy/strategy_script_v6.py
@@ -94,6 +94,9 @@
    if sv.日三板个数_10 >= 1:
        return False, f"10个交易日有>=3连板"
    if sv.涨得高未放量:
        return False, f"涨得高未放量"
    # if sv.当前价 > sv.昨日最低价 * 1.1:
    #     return False, f"买入时的价格必须≤昨日最低价*110%"
@@ -149,11 +152,11 @@
                continue
            orderids.add(o[0])
            big_order_money += o[1]
    threshold_money = max(sv.自由流通市值 // 1000, 200e4)
    threshold_money = max(1.5 * sv.自由流通市值 // 1000, 200e4)
    limit_up_codes_count = max([(p, len(sv.开盘啦最正板块涨停.get(p, []))) for p in can_buy_plates], key=lambda x: x[1])[1]
    threshold_money *= max(10 - limit_up_codes_count + 3, 5) / 10
    # threshold_money *= max(10 - limit_up_codes_count + 3, 5) / 10
    if big_order_money < threshold_money:
        return False, f"({big_order_money}/{threshold_money})大单金额不足"