Omit resolved markets from public book and quote reads

This commit is contained in:
2026-12-05 04:33:15 +08:00
parent 31af9ad9cf
commit 9d541c563b
7 changed files with 45 additions and 11 deletions
+1 -1
View File
@@ -1107,7 +1107,7 @@ sequenceDiagram
E->>D: 先处理到期订单,再从同一快照读取各市场最新 quote_events
D-->>E: 返回 YES 的买一和卖一
E->>E: 换算结果方向,缺买盘取 0、缺卖盘取 1,计算价差或中点
E-->>C: 按结果资产索引,未上市资产无条目
E-->>C: 按结果资产索引,跳过未上市和已裁决资产
```
HTTP 盘口查询由 public_book_prices 读取 quote_events,先清理到期任务,再在同一快照中读取各市场。BUY 取买一,SELL 取卖一。下单面板的 JSONL 命令继续查询最优对手价。