We use Asyncio to speed up the download of financial data from a REST API. In this video I use Polygon to download 1 minute OHLC candles, but the same technique will work for any provider.
We use a Queue to concurrently download multiple chunks of data at the same time, asynchronously using asyncio.
⭐ Code:
github.com/ChadThackray/asyncio-2022
00:00 - Introduction
02:06 - Polygon scraping code overview
05:27 - Optimizing code using Asyncio
23:35 - Conclusion
コメント