Match observed public last-trade batch semantics

This commit is contained in:
2026-12-03 16:14:25 +08:00
parent 9cc3921e3c
commit d7a77c734d
8 changed files with 53 additions and 25 deletions
+2 -2
View File
@@ -19,10 +19,10 @@ GET http://127.0.0.1:9002/v2/prices-history?token_id=eb%3AYES%3Ademo&cursor={{ne
### Last execution for one outcome
GET http://127.0.0.1:9002/last-trade-price?token_id=eb%3AYES%3Ademo
### Last executions for both outcomes from one SQLite snapshot
### Query-only batch GET returns 400 Invalid payload
GET http://127.0.0.1:9002/last-trades-prices?token_ids=eb%3AYES%3Ademo%2Ceb%3ANO%3Ademo
### Batch last executions in JSON
### Batch last executions in JSON, one row per traded asset ordered by token ID
POST http://127.0.0.1:9002/last-trades-prices
Content-Type: application/json