cancel
Cancel orders by order ID. The most common action type on mainnet (~34% of all events).| Field | Type | Description |
|---|---|---|
cancels[].asset | number | Asset ID |
cancels[].oid | number | Order ID to cancel |
cancelByCloid
Cancel orders by client order ID. The single most common action type (~62% of all events).| Field | Type | Description |
|---|---|---|
cancels[].asset | number | Asset ID |
cancels[].cloid | string | Client order ID (hex) |
batchModify
Modify multiple existing orders in a single transaction. ~4% of all events.| Field | Type | Description |
|---|---|---|
modifies[].oid | string | Original order ID (hex) |
modifies[].order.asset | number | Asset ID |
modifies[].order.side | string | "buy" or "sell" |
modifies[].order.price | string | New limit price |
modifies[].order.size | string | New size |
modifies[].order.reduceOnly | boolean | Reduce-only flag |
modifies[].order.orderType | object | {"limit": ["Gtc"]}, {"limit": ["Alo"]}, {"limit": ["Ioc"]} |
modifies[].order.cloid | string | Client order ID |
scheduleCancel
Schedule a future cancel-all. Acts as a dead-man’s switch.data field is a Unix timestamp (milliseconds) at which all of the user’s orders will be cancelled.
order
Place one or more new orders. Rare in the stream because most HFT operations usebatchModify.
modify
Modify a single existing order. Same fields as one entry inbatchModify.