Some info about WebSocket

I made a BOT in node.js that trades on Binance. I used Spot API and a long-polling technique to get prices.
Now I want convert to use WebSocket. I found many docs about but I’m a little confuse.
Is it possible to trade on Binance using WebSocket? Or is only possible to get only market data?

You can trade via the websocket. Please refer to the documentation here: Binance API Documentation

1 Like

Thanks. Which is the difference between Binance API Documentation ( and Binance API Documentation

Well, one is simply for collecting/receiving market data ( and the other is for directly interacting with to place orders, etc (

1 Like