新增实例数据统计页:复盘 KPI 上、资金曲线下,系统设置可关。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-07 15:28:25 +08:00
parent 48b919bb2b
commit 23bd59c87f
12 changed files with 666 additions and 50 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ def embed_render_plan(page: str, embed_mode: str | None) -> EmbedRenderPlan:
key_history=page == "key_monitor",
key_list=page in ("key_monitor", "trade") or is_strategy,
orders=page == "trade" or is_strategy,
stats_bundle=page == "stats",
stats_bundle=False, # 旧永续统计已弃用;数据统计页走复盘 API + 资金曲线
strategy=is_strategy,
orphan_live=page == "trade" and is_shell,
)