修改Kline获取方式为Websocket缓存。

This commit is contained in:
yuanshi2016
2025-11-02 17:59:19 +08:00
parent 7302f96e8e
commit d8582475d3
8 changed files with 21 additions and 495 deletions

View File

@@ -51,7 +51,12 @@ nofx/
├── market/ # Market data fetching
│ └── data.go # Market data & technical indicators (TA-Lib)
└── api_client.go # Market data acquisition API
│ └── websocket_client.go # Market data acquisition WebSocket interface
│ └── combined_streams.go # Market data acquisition: Combined streaming (single link to subscribe to multiple cryptocurrencies)
│ └── monitor.go # Market data cache
│ └── types.go # market structure
├── pool/ # Coin pool management
│ └── coin_pool.go # AI500 + OI Top merged pool

View File

@@ -51,6 +51,11 @@ nofx/
├── market/ # 市场数据获取
│ └── data.go # 市场数据与技术指标TA-Lib
│ └── api_client.go # 行情获取 Api接口
│ └── websocket_client.go # 行情获取 Websocket接口
│ └── combined_streams.go # 行情获取 组合流式(单链接订阅多个币种)
│ └── monitor.go # 行情数据缓存
│ └── types.go # market结构体
├── pool/ # 币种池管理
│ └── coin_pool.go # AI500 + OI Top 合并池