Serve single and batch spreads from committed book quotes
This commit is contained in:
@@ -39,3 +39,12 @@ GET http://127.0.0.1:9002/markets-by-token/eb%3ANO%3Ademo
|
||||
|
||||
### Load both outcome labels and their shared trading parameters
|
||||
GET http://127.0.0.1:9002/clob-markets/demo
|
||||
|
||||
### Read the current difference between best ask and best bid
|
||||
GET http://127.0.0.1:9002/spread?token_id=eb%3AYES%3Ademo
|
||||
|
||||
### Read both outcome spreads in one snapshot
|
||||
POST http://127.0.0.1:9002/spreads
|
||||
Content-Type: application/json
|
||||
|
||||
[{"token_id":"eb:YES:demo"},{"token_id":"eb:NO:demo"}]
|
||||
|
||||
Reference in New Issue
Block a user