dekun
4742a0bb9d
refactor: 移除四所统计分析页交易日历
...
删除日历 UI、bootstrap 与 /api/stats/calendar 注册;保留日/周/月统计表。内照明心档案日历不受影响。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-30 09:51:10 +08:00
dekun
32079bb4c2
fix: 修复统计日历 bootstrap 导致整站 500
...
日历数据改为安全 JSON 内嵌,仅统计页构建;构建失败时降级为空,避免拖垮其他页面。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-30 09:24:54 +08:00
dekun
3b687d17eb
fix: 统计日历服务端内嵌 bootstrap,首屏显示盈亏与笔数
...
与月统计同源 initial_calendar 写入页面,API 失败时仍渲染;四所日历路由独立注册并传入 get_db_fn。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-30 09:13:58 +08:00
dekun
448e88ec55
Count instance win rate by positive PnL and show external closes as manual close.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-25 22:27:52 +08:00
dekun
384d404bb3
Slim embed tab rendering to cut memory use and restore calculator.
...
Load only per-tab data for embed fragments, skip exchange capital fetches on tab switches, and harden calculator market imports/timeouts.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 01:33:42 +08:00