Publish settlement clarifications and atomically clear affected orders
This commit is contained in:
@@ -222,3 +222,23 @@ sequenceDiagram
|
||||
E-->>H: 按观测时刻排序的价格点
|
||||
H-->>C: history 数组,每点包含 t 和 p
|
||||
```
|
||||
|
||||
### 发布后的裁决说明
|
||||
|
||||
```mermaid
|
||||
flowchart LR
|
||||
H["market_http.rs"] --> Q["exchange/clarifications.rs"]
|
||||
```
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
participant C as 客户端
|
||||
participant H as market_http
|
||||
participant E as Exchange
|
||||
C->>H: GET /market-clarifications?market_id=1
|
||||
H->>E: 用目录 ID、limit、offset 和排序方向查询
|
||||
E-->>H: 规则说明、清盘标记和本地发布时间
|
||||
H-->>C: 已发布的公告数组
|
||||
```
|
||||
|
||||
market_id 使用 assets 查询中的数字目录 ID,可重复传入。默认按公告 ID 降序,每页 20 条;支持 order=id、ascending、offset 和 0 到 100 的 limit。当前查询对其他筛选参数返回 400。
|
||||
|
||||
Reference in New Issue
Block a user