Skip to main content

REST error shape

All REST errors return a JSON body with a single error field:

REST status codes

A 409 Conflict on order submission means your projected net position would exceed the +/-1000 limit for that market. Check your open orders and current position before resubmitting.
Example error response:

WebSocket error messages

error messages indicate protocol or transport-level problems. They are not tied to a specific trading operation. Example:

WebSocket reject messages

reject messages indicate a trading operation was refused. Each reject includes the original op, the request_id from your message, and a machine-readable code. Example:

Health degradation

The GET /health endpoint reflects persistence state in the status field: Example degraded response:
A degraded status means the persistence layer is not successfully writing. In-memory state is still live and the exchange continues to serve traffic, but data may not be durably stored.