From f327048f2097293ed1e4f484bab1de04901074dc Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 18 十月 2024 18:19:53 +0800
Subject: [PATCH] bug修改

---
 l2/l2_data_manager_new.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/l2/l2_data_manager_new.py b/l2/l2_data_manager_new.py
index 13187da..4f35ed7 100644
--- a/l2/l2_data_manager_new.py
+++ b/l2/l2_data_manager_new.py
@@ -1367,8 +1367,7 @@
         if cancel_type != trade_constant.CANCEL_TYPE_HUMAN:
             # 鏄惁鏄氦鏄撻槦鍒楄Е鍙�
             # 鎵叆涓嬪崟鍙湁L鎾よ兘鎾ゅ崟
-            if order_begin_pos and order_begin_pos.mode == OrderBeginPosInfo.MODE_RADICAL and cancel_type not in {
-                trade_constant.CANCEL_TYPE_L, trade_constant.CANCEL_TYPE_L_UP, trade_constant.CANCEL_TYPE_L_DOWN}:
+            if order_begin_pos and order_begin_pos.mode == OrderBeginPosInfo.MODE_RADICAL and cancel_type not in {trade_constant.CANCEL_TYPE_L_DOWN}:
                 l2_log.cancel_debug(code, "鎾ゅ崟涓柇锛屽師鍥狅細{}", "鎵叆涓嬪崟涓嶆槸L鎾�")
                 return False
             # 鍔犵豢鍙湁L鎾�/浜烘挙鐢熸晥

--
Gitblit v1.8.0