Administrator
2024-01-05 fd2767c1e2bec489fb93bf69bcbf70e289d1382e
l2/l2_data_manager_new.py
@@ -1756,8 +1756,8 @@
                    buy_count -= int(total_datas[i]["re"])
            l2_log.buy_debug(code, "位置-{},总手数:{},目标手数:{}", i,
                             buy_nums, threshold_num)
            # 有撤单信号,且小于阈值
            if buy_nums >= threshold_num and trigger_buy:
            # 纯买额足够,且笔数大于5笔
            if buy_nums >= threshold_num and trigger_buy and buy_count>=5:
                try:
                    info = cls.__trade_log_placr_order_info_dict[code]
                    info.set_trade_factor(threshold_money, 0, [])