From 3cb848d1805f6587abeed8978a0d76a282e1ba04 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期三, 11 十二月 2024 17:13:03 +0800 Subject: [PATCH] 如果某板块涨停个数≥5个(所有涨停股),则目标票回封可以买 --- third_data/code_plate_key_manager.py | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/third_data/code_plate_key_manager.py b/third_data/code_plate_key_manager.py index 0c4314e..3e2f5d2 100644 --- a/third_data/code_plate_key_manager.py +++ b/third_data/code_plate_key_manager.py @@ -365,7 +365,7 @@ if cls.__market_strong is not None: score = int(cls.__market_strong) for info in constant.RADICAL_BUY_TOP_IN_COUNT_BY_MARKET_STRONG: - if info[0]<=score<info[1]: + if info[0] <= score < info[1]: return info[2] return 10 @@ -482,8 +482,6 @@ if cls.top_in_list_cache[i][1] == b: return b, i, cls.top_in_list_cache[i][3] return b, -1, 0 - - @classmethod def set_top_5_industry(cls, datas): -- Gitblit v1.8.0