Skip to main content
The orderUpdates channel sends incremental state changes for every order associated with an account — the moment an order is placed, partially filled, fully filled, cancelled, or when a conditional (TP/SL) order triggers or is cancelled. Because this channel is incremental, it does not send a snapshot on subscribe. If you need an initial full view of all active orders, subscribe to openOrders instead, then switch to (or layer on) orderUpdates for ongoing changes. Pass the account’s wallet address (not the numeric account ID) as the user parameter.

Subscribing

Push envelope

All order update messages share this envelope structure:
The data array may contain multiple entries when several orders change state in the same block.

Regular order entry

Field reference

Cancel entry

When an order is cancelled, a compact entry is sent with "st": "Canceled". The s field carries the remaining unfilled size at the time of cancellation.

Conditional (TP/SL) order entry

Conditional orders include "cond": true and use a different set of status values:
Additional fields for conditional orders: Conditional order statuses:
orderUpdates provides only incremental changes — there is no initial snapshot on subscribe. If you need the full list of currently active orders as a starting point, subscribe to openOrders first.
When you place an order, store its requestId (r field) alongside the order. When you receive an OrderUpdate, match on r to confirm which of your pending actions the update corresponds to — especially useful when placing orders in rapid succession.