From e19723b0a243cc4b7ba4a77cc079242f945bd9d5 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期一, 20 一月 2025 18:40:25 +0800
Subject: [PATCH] 首封可买入

---
 third_data/kpl_data_constant.py |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/third_data/kpl_data_constant.py b/third_data/kpl_data_constant.py
index 4b3f483..8c27707 100644
--- a/third_data/kpl_data_constant.py
+++ b/third_data/kpl_data_constant.py
@@ -113,7 +113,7 @@
                 kpl_block_dict[code] = []
             kpl_block_dict[code].append((r[2], r[1]))  # (鏉垮潡, 鏃ユ湡)
         for code in kpl_block_dict:
-            if code =='002361':
+            if code == '002361':
                 print("")
             block_infos = kpl_block_dict.get(code)
             cls.__radical_buy_reasons_dict[code] = cls.__compute_limit_up_reasons(code, block_infos)
@@ -321,6 +321,16 @@
     def get_history_limit_up_block_codes(cls, block):
         return cls.__history_limit_up_block_codes.get(block)
 
+    @classmethod
+    def get_history_limit_up_codes(cls):
+        """
+        鑾峰彇浠婃棩鍘嗗彶娑ㄥ仠浠g爜
+        @return:
+        """
+        if not cls.__history_code_data_dict:
+            return set()
+        return cls.__history_code_data_dict.keys()
+
 
 if __name__ == "__main__":
     ContainsLimitupCodesBlocksManager()

--
Gitblit v1.8.0