From 506e43eb1b1c0bb4571cd7f3ce00ee74613cb920 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期三, 20 八月 2025 15:57:19 +0800 Subject: [PATCH] bug修复 --- output/code_info_output.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/output/code_info_output.py b/output/code_info_output.py index 2053886..c4b5844 100644 --- a/output/code_info_output.py +++ b/output/code_info_output.py @@ -16,6 +16,7 @@ from l2.l2_data_util import L2DataUtil from third_data.code_plate_key_manager import KPLCodeJXBlockManager from third_data.kpl_data_constant import LimitUpCodesBlockRecordManager +from trade.buy_radical.block_special_codes_manager import BlockSpecialCodesManager from utils import global_util, tool from log_module import log, log_export from l2 import l2_data_manager, l2_data_util, transaction_progress, l2_data_manager_new, code_price_manager @@ -80,7 +81,6 @@ code_extra_infos.append("鏆備笉涔�") params["code"] = code params["code_name"] = f"{gpcode_manager.get_code_name(code)} {code} 锛坽','.join(code_extra_infos)}锛�" - total_datas = l2_data_util.local_today_datas.get(code) if total_datas is None: total_datas = [] @@ -494,6 +494,8 @@ elif type == trade_record_log_util.TYPE_CANCEL: load_cancel_watch_index(latest_cancel_watch_index_dict) records_new_data.append((time_, "鎾ゅ崟", f"鍘熷洜锛歿data['msg']}", [])) + elif type == trade_record_log_util.TYPE_ACTION: + records_new_data.append((time_, data['type'], f"{data['msg']}", [])) load_cancel_watch_index(latest_cancel_watch_index_dict) records_new_data.sort(key=lambda x: x[0]) if records_new_data: -- Gitblit v1.8.0