Hitting rate limit while fetching historical data for multiple stocks
Sejpalsinh Jadeja Original Post
AlgoDelta Team
I’m building an supertrend algo where I need to fetch historical data for multiple stocks at startup.
Right now I’m looping over all symbols and calling the historical API, but after a few calls I start getting rate limit errors from the broker.
Because of this, some stocks don’t load properly and my indicators break.
What’s the correct way to handle this when working with multiple symbols?
Posted Apr 24