I am trying to create a wrapper in c# for connecting to both the “market data” and “orders” websockets. For this, the following information is needed from Fyers API:
The format of GET / POST data to be sent while connecting, subscribing, unsubscribing and closing “market data” and “orders” websockets.
The format of GET / POST data that will be received from “market data” and “orders” websockets.
How many symbols can be subscribed to in each app ?
Is a periodic “keep live” signal needs to be sent to keep the “market data” and “orders” websockets live / connected ? I am asking this because my 'Orders" websocket gets disconnected at about every three minutes.
You can run as many as API apps which you want but make sure you are not disturbing the rate time for every second , every minute and for every day. (Check API documentation for rate limit.)
50 symbols u can subscribed
May be you are getting disconnection because of data is not transferring from both side like as u are saying order websocket disconnecting so if message are not coming then it is disconnecting
But don’t worry we are going live very soon with new version of API V3. There you will find auto reconnect feature.
Thanks for the explanations, just reconfirming : the per second/minute/day rate limits and the 50 symbols limit for websocket are per each app or per user ?