Settle sub-cent orders and migrate historical book prices
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{"op":"list","id":"market","market":"e","rules":"Simulated binary result","tick_size":"0.001"}
|
||||
{"op":"fund","id":"maker","account":"maker","cents":800}
|
||||
{"op":"fund","id":"buyer","account":"buyer","cents":200}
|
||||
{"op":"split","id":"split","market":"e","account":"maker","qty":7}
|
||||
{"op":"open","id":"open","market":"e"}
|
||||
{"op":"order","id":"maker-ask","market":"e","account":"maker","outcome":"YES","side":"sell","price_micros":13000,"qty":6}
|
||||
{"op":"price","token_id":"eb:YES:e","side":"BUY"}
|
||||
{"op":"order","id":"buy","market":"e","account":"buyer","outcome":"YES","side":"buy","price_micros":14000,"size_micros":5129999,"tif":"FOK"}
|
||||
{"op":"balance","account":"buyer"}
|
||||
{"op":"estimate","asset_id":"eb:YES:e","side":"buy","max_price_micros":13000,"amount_cents":1}
|
||||
{"op":"market_buy","id":"cash","market":"e","outcome":"YES","account":"buyer","max_price_micros":13000,"amount_cents":1}
|
||||
{"op":"cancel","id":"cancel","order":1,"account":"maker"}
|
||||
{"op":"order","id":"no-bid","market":"e","account":"maker","outcome":"NO","side":"buy","price_micros":987000,"size_micros":1010000}
|
||||
{"op":"order","id":"yes-bid","market":"e","account":"buyer","outcome":"YES","side":"buy","price_micros":13000,"size_micros":1010000}
|
||||
{"op":"history","market":"e","outcome":"NO","from_ms":0,"to_ms":9000000000000,"limit":10}
|
||||
Reference in New Issue
Block a user