I'm trying to build a trading bot with node.js. I want to be able to stream multiple pair price updates and/or kline data so that my bot can run TA indicators and price action analysis and place orders based on the results.
My question is should I open up a websocket for each pair? Like one for btc/usdt, bnb/btc/ eos/btc etc. Or should I use one aggregate stream for everything and just dispatch the updates for each pair to the bot module watching that pair?
Any help would be greatly appreciated.