Files
eventbook-exchange/docs/examples/minimum-size.jsonl
T

10 lines
679 B
JSON

{"op":"list","id":"list","market":"e","rules":"模拟赛事官方结果","min_order_size":"5"}
{"op":"fund","id":"a","account":"alice","cents":2000}
{"op":"fund","id":"b","account":"bob","cents":2000}
{"op":"split","id":"split","market":"e","account":"alice","qty":8}
{"op":"order","id":"ask","market":"e","outcome":"YES","side":"sell","price":52,"qty":8,"account":"alice"}
{"op":"open","id":"open","market":"e"}
{"op":"order","id":"first","market":"e","outcome":"YES","side":"buy","price":52,"qty":5,"account":"bob"}
{"op":"book","asset_id":"eb:YES:e"}
{"op":"market_buy","id":"second","market":"e","outcome":"YES","account":"bob","amount_cents":260,"max_price":52,"tif":"FAK"}