Health check
Verify the service and persistence layer are up:List markets
No authentication required:Provision a user (admin)
Fetch account data (trader)
All three requests use thex-api-key header. The open-orders endpoint accepts an optional market query parameter.
Submit an order
Sell orders can be submitted from flat inventory. Risk is enforced on worst-case net exposure: the sum of all open orders plus current net position must remain within
+/-1000 per market.Amend an order
Send aPATCH with the new remaining quantity. The order must still be open and belong to the authenticated trader.
Cancel an order
Create a market (admin)
Settle a market (admin)
settlement_price is the true value for one share. Settlement realizes PnL against each trader’s signed net position and then flattens all positions to zero. All resting orders in the market are cancelled before settlement.WebSocket session
The full WebSocket workflow has five stages: connect, authenticate, subscribe, handle messages, and trade.The server supports one
l3 subscription per connection. If the client falls behind by more than the buffer allows, the server sends resync_required and the client must resubscribe to receive a fresh snapshot.