From 517f6c8ce6c68bfcd652ceeb7b79f79408dfec76 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期二, 28 五月 2024 18:25:13 +0800 Subject: [PATCH] 注释NB撤/bug修改/手动拉黑前撤单/ --- l2/l2_transaction_data_processor.py | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/l2/l2_transaction_data_processor.py b/l2/l2_transaction_data_processor.py index 77ceadf..ff3bed5 100644 --- a/l2/l2_transaction_data_processor.py +++ b/l2/l2_transaction_data_processor.py @@ -150,13 +150,13 @@ cancel_result = FCancelBigNumComputer().need_cancel_for_deal_fast(code, buy_progress_index) if cancel_result[0]: L2TradeDataProcessor.cancel_buy(code, f"F鎾�:{cancel_result[1]}") - if not cancel_result[0]: - try: - cancel_result = NBCancelBigNumComputer().need_cancel(code, buy_progress_index) - if cancel_result[0]: - L2TradeDataProcessor.cancel_buy(code, f"澶у競鍊兼棤澶у崟鎾�:{cancel_result[1]}") - except: - pass + # if not cancel_result[0]: + # try: + # cancel_result = NBCancelBigNumComputer().need_cancel(code, buy_progress_index) + # if cancel_result[0]: + # L2TradeDataProcessor.cancel_buy(code, f"澶у競鍊兼棤澶у崟鎾�:{cancel_result[1]}") + # except: + # pass if not cancel_result[0] and buy_progress_index_changed: try: -- Gitblit v1.8.0