Hello everyone, We can subscribe for up to 3000 instruments on a single WebSocket connection and receive live quotes for them. Single API key can have upto 3 websocket connections.
If I need to have another API key for more than 3 websocket connections, do I need to subscribe again with additional monthly charges, or I can create additional API keys within same subscription? Please advise.
Thanks, @sujith and @rakeshr If I'm running multiple program scripts which needs to call websocket streaming, can I think of following approach?
1) Create one script to retrieve the token using API key for app. Save the token somewhere. 2) Call websocket in other multiple scripts using same token.
@sujith I'm exploring cloud solution so I think if I try to dump per tick data in S3 bucket and use it by another scripts, dumping data itself will take longer so scripts won't be checking real time data. So instead of dumping the data - can I just retrieve the token with one script and use that token in other scripts to call websocket streaming? Thanks again!
With recent changes with rate limits and SEBI regulations for retail algo traders, could you please explain if the solution provided in this thread is still valid? If not, could you please explain in detail about how many API Keys (Apps) 1 could have per Zerodha Account and if each API Key will have their own rate limit or it is applied on Zerodha Account associated with the API Key rather than API Key itself?
@sam_zerodha Clients can be provided with multiple API keys to connect to different segments or run various algos. However, if a client has multiple API keys, non-registered algos can only be executed using one of the predefined API keys. Other API keys can be used only for registered algos.
For these registered algos, Exchanges will develop a registration and compliance framework for orders up to a certain threshold.
For unregistered algorithms, there's a Threshold Order Per Second (TOPS) limit of 10 orders per second, per segment, per exchange. For more details, you may check this post.
If I'm running multiple program scripts which needs to call websocket streaming, can I think of following approach?
1) Create one script to retrieve the token using API key for app. Save the token somewhere.
2) Call websocket in other multiple scripts using same token.
Please advise if you've any suggestions:
According to this can we have multiple API subscription for a single demat account on Zerodha ?
@sujith @rakeshr
With recent changes with rate limits and SEBI regulations for retail algo traders, could you please explain if the solution provided in this thread is still valid? If not, could you please explain in detail about how many API Keys (Apps) 1 could have per Zerodha Account and if each API Key will have their own rate limit or it is applied on Zerodha Account associated with the API Key rather than API Key itself?
Regards.
For these registered algos, Exchanges will develop a registration and compliance framework for orders up to a certain threshold.
For unregistered algorithms, there's a Threshold Order Per Second (TOPS) limit of 10 orders per second, per segment, per exchange. For more details, you may check this post.