l2/cancel_buy_strategy.py
@@ -459,6 +459,7 @@ total_num = 0 # 获取m值数据 thresh_hold_money = l2_trade_factor.L2PlaceOrderParamsManager.get_base_m_val(code) thresh_hold_money = thresh_hold_money * 2 thresh_hold_num = thresh_hold_money // (float(gpcode_manager.get_limit_up_price(code)) * 100) end_index = real_place_order_index + 1 for i in range(real_place_order_index + 1, total_datas[-1]["index"]):