diff --git a/deploy/profile-scripts/strategy_router.py b/deploy/profile-scripts/strategy_router.py index 12fa6d6f..a826ddd9 100644 --- a/deploy/profile-scripts/strategy_router.py +++ b/deploy/profile-scripts/strategy_router.py @@ -26,6 +26,9 @@ sys.path.insert(0, "/home/hmo/MoFin") OUT = Path("/home/hmo/MoFin/data/strategy_weights.json") DEFAULT_FAMILY = "mr" +# 已证伪策略(2026-08-15 对齐前端 DEPRECATED——证伪的策略绝不激活) +DEPRECATED = {"v_mr", "v_mr_sel", "v_combo"} + FAMILY_MAP = { "v_weak": "mr", "v_oversold": "mr", "v_mr": "mr", "v_mr2": "mr", "v_mr3": "mr", "v_mr4": "mr", "v_mr_sel": "mr", "v_lurk_v1": "mr", "v_lurk_v2": "mr", "v_lurk_v3": "mr", @@ -114,6 +117,8 @@ def route(regime, temp, perf): for name, regs in perf.items(): if not regs: continue + if name in DEPRECATED: # 已证伪策略绝不激活(2026-08-15) + continue cur = regs.get(current_regime) best = max(regs.items(), key=lambda x: x[1].get("win_rate", 0)) best_wr = best[1].get("win_rate", 0)