Websocket Queries

Hi,

I have following queries. Request to share your feedback

a) Is there any limit on the no of web socket connections- on per user or per app basis? I have seen that we can subscribe to 5000 instruments. If there is any limit on no of web socket connections or otherwise, will the sum of all instruments in all web sockets will be limited to 5000?

b) Is there any way to get OHLCV data through websocket in some predefined interval? As I intend to get the values of indicators in realtime, I need your input on the same if OHLCV values are not possible through websocket. I do not want to use API for the same

Regards

Hey @107601639627776400068 ,

At once you will be able to connect to a single websocket , it is also mentioned in the docs - https://myapi.fyers.in/docsv3#tag/Data-Api/paths/~1DataApi/delete

The OHLCV live data can be derived from the Symbol update websocket -
https://myapi.fyers.in/docsv3#tag/Web-Socket/paths/~1GeneralSocket/patch

Noted Abhishek. Thanks

It would be better if atleast 2 connections per user be there and in the coming updates, OHLCV candle data should also be added.