Python script runs for few minutes and gives this error :
Traceback (most recent call last):
File "", line 1, in runfile('C:/Users/Shubham/SMI.py', wdir='C:/Users/Shubham')
File "C:\Users\Shubham\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 710, in runfile execfile(filename, namespace)
File "C:\Users\Shubham\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 101, in execfile exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/Shubham/SMI.py", line 224, in strategy()
File "C:/Users/Shubham/SMI.py", line 97, in strategy tick = tickdata()
It looks like you are getting rate limited. If you make more than 3 requests per second you will HTTP 429 status response. Can you check the status code of the responses?
It looks like you are getting rate limited. If you make more than 3 requests per second you will HTTP 429 status response. Can you check the status code of the responses?
so i think its something else
Even I'm facing this issue. I've observed the issue to be common during 3-3.30pm. Attaching logs