From f1c5e2762d4104476d184dd71dd8a97e573a83f4 Mon Sep 17 00:00:00 2001 From: hmo Date: Fri, 14 Aug 2026 07:24:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20per=5Fstock=5Freassess=E6=97=A0=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E4=B8=8D=E5=86=8D=E8=B7=91=E5=85=A8=E9=87=8Fregenerat?= =?UTF-8?q?e=5Fall(600s=E8=B6=85=E6=97=B6)=E2=80=94=E2=80=94=E6=94=B9?= =?UTF-8?q?=E4=B8=BAscan=5Fwatchlist=5Fstocks=E5=8F=AA=E5=A4=84=E7=90=86?= =?UTF-8?q?=E7=9B=98=E4=B8=AD=E5=88=B0=E6=9C=9F=E8=87=AA=E9=80=89(MAX=5FPE?= =?UTF-8?q?R=5FRUN=3D3=E5=BF=AB),=E5=85=A8=E9=87=8F=E9=87=8D=E8=AF=84?= =?UTF-8?q?=E5=9B=9E=E5=BD=92premarket=E8=81=8C=E8=B4=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/profile-scripts/per_stock_reassess.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/profile-scripts/per_stock_reassess.py b/deploy/profile-scripts/per_stock_reassess.py index 65b269a7..982b0406 100644 --- a/deploy/profile-scripts/per_stock_reassess.py +++ b/deploy/profile-scripts/per_stock_reassess.py @@ -220,10 +220,10 @@ def _build_full_analysis(code, entry, result): def main(): codes = [a for a in sys.argv[1:] if not a.startswith("-")] if not codes: - print("[FULL] 无指定编码,跑全量 regenerate_all()") - from strategy_lifecycle import regenerate_all - regenerate_all(stdout=False) - print("[FULL] 全量重评完成") + # 2026-08-14 修复:无参数时不再跑全量 regenerate_all(那是盘前 premarket 的职责,超时 600s) + # 改为只处理盘中到期的自选(scan_watchlist_stocks,MAX_PER_RUN=3 限制,快) + print("[WL-SCAN] 无指定编码,扫描盘中到期自选(不跑全量 regenerate_all)") + scan_watchlist_stocks() return # 读现有 decisions