From 96fd363a110c68a7b4993025a706bdb4e8242a67 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期三, 20 八月 2025 14:30:15 +0800 Subject: [PATCH] 成交队列输出金额 --- output/l2_output_util.py | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/output/l2_output_util.py b/output/l2_output_util.py index 976d05b..00a693a 100644 --- a/output/l2_output_util.py +++ b/output/l2_output_util.py @@ -1,6 +1,7 @@ """ L2鏁版嵁杈撳嚭宸ュ叿 """ +from code_attribute import gpcode_manager from l2 import l2_data_util, l2_data_source_util from l2.l2_data_util import L2DataUtil, local_today_canceled_buyno_map from l2.l2_transaction_data_manager import HuaXinBuyOrderManager @@ -43,14 +44,12 @@ if tool.is_sh_code(code): # 涓婅瘉鐨勭エ闇�瑕佸姞涓婁富鍔ㄤ拱鐨勬暟鎹� num += dealing_active_info[1] // 100 - if i == real_place_order_index: type_ = 1 has_real_order_index = True elif num * float(val['price']) >= 29900: type_ = 2 - - fresults.append((num, type_)) + fresults.append((num, type_, int(num * float(val['price']) * 100))) if len(fresults) > max_count: break return fresults -- Gitblit v1.8.0