Serve the CLOB price history protocol with minute-based fidelity

This commit is contained in:
2026-12-03 10:18:43 +08:00
parent 74749bfdb8
commit fe69e31929
10 changed files with 201 additions and 1 deletions
+13
View File
@@ -209,3 +209,16 @@ sequenceDiagram
```
[可重放请求](../../docs/examples/clob-http.http)同时展示相同盘口下的买价、卖价与中点。
### CLOB 客户端历史曲线
```mermaid
sequenceDiagram
participant C as CLOB 客户端
participant H as market_http.rs
participant E as prices_history/legacy.rs
C->>H: GET /prices-history,market 与 interval 或 startTs、endTs
H->>E: clob_price_history,fidelity 以分钟计
E-->>H: 按观测时刻排序的价格点
H-->>C: history 数组,每点包含 t 和 p
```