From 65afea1ba534b51f947cbe7989d7f4d650bbc9e6 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期一, 04 十一月 2024 18:29:00 +0800 Subject: [PATCH] 代码异常保护 --- code_attribute/first_target_code_data_processor.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/code_attribute/first_target_code_data_processor.py b/code_attribute/first_target_code_data_processor.py index 0eda660..5d7369b 100644 --- a/code_attribute/first_target_code_data_processor.py +++ b/code_attribute/first_target_code_data_processor.py @@ -130,7 +130,8 @@ # 鏄惁鍏锋湁杈ㄨ瘑搴� is_special = True if k_format and k_format[8][0] else False - if not WantBuyCodesManager().is_in_cache(code): + if not WantBuyCodesManager().is_in_cache(code) and not gpcode_manager.BuyOpenLimitUpCodeManager().is_in_cache(code): + # 涓嶆槸鎯充拱鍗曪紝涔熶笉鏄帓涓�鐨勪唬鐮� if not is_special: situation = MarketSituationManager().get_situation_cache() zylt_threshold_as_yi = buy_condition_util.get_zyltgb_threshold(situation) -- Gitblit v1.8.0