Number of websocket per user ?
-
As per documentation we can have three websocket connection and each websocket can have 1000 instruments.
Test#1- First I created websocket with 1000 instruments and this is working without any issues
- when I started second websocket with another 1000 instruments using the same API KEY, within two minutes one of the websocket will terminate abruptly.
Test#2 using different API_KEY
- started first websocket with 1000 instrument using one API_KEY
- started second websocket with another 1000 instruments with second API_KEY. In this case also, one of the websocket gets terminated within two minutes.
Please suggest how to run 3 websockets using smartapi ?