From d47be1857932e1f731910a2573b8f8fe4dba74c5 Mon Sep 17 00:00:00 2001 From: xxm Date: Thu, 20 Aug 2026 06:46:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=AF=8F=E6=97=A5=E7=9B=98=E5=89=8D?= =?UTF-8?q?=E9=87=8D=E8=AF=84=E8=A1=A5=E5=85=A8=E8=87=AA=E9=80=89=E6=B1=A0?= =?UTF-8?q?=E2=80=94=E2=80=94batch=5Freassess=E5=90=8C=E6=97=B6=E5=90=AF?= =?UTF-8?q?=E5=8A=A8holding+watchlist(=E8=80=81=E8=8E=AB=E7=AC=AC4?= =?UTF-8?q?=E7=B1=BB=E9=87=8D=E8=AF=84=E8=A6=81=E6=B1=82=E6=89=80=E6=9C=89?= =?UTF-8?q?=E6=B1=A0=E5=AD=90=E4=B8=80=E4=B8=80=E9=87=8D=E8=AF=84,?= =?UTF-8?q?=E5=8E=9F=E5=8F=AA=E8=AF=84=E6=8C=81=E4=BB=93)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/profile-scripts/premarket_full_review.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deploy/profile-scripts/premarket_full_review.py b/deploy/profile-scripts/premarket_full_review.py index ab343823..8ba4deaf 100644 --- a/deploy/profile-scripts/premarket_full_review.py +++ b/deploy/profile-scripts/premarket_full_review.py @@ -28,11 +28,17 @@ import subprocess as _sp analysis_result = {"mode": "detached"} try: _log = open("/tmp/holdings_12d_daily.log", "a") + # 2026-08-19 修复:老莫第4类重评要求"所有池子(自选+持仓)一一重评" + # 原只启动 holding 12维LLM,自选池无盘前LLM重评 → 现在同时启动 holding + watchlist _sp.Popen( ["python3", "/home/hmo/.hermes/profiles/position-analyst/scripts/batch_reassess.py", "--type", "holding", "--today"], stdout=_log, stderr=_log, start_new_session=True) - print(" ✅ 12维分析已后台启动,日志: /tmp/holdings_12d_daily.log(结果落DB,不阻塞盘前流程)") + _sp.Popen( + ["python3", "/home/hmo/.hermes/profiles/position-analyst/scripts/batch_reassess.py", + "--type", "watchlist", "--today"], + stdout=_log, stderr=_log, start_new_session=True) + print(" ✅ 持仓+自选12维LLM分析已后台启动(各自落DB,不阻塞盘前流程)") except Exception as e: print(f" ⚠️ 12维分析启动失败: {e}") analysis_result = {"mode": "detached", "error": str(e)[:100]}