Skip to main content
WSS
/
v1
/
ws?channel=orderOperations
Messages
Place Order
type:object
Cancel Order
type:object
Cancel All Orders
type:object

Cancels every open order for (address, accountIndex). Pass marketId to scope the cancel to a single market; omit it to cancel across all markets. Untriggered TPSL orders in scope are canceled too. Mirrors POST /v1/cancelAllOrders.

Modify Order
type:object
Batch Place Orders
type:object

Places up to 100 orders in one request. All orders must share the same address / accountIndex. Signed PER ELEMENT using the typed canonical payload: each element of orders carries its own signature over the same typed placeOrder payload the element would carry if submitted standalone (op=1 for regular orders, op=4 for TPSL legs). The request envelope carries only the shared apiKey + timestamp; there is no outer request.signature. Mirrors POST /v1/batchPlaceOrders.

Batch Cancel Orders
type:object

Cancels up to 100 orders in one request. All cancels must share the same address / accountIndex. Signed PER ELEMENT using the typed canonical payload: each element of cancels carries its own signature over the same typed cancelOrder payload the element would carry if submitted standalone. The request envelope carries only the shared apiKey + timestamp; there is no outer request.signature. Mirrors POST /v1/batchCancelOrders.

Set Leverage
type:object

Per-(account, market) leverage. Mirrors POST /v1/setLeverage. leverage is an integer in [1, market max]; values outside this range are rejected with 400. The WS path returns immediately on Kafka accept (envelope status: 202, body status: ACK); subscribe to the accountAttributes channel to observe the engine-confirmed APPLIED / REJECTED lifecycle.

Get Snapshot (RPC)
type:object
RPC Response
type:object

Response to a post or get request. id is always echoed from the request. Order mutations reply with status: 202 (accepted, not terminal). Other methods reply with status: 200 on success.