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 序列化的问题

---
 scripts/morning_push_daemon.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/morning_push_daemon.py b/scripts/morning_push_daemon.py
index 792374d..4f6b55d 100644
--- a/scripts/morning_push_daemon.py
+++ b/scripts/morning_push_daemon.py
@@ -52,11 +52,11 @@
 def run_push():
     """执行推送脚本"""
     try:
-        script_path = '/Users/variya/.openclaw/workspace/projects/a-stock-advisor/scripts/a_stock_push_v5.py'
+        script_path = '/Users/variya/.openclaw/workspace/projects/a-stock-advisor/scripts/unified_daily_push.py'
         
         logger.info("触发盘前推送...")
         result = subprocess.run(
-            ['/opt/homebrew/bin/python3', script_path],
+            ['/opt/homebrew/bin/python3', script_path, '--type', 'morning'],
             capture_output=True,
             text=True,
             timeout=60

--
Gitblit v1.8.0