Difficulties of Implementing a Data Downloader
HTTP based APIs (like Tushare and AKshare) are very convenient, but when it comes to stock research, backtesting or auto-trading, they have some fatal drawbacks:
- Network delay: the network delay would accumulate to an unacceptable level when the computation involves many queries.
- API limitation: most of the public data API endpoint has a low limitation of fetching data.
To overcome these difficulties, one solution is to "cached" them in your private database.