HI all, Can i register multiple websockets for different stocks under same API key? Ex: i want to get live streaming data for threestocks. Can i register websocket1,websocket2,websocket3 individually in different threads with same API key? PLs clarify
Hi, You can open up to 3 websocket connections at a time using one api_key. I think it is wrong architecture to open three connections just to listen to live market data for three instruments. In this way, if you want to subscribe for 10 instruments then you will have to open 10 websocket connections.
Thank you sujith. But i have query, Lets consider below two approches 1) listening 3 instruments with single websocket 2) listening 3 instruments with three different websockets. Above two approches which is highy reliable so that i am getting most of the live ticks for the instumentswithout missing. Or both approaches provides equal quantity of data?
You can open up to 3 websocket connections at a time using one api_key.
I think it is wrong architecture to open three connections just to listen to live market data for three instruments. In this way, if you want to subscribe for 10 instruments then you will have to open 10 websocket connections.
1) listening 3 instruments with single websocket
2) listening 3 instruments with three different websockets.
Above two approches which is highy reliable so that i am getting most of the live ticks for the instumentswithout missing. Or both approaches provides equal quantity of data?