Commit Graph

21 Commits

Author SHA1 Message Date
dekun 5faedfbfb7 feat: collapse fund overview help and bind start day to env
Fold the stats description by default and render history_start_day and keep_days from the API so HUB_FUND_HISTORY_START_DAY in .env drives the UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 17:23:54 +08:00
dekun ba629ea0ee fix: fund overview history starts from 2026-06-09
Add HUB_FUND_HISTORY_START_DAY so curves and drawdown exclude snapshots before the baseline trading day.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 16:58:57 +08:00
dekun 77c7bbbb13 feat: add hub fund overview tab with 180-day equity curves
Add /funds page for total and per-account balance (funding+trading), drawdown, and daily snapshots from monitor board aggregation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 16:50:47 +08:00
dekun cee641ba5d feat(hub): add AI coach page with daily summary and chat
Aggregate four-account trades via hub_ai module and /api/hub/trades/today; store sessions in JSON; default OpenAI config matches instances.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 23:51:36 +08:00
dekun 6f8f0968c8 feat(hub): background chart poll with SSE for positions and market watch
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-04 12:39:26 +08:00
dekun 5b6babd699 feat(hub): background board poll every 5s with SSE snapshot updates
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-03 22:17:23 +08:00
dekun 6a76993ca8 fix(hub): prevent monitor board stuck on slow aggregate polling
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-03 21:47:11 +08:00
dekun ba681c7a58 中控行情区与 K 线本地库(15 天滚动、按需拉取)
新增行情区单图与周期切换,K 线优先读 hub_kline.db,不足时经各实例 /api/hub/ohlcv 补齐;无后台定时更新。含回滚标签说明与单元测试。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 10:58:59 +08:00
dekun c882a5e565 修复中控 2026-05-30 12:13:33 +08:00
dekun acbd9576bc 中控 2026-05-30 12:08:56 +08:00
dekun 8ffe46a344 中控 2026-05-30 11:57:00 +08:00
dekun 9556c4673d 修复中控 2026-05-25 13:47:34 +08:00
dekun 6ec5a2caf1 增加反代 2026-05-25 11:57:34 +08:00
dekun 325f12c0a7 增加反代 2026-05-25 11:49:53 +08:00
dekun 5f4f33cc10 修复中控 2026-05-25 08:02:06 +08:00
dekun 952d57ab6d 修复bug 2026-05-23 16:39:35 +08:00
dekun 16b10e123e 修复登录 2026-05-22 12:21:58 +08:00
dekun c00a45165b 增加用户名 2026-05-22 11:49:41 +08:00
dekun cd129b6a25 增加密码 2026-05-22 11:44:34 +08:00
dekun 40f7a1b844 修复关键位 2026-05-22 10:56:42 +08:00
dekun 46f73fce43 中控增加下单,关键位,系统设置 2026-05-22 10:04:28 +08:00