l2/l2_data_manager_new.py
@@ -1088,7 +1088,7 @@ thresh_hold_num = m_base_val // (float(gpcode_manager.get_limit_up_price(code)) * 100) # 真实下单位到成交位置的纯买额 total_num = 0 for i in range(trade_index + 1, order_begin_pos.buy_single_index): for i in range(trade_index + 1, buy_single_index): data = total_datas[i] val = data["val"] if not L2DataUtil.is_limit_up_price_buy(val): @@ -1391,7 +1391,7 @@ # 有过闪电下单 # 总卖的一半作为m值 threshold_num = int(sell_data[1] / (limit_up_price * 100)) // 2 threshold_max_num = 0 threshold_max_num = 1 if not threshold_num: # 目标手数