Expose integer base fees alongside execution fee curves

This commit is contained in:
2026-12-03 12:48:10 +08:00
parent 2a62f1812a
commit f7946d2277
15 changed files with 207 additions and 26 deletions
+9
View File
@@ -78,3 +78,12 @@ GET http://127.0.0.1:9002/prices-history?market=eb%3AYES%3Ademo&interval=1h&fide
### 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
### After replaying fees.jsonl, both outcome tokens report base_fee 30.
GET http://127.0.0.1:9002/fee-rate?token_id=eb%3AYES%3Acup
### The path form accepts an encoded token ID.
GET http://127.0.0.1:9002/fee-rate/eb%3ANO%3Acup
### The same market reports tbf 30 and an execution fee coefficient fd.r of 0.05.
GET http://127.0.0.1:9002/clob-markets/cup
+1 -1
View File
@@ -1,4 +1,4 @@
{"op":"list","id":"m","market":"cup","rules":"按模拟杯赛结果结算","taker_fee_rate_ppm":50000}
{"op":"list","id":"m","market":"cup","rules":"按模拟杯赛结果结算","taker_fee_rate_ppm":50000,"base_fees":{"maker_bps":0,"taker_bps":30}}
{"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}