Apply per-market taker fees to cash budgets, fills and account activity
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{"op":"list","id":"m","market":"cup","rules":"按模拟杯赛结果结算","taker_fee_rate_ppm":50000}
|
||||
{"op":"fund","id":"a","account":"alice","cents":15000}
|
||||
{"op":"fund","id":"b","account":"bob","cents":6000}
|
||||
{"op":"split","id":"split","market":"cup","account":"alice","qty":100}
|
||||
{"op":"open","id":"open","market":"cup"}
|
||||
{"op":"order","id":"ask","market":"cup","outcome":"YES","account":"alice","side":"sell","price":50,"qty":100}
|
||||
{"op":"estimate","market":"cup","outcome":"YES","side":"buy","amount_cents":5000}
|
||||
{"op":"estimate","market":"cup","outcome":"YES","side":"buy","amount_cents":5125}
|
||||
{"op":"market_buy","id":"buy","market":"cup","outcome":"YES","account":"bob","amount_cents":5125,"max_price":50,"tif":"FOK"}
|
||||
{"op":"order","id":"bid","market":"cup","outcome":"YES","account":"alice","side":"buy","price":30,"qty":1}
|
||||
{"op":"market_sell","id":"sell","market":"cup","outcome":"YES","account":"bob","qty":1,"min_price":30}
|
||||
{"op":"activity","account":"bob","types":["TRADE"]}
|
||||
Reference in New Issue
Block a user