From 1a0be577a89727ef6b80245b6b53c8ddf43ca7d9 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 07 六月 2024 00:37:26 +0800
Subject: [PATCH] 可购买创业板

---
 third_data/kpl_block_util.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/third_data/kpl_block_util.py b/third_data/kpl_block_util.py
index 3972d15..6c9c1f4 100644
--- a/third_data/kpl_block_util.py
+++ b/third_data/kpl_block_util.py
@@ -66,7 +66,7 @@
     for k in block_limit_up_dict:
         has_shsz = False
         for b in block_limit_up_dict[k]:
-            if b[0].find('00') == 0 or b[0].find('60') == 0:
+            if tool.is_can_buy_code(b[0]):
                 has_shsz = True
                 break
         if not has_shsz:
@@ -146,7 +146,7 @@
         if k[3] == code:
             # 鑾峰彇褰撳墠浠g爜娑ㄥ仠鏃堕棿
             limit_up_time = int(k[5])
-        if shsz and not tool.is_shsz_code(k[3]):
+        if shsz and not tool.is_can_buy_code(k[3]):
             continue
         # 鍓旈櫎楂樹綅鏉�
         if k[3] in yesterday_current_limit_up_codes:
@@ -176,7 +176,7 @@
         if k[0] == code:
             # 鑾峰彇褰撳墠浠g爜娑ㄥ仠鏃堕棿
             limit_up_time = int(k[2])
-        if shsz and not tool.is_shsz_code(k[0]):
+        if shsz and not tool.is_can_buy_code(k[0]):
             continue
         # 鍓旈櫎楂樹綅鏉�
         if k[0] in yesterday_current_limit_up_codes:

--
Gitblit v1.8.0