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
So the websocket events below will work for both spot and margin?
outboundAccountInfo
outboundAccountPosition
balanceUpdate
executionReport
yes
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