feat: 温区自适应前端横幅+router v5+overview API——概览页置顶显示温区/温度/激活策略, server.py /api/overview 返回 regime_weights, strategy_router v5 动态策略库
This commit is contained in:
@@ -622,6 +622,8 @@ def api_overview():
|
||||
"cash": cash, "position_pct": position_pct, "total_pnl": total_pnl,
|
||||
"top_movers": top_movers, "market": market,
|
||||
"alerts": _load_json(DATA_DIR / "alerts.json", [])[:10],
|
||||
# 2026-08-13 温区自适应:概览页横幅数据源
|
||||
"regime_weights": _load_json(DATA_DIR / "strategy_weights.json", None),
|
||||
"updated_at": summary.get("updated_at", ""),
|
||||
})
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user