From 91352dcbefb04105163ff5bcbaf1ea95b46e9fa5 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期四, 30 五月 2024 18:37:22 +0800 Subject: [PATCH] 大股价小市值可下单/增加大单成交列表接口/bug修复 --- output/l2_output_util.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/output/l2_output_util.py b/output/l2_output_util.py index dc81ad2..458aa0e 100644 --- a/output/l2_output_util.py +++ b/output/l2_output_util.py @@ -25,6 +25,9 @@ local_today_canceled_buyno_map.get( code)) if left_count > 0 or real_place_order_index == i: + if dealing_info and int(dealing_info[0]) > total_datas[i]["val"]["orderNo"]: + # 涓嶈兘鍦ㄦ鍦ㄦ垚浜や綅缃箣鍓� + continue type_ = 0 num = val['num'] if dealing_info and str(total_datas[i]["val"]["orderNo"]) == str( @@ -56,7 +59,6 @@ if trade_index is None: trade_index = 0 threshold_before_count = max_count // 2 - fresults = __get_trade_queue(code, real_place_order_index, trade_index - 1, real_place_order_index, threshold_before_count, -1) fresults.reverse() -- Gitblit v1.8.0