Hi, I have built a small trading application in python using Kite API. I use my application to trade instead of the kite web interface. The application does usual activities, like logging in, fetching the instruments, fetching index and option ltp's, check order status, modify and place order, check position. The application runs in a loop and makes around 5 - 7 requests per second.
Few months ago I started to see a delay of approx 14 seconds every few minutes where my application will pause intermittently in between api executions. Then around Sept 16th 2025 the issue disappeared completely and I also noticed the api responses became very fast, lightening fast actually. Now once again since yesterday evening, 16th October 2025. I am seeing the usual delay of around 14 seconds every 2-4 minutes of execution. Even the initial api login and fetching instrument takes time. I have checked everything on my end. Not sure what is wrong. This is blocking my trade making it very difficult to continue. Appreciate any suggestions or insights. Thank you.
update. Just now 18 oct 0.12 am, after almost 2 days, I see the api calls have become fast again and the delay issue has disappeared. So clearly it is something happening on Kite servers. Who knows if the problem returns again tomorrow and how long long it will last, few days, few weeks or months. This is a very serious issue for the api usage and yet I see no announcements or discussions on this. What am I missing, I cant be the only one impacted.
If I make just 1 call to get the orders every 1 sec, I see the delay happen every 15 minutes. Seems like the frequency of delay is directly related to the number of api calls. As the number of api call increases the delay happens more frequently. Right now for my use case I am seeing freeze of of 14-15 sec every 4 mins approx. Little bit variation is always there.
Starting Loop.. Glich time : 0:00:15.420665 Time Since Last Glitch : 0:04:36.972792 Glich time : 0:00:15.324776 Time Since Last Glitch : 0:09:06.481872 Glich time : 0:00:15.380680 Time Since Last Glitch : 0:04:32.719631 Glich time : 0:00:15.412339 Time Since Last Glitch : 0:04:32.570644 Glich time : 0:00:15.363051 Time Since Last Glitch : 0:04:30.456377
I have been using kite api regularly for more than 2 years now, this issue was not there earlier. If someone can explain how this is done may be I can make additional changes in my code to deal with it. But If the expectation with the api now is to just be able to make 2-3 calls every second to avoid very frequent delays then that makes it practically useless for any application.
Starting Loop..
Glich time : 0:00:15.420665 Time Since Last Glitch : 0:04:36.972792
Glich time : 0:00:15.324776 Time Since Last Glitch : 0:09:06.481872
Glich time : 0:00:15.380680 Time Since Last Glitch : 0:04:32.719631
Glich time : 0:00:15.412339 Time Since Last Glitch : 0:04:32.570644
Glich time : 0:00:15.363051 Time Since Last Glitch : 0:04:30.456377
I have been using kite api regularly for more than 2 years now, this issue was not there earlier. If someone can explain how this is done may be I can make additional changes in my code to deal with it. But If the expectation with the api now is to just be able to make 2-3 calls every second to avoid very frequent delays then that makes it practically useless for any application.