Are there any websocket endpoints for margin and isolated margin?

I see REST endpoints used for handling margin listen keys but I don’t see any socket endpoints. Is that an upcoming feature?

wss://stream.binance.com:9443 this is the base url for websocket, more details from here:

https://binance-docs.github.io/apidocs/spot/en/#websocket-market-streams

Sorry my question was poorly worded.

Are there any data streams to go with the margin listen keys?

similar to spot, create a the listenkey for margin from :
POST /sapi/v1/userDataStream

So the websocket events below will work for both spot and margin?

outboundAccountInfo
outboundAccountPosition
balanceUpdate
executionReport

yes :slight_smile:

1 Like