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.