I still see 1135 candle data skipped when historical_data is fetched.
I understand the issue came due to some network failure which stands corrected as per the bulletin.
However, missed candles in historical_data can cause errors in ce…
Ok, looks like I caught the issue. A comma was getting inserted to the instrument token when ltp was called from a particular function, due to a bug in the code.
I sense this invalidated the instrument token.
KeyError Exception while ltp is fetched for instrument token: 9368066. Option Contract: NIFTY21OCT18250CE
Time when last_traded_price is called: 2021-10-26 15:04:59.41
last_traded_price = kite.ltp(instrument_token)[str(instrument_token)]['last_…
"You may either club the instrument tokens and send one request for all at once or use Websocket API"
-> I told in the prior reply that my requirement for ltp was one time event as per my code logic, and that requirement might not arise in the fo…
"Quote and LTP APIs are limited to 1 request/second"
-> I am certain there was no prior request for LTP for any instrument at least in the last 5 minutes from the point of failure to fetch the ltp.
-> will change code to wait for …
I understand that I need to use Websocket. Does that mean other API calls are not reliable?
Also, I need the price of the option contract for one time and I feel it's logical to just call the ltp API the time I need the price rather than continuous…