Serve the CLOB price history protocol with minute-based fidelity
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user