From 257bb8ce781ec0ef582092ea8e453ae9aec2a2c4 Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期三, 23 四月 2025 17:48:45 +0800 Subject: [PATCH] 多余日志删除 --- code_attribute/first_target_code_data_processor.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/code_attribute/first_target_code_data_processor.py b/code_attribute/first_target_code_data_processor.py index 421e609..0493647 100644 --- a/code_attribute/first_target_code_data_processor.py +++ b/code_attribute/first_target_code_data_processor.py @@ -125,8 +125,12 @@ if not WantBuyCodesManager().is_in_cache( code) and not gpcode_manager.BuyOpenLimitUpCodeManager().is_in_cache(code): + if len(k_format) > 10 and k_format[10]: + l2_trade_util.forbidden_trade(code, "杩�5涓氦鏄撴棩鏈夋定鍋�/鐐告澘/璺屽仠") + continue # 鏂伴鏉愮牬鍓嶉珮灏变笉闇�瑕佸姞榛� - need_forbidden = new_block_processor.is_can_forbidden(code) + # 鏂伴鏉愯鎷夐粦杩樻槸鎷夐粦 + need_forbidden = True #new_block_processor.is_can_forbidden(code) if need_forbidden: if code_nature_analyse.is_price_too_high_in_days(code, volumes_data, limit_up_price)[0]: # 鍒ゆ柇鏄惁澶珮 -- Gitblit v1.8.0