Skip to main content
Use real-time order updates to keep your view of a trading account current without polling. The user stream reports changes to the account’s orders and the trades created when those orders match. For public order-book and market updates, see Real-Time Data.
Before subscribing, authenticate the account whose activity you want to monitor. See Wallets and Authentication.

User Stream

The user stream delivers order changes and trade updates for the authenticated account. Subscribe without a market filter to follow the entire account, or provide condition IDs to follow selected markets.
Given a SecureClient, subscribe to the user topic:

Order Update

Trade Update

To receive updates only for selected markets, pass their condition IDs in markets:

Understand Order Updates

Order updates tell you why the account’s open-order state changed:

Understand Trade Updates

Trade updates follow a match through onchain settlement. Confirmation and permanent failure are terminal; a trade being retried may later be mined and confirmed.

Recover After Reconnecting

Real-time updates do not replace authoritative account reads or replay every change missed during a disconnection. After reconnecting, fetch the account’s open orders and recent trades from Manage Orders, then resume applying new stream events from that refreshed state.