Exception at calling ltp as {‘status’: ‘failure’, ‘remarks’: {‘error_code’: None, ‘error_type’: None, ‘error_message’: None}, ‘data’: {‘data’: {‘805’: ‘Too many requests. Further requests may result in the user being blocked.’}, ‘status’: ‘failed’}}
Traceback (most recent call last):
File “/Users/parveenchugh/latest/strategy1.py”, line 44, in
current_price = ltp_data[‘NIFTY 28 NOV 24300 PUT’]
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: ‘NIFTY 28 NOV 24300 PUT’
Hello @parveen_chugh
Can you check your polling rates? If it exceeds the rate limit, you will be restricted and get an error message.
Hello @Hardik and @Tradehull_Imran ,
I am also facing the similar challenges for algo trading, What is the solution ?
Exception at calling ltp as {‘status’: ‘failure’, ‘remarks’: {‘error_code’: None, ‘error_type’: None, ‘error_message’: None}, ‘data’: {‘data’: {‘805’: ‘Too many requests. Further requests may result in the user being blocked.’}, ‘status’: ‘failed’}}
now I am seeing frequently this issue causing me delaying to get the data and to place trade
Hi @raj001,
Since the algorithm runs throughout the entire day, API rate-limit issues may occur while fetching data. We have already addressed these rate-limit constraints in the latest version of our codebase. Please ensure that you are using the most recent version.
Hello @Tradehull_Priya @Tradehull_Imran
Please check the attached image,
I just want to understand why only when there a momentum in the market. Even I am providing a sleeping for calculated seconds
rest of time is working well.
Please check today’s data I have shared in attached image.
My algo suppose to take trade but got up in error and missed
Hi @raj001 ,
It is not related to your sleep duration. The issue occurs because the API request quota for the day or minute is being exceeded. Once that limit is used, every new request will return “Too many requests,” even if you add a long sleep in your code.


