Serve the CLOB price history protocol with minute-based fidelity
This commit is contained in:
@@ -72,3 +72,9 @@ POST http://127.0.0.1:9002/prices
|
||||
Content-Type: application/json
|
||||
|
||||
[{"token_id":"eb:YES:mid-example","side":"BUY"},{"token_id":"eb:NO:mid-example","side":"BUY"}]
|
||||
|
||||
### CLOB SDK time series: asset ID, trailing hour, ten-minute fidelity
|
||||
GET http://127.0.0.1:9002/prices-history?market=eb%3AYES%3Ademo&interval=1h&fidelity=10
|
||||
|
||||
### Explicit Unix-second window (the seeded exchange regression has fills at 121, 149 and 245)
|
||||
GET http://127.0.0.1:9002/prices-history?market=eb%3AYES%3Ae&startTs=120&endTs=245&fidelity=1
|
||||
|
||||
Reference in New Issue
Block a user