diff --git a/deploy/profile-scripts/divergence_detector.py b/deploy/profile-scripts/divergence_detector.py index 6408531b..30ca6c81 100644 --- a/deploy/profile-scripts/divergence_detector.py +++ b/deploy/profile-scripts/divergence_detector.py @@ -210,7 +210,8 @@ def detect_divergences(indices, history): if hsi and hscei: hsi_chg = hsi["change_pct"] hscei_chg = hscei["change_pct"] - if hsi_chg < 0 and hscei_chg < hsi_chg: + if hsi_chg < 0 and hscei_chg < hsi_chg and abs(hscei_chg - hsi_chg) >= 0.5: + # 2026-08-25 最小差幅阈值(t_4ae5b9f7: 0.02pct差异误报) # 国企跌得比恒指多 → 外资恐慌性卖出H股 signals.append({ "type": "hk_panic_selling",