I am getting this Warning:
sleep 3 seconds and retrying https://data.alpaca.markets/v2/stocks/ATXI/bars 3 more time(s)…
It happens when I go over a lot of symbols.
I looked here:
Sleep 3 seconds and retrying https://paper-api.alpaca.markets/v2/orders 3 more time(s)
But I didn’t get an answer…
Thanks in advance to all who reply!
Looks like your code makes too many requests and hits the API requests limit. I suggest you review your code and try to reduce the total number of requests generated by it. For example, try to use batching and request data for several symbols in one request, add some client-side throttling for requests, or use cached data as much as possible instead of re-requesting it each time.
I will try.