Commit Graph

6 Commits

Author SHA1 Message Date
dekun 23bd59c87f 新增实例数据统计页:复盘 KPI 上、资金曲线下,系统设置可关。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-07 15:28:25 +08:00
dekun f846f832de 系统设置增加备份恢复:凌晨3点自动备份,保留10天,含 env 与复盘图片。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-04 06:50:44 +08:00
dekun 193c02eda8 修复中控内嵌:跨站 Cookie 被拦时用 embed_sso 维持登录。
SSO 写入 sessionStorage,fetch 自动带 X-Hub-Embed-SSO,避免期权链 API 401。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 11:56:51 +08:00
dekun 0acba5e351 移除全部对冲计划模块:crypto_okx 改为币本位单独期权执行机。
交易模式锁定 options;okx_trade_mode / 到期盈亏迁入 options;保留期权/桥/关键位/企微与中控预留快照口径。恢复点:backup/before-remove-hedge 与 tag backup-before-remove-hedge-20260930。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-30 23:20:21 +08:00
dekun f03d5d3704 Fix nav spot tickers: register JS in static allowlist and harden price fetch.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 11:46:35 +08:00
dekun d9de3fe784 Restore shared CSS/JS static mounts for standalone deploy.
Embed UI looked unstyled because hub_bridge no longer registers lib/common/static.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 18:00:56 +08:00