Binance User Data Streams for Account, Balance, and Order Events
Summary
This reference explains Binance user data streams delivered through an authenticated WebSocket subscription, with events available in JSON or SBE format. It describes account position updates, balance changes from transfers or deposits and withdrawals, and order execution reports containing order state, fills, prices, commissions, and identifiers. It also notes that average fill price can be derived from cumulative quote quantity divided by cumulative filled quantity.
The guide catalogs conditional execution-report fields for cases such as trailing stops, self-trade prevention, allocations, smart order routing, and pegged orders. It also explains order-list status events, common rejection and expiry reasons, stream termination notifications, and external wallet lock changes. These event definitions are useful for building exchange account monitors and order-state handlers, but the document is an interface reference rather than a trading strategy. Consumers must account for conditional fields, timestamps, and stream termination when processing events.
Key ideas
- Account position events report assets whose balances may have changed, including free and locked amounts.
- Balance updates report deltas associated with deposits, withdrawals, or transfers.
- Execution reports provide order state and fill details, from which average fill price can be calculated.
- Some execution-report fields appear only for specific order types, execution conditions, or allocation behavior.
- Separate events describe order-list status, stream termination, and external wallet lock changes.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.