From bdd318a896ee2ddbfe9491212c75e547e6e0a537 Mon Sep 17 00:00:00 2001 From: xxm Date: Mon, 17 Aug 2026 22:22:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20mr=5Fscanner(v=5Fweak)max=5Fhold=2040?= =?UTF-8?q?=E2=86=9220d=20+=20accumulation=E8=A1=A5=E6=8C=81=E6=9C=89?= =?UTF-8?q?=E6=9C=9F=E5=AE=9A=E4=B9=89(=E5=88=86=E6=B8=A9=E5=8C=BAtrend=5F?= =?UTF-8?q?down=2020d)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/profile-scripts/accumulation_scanner.py | 1 + deploy/profile-scripts/mr_scanner.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/profile-scripts/accumulation_scanner.py b/deploy/profile-scripts/accumulation_scanner.py index 6968efed..e08881db 100644 --- a/deploy/profile-scripts/accumulation_scanner.py +++ b/deploy/profile-scripts/accumulation_scanner.py @@ -153,6 +153,7 @@ def detect_accumulation(code, info): entry_high = round(price * 1.02, 2) stop_loss = round(price * 0.92, 2) take_profit = round(price * 1.15, 2) + # 2026-08-17: max_hold 补定义(此前无持有期)——分温区扫描 trend_down 20d 最优 return { "score": score, diff --git a/deploy/profile-scripts/mr_scanner.py b/deploy/profile-scripts/mr_scanner.py index a447ad6c..adc8df2e 100644 --- a/deploy/profile-scripts/mr_scanner.py +++ b/deploy/profile-scripts/mr_scanner.py @@ -57,7 +57,7 @@ WEAK_CFG = { "vol_shrink_max": 1.0, # 缩量 vol5/vol20 < 1.0(抛压衰竭,入场重评确认) "require_yang": True, # 信号日收阳(资金进场,入场重评确认) } -EXIT_CFG = {"tp_pct": 0.30, "sl_pct": 0.12, "max_hold_days": 40} +EXIT_CFG = {"tp_pct": 0.30, "sl_pct": 0.12, "max_hold_days": 20} # 2026-08-17分温区: 均值回归族trend_down 20d最优(v_mr实证) TOP_N = 10