From 589595266f7e8c50b3a90e555daf67ee16347ae3 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期五, 25 四月 2025 16:36:15 +0800
Subject: [PATCH] 自由流通市值<40亿不买

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

diff --git a/l2/l2_data_manager_new.py b/l2/l2_data_manager_new.py
index 9703317..c610c78 100644
--- a/l2/l2_data_manager_new.py
+++ b/l2/l2_data_manager_new.py
@@ -830,6 +830,12 @@
             else:
                 if average_rate < 0.04:
                     return False, True, f"鍧囦环娑ㄥ箙({average_rate})灏忎簬4%", True
+
+        if not gpcode_manager.WantBuyCodesManager().is_in_cache(code):
+            zyltgb_as_yi = round(global_util.zyltgb_map.get(code) / 100000000,
+                                 2) if code in global_util.zyltgb_map else None
+            if zyltgb_as_yi and zyltgb_as_yi < 40:
+                return False, True, f"鑷敱娴侀�氬競鍊煎皬浜庯紙{zyltgb_as_yi}锛�< 40浜�", True
         return True, False, f"", False
 
     @classmethod

--
Gitblit v1.8.0