From 0f1cc55f65930d92ef6891e0729fced4b8256e3e Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 22 三月 2024 18:28:38 +0800 Subject: [PATCH] L后撤成交太快撤单注释/修复板上盯BUG --- l2/l2_transaction_data_processor.py | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/l2/l2_transaction_data_processor.py b/l2/l2_transaction_data_processor.py index fe763b3..3b8d48e 100644 --- a/l2/l2_transaction_data_processor.py +++ b/l2/l2_transaction_data_processor.py @@ -59,14 +59,15 @@ break except Exception as e: async_log_util.error(hx_logger_l2_debug, str(e)) - try: - # 涓嬪崟2s鍚庢墠寮�濮嬬敓鏁� - cresult = LCancelBigNumComputer().add_transaction_datas(code, datas) - if cresult[0] and not DCancelBigNumComputer().has_auto_cancel_rules(code): - L2TradeDataProcessor.cancel_buy(code, f"L鍚庢垚浜ゅお蹇挙鍗�:{cresult[1]}") - order_begin_pos = None - except Exception as e: - async_log_util.error(hx_logger_l2_debug, str(e)) + # 鏆傛椂娉ㄩ噴鎺� + # try: + # # 涓嬪崟2s鍚庢墠寮�濮嬬敓鏁� + # cresult = LCancelBigNumComputer().add_transaction_datas(code, datas) + # if cresult[0] and not DCancelBigNumComputer().has_auto_cancel_rules(code): + # L2TradeDataProcessor.cancel_buy(code, f"L鍚庢垚浜ゅお蹇挙鍗�:{cresult[1]}") + # order_begin_pos = None + # except Exception as e: + # async_log_util.error(hx_logger_l2_debug, str(e)) big_sell_order_info = None try: # 缁熻鍗栧崟 -- Gitblit v1.8.0