User Data Stream
Real-time private account and order events.
The user data stream pushes your private events, order updates and balance changes, the moment they happen, so you never poll your account.
1. Create a listen key
/api/v1/userDataStreamWeight: 1API_KEYReturns a listenKey that identifies your private stream. It is valid for 60 minutes.
2. Connect
3. Keep it alive
/api/v1/userDataStreamWeight: 1API_KEYSend a keepalive at least every 30 minutes to extend the listen key another 60 minutes. Delete it with DELETE when you are done.
Events
An executionReport arrives whenever one of your orders changes, and an outboundAccountPosition arrives whenever a balance changes.