From 1c58a76b4e34a477701340fed3f7ec556f62c90a Mon Sep 17 00:00:00 2001
From: Variya <variya@Mac.lan>
Date: Fri, 06 Mar 2026 00:43:44 +0800
Subject: [PATCH] fix: 修复 RDAgent 因子保存时 numpy 类型无法 JSON 序列化的问题

---
 code/strategy/enhanced_pusher.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/code/strategy/enhanced_pusher.py b/code/strategy/enhanced_pusher.py
index 73cb0d1..fda4791 100644
--- a/code/strategy/enhanced_pusher.py
+++ b/code/strategy/enhanced_pusher.py
@@ -335,6 +335,10 @@
                 build_stocks = [d for d in today_decision if d['type'] == '建仓']
                 if build_stocks:
                     content.append(f"• 建仓: {len(build_stocks)}只")
+                    content.append(f"• 建仓时间: 9:30-11:30(分散执行)")
+                    content.append(f"• 第一批(30%): 9:30-10:00")
+                    content.append(f"• 第二批(30%): 10:00-10:30")
+                    content.append(f"• 第三批(40%): 10:30-11:30")
                 
                 # 调仓计划
                 adjust_stocks = [d for d in today_decision if d['type'] in ['加仓', '减仓']]
@@ -354,6 +358,7 @@
                 content.append("• 保持当前持仓,无需调整")
                 content.append("• 继续监控止盈止损触发条件")
                 content.append("• 关注市场环境变化")
+                content.append("• 建仓时间建议: 9:30-11:30(分散执行)")
             
             # 持仓列表用于明日对比
             today_positions = []

--
Gitblit v1.8.0