From 73703649f3f53275b7fd2193c8b79a201aff8ea8 Mon Sep 17 00:00:00 2001 From: xxm Date: Tue, 18 Aug 2026 15:42:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20per=5Fstock=5Freassess=20476=E8=A1=8Crr?= =?UTF-8?q?=5Fratio=E7=94=A8holding=E7=9A=84(=E4=BF=AErr=E6=9C=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89NameError,RR=E7=94=B1scanner=E5=AE=9A=E4=B8=8D?= =?UTF-8?q?=E8=A6=86=E7=9B=96)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/profile-scripts/per_stock_reassess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/profile-scripts/per_stock_reassess.py b/deploy/profile-scripts/per_stock_reassess.py index d4747d8a..10476f40 100644 --- a/deploy/profile-scripts/per_stock_reassess.py +++ b/deploy/profile-scripts/per_stock_reassess.py @@ -376,7 +376,7 @@ def main(): "strategy_type": "自选策略" if entry.get("type", "") in ("自选策略", "watchlist") else "持仓策略", "action": result.get("action", ""), "timing_signal": result.get("timing_signal", entry.get("timing_signal", "")), - "rr_ratio": rr, # 2026-08-18 统一用 77 行 entry/stop/tp 算的 rr(与 promote 同口径) + "rr_ratio": entry.get("rr_ratio", 0), # 2026-08-18 RR由scanner定,不覆盖(用holding的) "tech_snapshot": result.get("tech_snapshot", entry.get("tech_snapshot", "")), "stock_category": result.get("stock_category", entry.get("stock_category", "")), "sector_context": result.get("sector_context", entry.get("sector_context", "")),