Match public midpoint and spread across all four book shapes
This commit is contained in:
@@ -192,8 +192,8 @@ sequenceDiagram
|
||||
participant Q as exchange/quotes.rs
|
||||
C->>H: 单查 /spread、/midpoint,批查 /spreads、/midpoints
|
||||
H->>Q: 传入结果资产 ID
|
||||
Q-->>H: 每个已上市资产的价差、中点或缺边状态
|
||||
H-->>C: 单查用 spread 或 mid 字段,批查以资产 ID 为键
|
||||
Q-->>H: 按买侧缺档取 0、卖侧缺档取 1 计算中点或价差
|
||||
H-->>C: 单查用 spread 或 mid 字段,POST 批查以资产 ID 为键
|
||||
```
|
||||
|
||||
### 查询盘口买一和卖一
|
||||
|
||||
Reference in New Issue
Block a user