From e0196026fd1d7c226251febe99e3540c16640f0d Mon Sep 17 00:00:00 2001
From: Variya <variya@Mac.lan>
Date: Fri, 06 Mar 2026 00:47:46 +0800
Subject: [PATCH] feat: 添加手动修改持仓功能
---
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 e683fd8..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/paper_trading_push.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