From 6bbfbbb16d792f7737ec86cabdba5c0e98dcf4b4 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 29 八月 2025 17:41:29 +0800
Subject: [PATCH] 有涨停买撤单要触发撤单计算

---
 cancel_strategy/s_l_h_cancel_strategy.py |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/cancel_strategy/s_l_h_cancel_strategy.py b/cancel_strategy/s_l_h_cancel_strategy.py
index 812e288..f24ee0a 100644
--- a/cancel_strategy/s_l_h_cancel_strategy.py
+++ b/cancel_strategy/s_l_h_cancel_strategy.py
@@ -1764,12 +1764,12 @@
             val = data["val"]
             if L2DataUtil.is_limit_up_price_buy_cancel(val):
                 # 鏌ヨ涔板叆浣嶇疆
-                buy_index = l2_data_source_util.L2DataSourceUtils.get_buy_index_with_cancel_data_v2(data,
-                                                                                                    local_today_buyno_map.get(
-                                                                                                        code))
-                if buy_index is not None and buy_index in watch_indexes:
-                    need_compute = True
-                    break
+                # buy_index = l2_data_source_util.L2DataSourceUtils.get_buy_index_with_cancel_data_v2(data,
+                #                                                                                     local_today_buyno_map.get(
+                #                                                                                         code))
+                # if buy_index is not None and buy_index in watch_indexes:
+                need_compute = True
+                break
         if force_compute:
             need_compute = True
         if need_compute:

--
Gitblit v1.8.0