Serve single and batch CLOB order books over HTTP
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
### Run against the demo database from clob-book.jsonl
|
||||
GET http://127.0.0.1:9002/book?token_id=eb%3AYES%3Ademo
|
||||
|
||||
### Read both outcome books in one snapshot
|
||||
POST http://127.0.0.1:9002/books
|
||||
Content-Type: application/json
|
||||
|
||||
[{"token_id":"eb:NO:demo"},{"token_id":"eb:YES:demo","side":"BUY"}]
|
||||
|
||||
### Unknown token
|
||||
GET http://127.0.0.1:9002/book?token_id=eb%3AYES%3Amissing
|
||||
Reference in New Issue
Block a user