The historical data for various stocks can be easily fetched and stored locally using the Yahoo Finance API.
- Python 3.6
- pandas_datareader
- yfinance
It can be used to fetch historical data for various stocks which are actively listed on the stock exchange.