中控行情区与 K 线本地库(15 天滚动、按需拉取)

新增行情区单图与周期切换,K 线优先读 hub_kline.db,不足时经各实例 /api/hub/ohlcv 补齐;无后台定时更新。含回滚标签说明与单元测试。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-02 10:58:59 +08:00
parent ef99fb6c2e
commit ba681c7a58
16 changed files with 1298 additions and 3 deletions
+1
View File
@@ -16,6 +16,7 @@
**/.env.bak
**/.env.local
manual_trading_hub/hub_settings.json
manual_trading_hub/data/
# 数据库与上传(运行时生成)
**/*.sqlite