From 38b5789ae4feb253e91051b9a65d566585e6a86f Mon Sep 17 00:00:00 2001 From: admin <admin@example.com> Date: 星期五, 13 六月 2025 17:46:20 +0800 Subject: [PATCH] 1.无概念 且 无屏蔽的概念 才纳入无概念 2.已成交股票详情列表 --- strategy/buying_strategy.py | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/strategy/buying_strategy.py b/strategy/buying_strategy.py index 3eaafe2..bf0c9ea 100644 --- a/strategy/buying_strategy.py +++ b/strategy/buying_strategy.py @@ -434,10 +434,10 @@ "name": k_line_data[0]['sec_name'], "policy_name": "鏈夋蹇垫湁寮哄害绛栫暐鍒嗘敮", "plate_name": limit_up_plate_included, - "buy_time_trading_volume_ratio":(current_volume / k_line_data[0]['volume']), + "buy_time_trading_volume_ratio": (current_volume / k_line_data[0]['volume']), } data_cache.purchased_stocks_details_list.append(purchased_stock_details) - logger_info(f"宸叉垚浜よ偂绁ㄨ鎯呭垪琛細{purchased_stocks_details_list} ") + logger_info(f"宸叉垚浜よ偂绁ㄨ鎯呭垪琛細{data_cache.purchased_stocks_details_list} ") # 鏈夋蹇垫棤寮哄害瑙嗙晫 if strength_list_have_it is False: @@ -553,8 +553,8 @@ ''' 鏃犳蹇� 鏈夊己搴﹁鐣� ''' - if len(limit_up_plate_included) == 0 or limit_up_plate_included.issubset( - check_plate_list) is True: + if len(limit_up_plate_included) == 0 and limit_up_plate_included.issubset( + check_plate_list) is False: # logger_info(f"銆愭棤姒傚康銆�") if strength_list_have_it is True: logger_info( -- Gitblit v1.8.0