Reg. getQuotes api hit limit

Hi,

Is there any limit on number of calls made to getQuotes method? I know that symbol limit is 50, but what if I try to make multiple calls to the getQuotes method (say 10 times per minute)?

Thanks

Hi @LYddsM1o69,

Yes, Rate limits are applicable on all API calls including “getQuotes” API, refer: API - FYERS

I would suggest using Data socket instead of calling getQuotes API, with socket you can stream up to 5k symbols.

@naresh_janagama Thanks for the reply. I am using data socket only but wanted to know the LTP so that I can calculate my SL and Target Price in place_multi_order() method. Can you suggest something better so that I can get the LTP as stoploss and takeProfit are mandatory for multiorder method.

Hi Jatin,

You also receive LTP price updates in the socket response. SL and target values are not required to place multi-orders. For Bracket Orders (BO), “Target” and “Stop Loss” are mandatory.

@naresh_janagama Appreciate your help a lot. I am placing BO only and as you mentioned sl and profit become required parameters. However ltp is indeed a good thing but not sure if my code was wrong but was getting error while trying to get ltp of a strike (e.g. NSE:NIFTY2510224000CE) but same code works when I pass an equity.