From 0d58b8db40c4607f589b08010b38d127b1080836 Mon Sep 17 00:00:00 2001 From: admin <admin@example.com> Date: 星期五, 13 六月 2025 15:23:55 +0800 Subject: [PATCH] 1.板上盯卖 L2决策分支简化/外部接口优化 --- strategy/buying_strategy.py | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/strategy/buying_strategy.py b/strategy/buying_strategy.py index 6cc30ae..3eaafe2 100644 --- a/strategy/buying_strategy.py +++ b/strategy/buying_strategy.py @@ -430,6 +430,14 @@ data_cache.bought_plate.extend(limit_up_plate_included_list) logger_info( f"銆恵k_line_data[0]['sec_name']}銆戜氦鏄撴垚鍔燂紒鎸佷粨闆嗗悎锛歿data_cache.position_symbols_set}") + purchased_stock_details = { + "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']), + } + data_cache.purchased_stocks_details_list.append(purchased_stock_details) + logger_info(f"宸叉垚浜よ偂绁ㄨ鎯呭垪琛細{purchased_stocks_details_list} ") # 鏈夋蹇垫棤寮哄害瑙嗙晫 if strength_list_have_it is False: -- Gitblit v1.8.0