Try to find a way to get Order Book of Margin market

Hi guys,
The Order Book of Spot and Order Book of Margin market are the same or not?
If they are difference, how can i subscribe the WebSocket Market Streams of Margin? I don’t see any documents relative to it?

Hey,
Unfortunately, there are no specific endpoints to retrieve only the margin Order Book information. Both spot and margin trades are obtained from the same endpoint, GET /api/v3/trades, which fetches recent trades for a specific symbol: Binance API Documentation

For the websocket, you can use <symbol>@trade: Binance API Documentation

1 Like