diff --git a/deploy/profile-scripts/strategy_router.py b/deploy/profile-scripts/strategy_router.py index c0972ee3..082fdf14 100644 --- a/deploy/profile-scripts/strategy_router.py +++ b/deploy/profile-scripts/strategy_router.py @@ -301,12 +301,18 @@ def main(): hk_regime = load_regime('hk') hk_temp = load_temp('hk') from hk_strategies import strategies_for_regime - hk_active = strategies_for_regime(hk_regime.get("regime", "unknown")) + hk_cur_rg = hk_regime.get("regime", "unknown") + hk_active = strategies_for_regime(hk_cur_rg) + # 2026-08-18 港股按温区激活矩阵(老莫:非当前温区资格够也激活/备好) + hk_regime_active = {} + for _r in ("trend_down", "choppy", "trend_up"): + hk_regime_active[_r] = strategies_for_regime(_r) out["markets"] = {"hk": { - "state": hk_regime.get("regime", "unknown"), + "state": hk_cur_rg, "state_date": hk_regime.get("date", ""), "temp_band": hk_temp.get("band", "unknown"), "active": hk_active, + "regime_active": hk_regime_active, }} except Exception as e: print(f"港股路由失败(不影响A股): {e}", flush=True)