Error while Fetching GetQuote data

arjunender
Hi,

If i fetch data one after another using GetQuote
first request is working fine, but second one is giving error

Ex:
Dictionary quote1 = kite.GetQuote(InstrumentId: new string[] { "NFO:SUNPHARMA18FEBFUT"});
Dictionary quote2 = kite.GetQuote(InstrumentId: new string[] { "NFO:LUPIN18FEBFUT" });
Error:
429 {"status": "error", "message": "Too many requests", "error_type": "NetworkException"}

Thanks
  • sujith
    @arjunender,
    You can make only one request per second to quote API. You need to send the request for all instruments in one call.
  • arjunender
    arjunender edited February 2018
    Fine

    Will data be returned the same sequence which we requested

    Previous kite version was working fine

    Latest version only giving error




  • sujith
    You are getting rate limited, the system is thinking you are abusing it. Hence you are getting this error.
    Hence make one request for all the instruments.
Sign In or Register to comment.