Match public CLOB side prices and batch responses to observed books
This commit is contained in:
@@ -61,10 +61,10 @@ Content-Type: application/json
|
||||
|
||||
[{"token_id":"eb:YES:mid-example"},{"token_id":"eb:NO:mid-example"}]
|
||||
|
||||
### Read the best ask to buy YES in the midpoint.jsonl fixture ("0.09")
|
||||
### Read the resting YES bid in the midpoint.jsonl fixture ("0.08")
|
||||
GET http://127.0.0.1:9002/price?token_id=eb%3AYES%3Amid-example&side=BUY
|
||||
|
||||
### Read BUY and SELL for the same outcome (0.09 and 0.08)
|
||||
### Query-only batch GET returns 400 Invalid payload
|
||||
GET http://127.0.0.1:9002/prices?token_ids=eb%3AYES%3Amid-example%2Ceb%3AYES%3Amid-example&sides=BUY%2CSELL
|
||||
|
||||
### Include both outcomes with a JSON body
|
||||
|
||||
Reference in New Issue
Block a user