What does this mean "Single API key can have upto 3 websocket connections"? Does it mean that we should not have more than 3 KiteTicker objects? If we exceed, do we get this error: ERROR:kiteconnect.ticker:Connection error: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (429 - TooManyRequests))
Because I'm getting this error, and I have created 22 KiteTicker objects to subscribe to 1 token each. Is that incorrect?
Yes,you shouldn't be having more than 3 websocket connections(3 KiteTicker objects).
Why do you need 22 connections for 22 instruments??
Just use one connection and subscribe to all the desired instruments at once.
3000 instruments can be subscribed over one websocket connection.
Yes,you shouldn't be having more than 3 websocket connections(3 KiteTicker objects).
Why do you need 22 connections for 22 instruments??
Just use one connection and subscribe to all the desired instruments at once.
3000 instruments can be subscribed over one websocket connection.