A simple script to download historical data from Yahoo Finance. See the comments in config.yaml for more information.
- Ensure you have Python 3.6 or newer installed.
- Clone this repository or download the zip file and extract it.
- Install the dependencies in a command prompt (see below).
- Run the script by double-clicking on
download.py
or by typingpython3 download.py
in a command prompt. Make sure that you configuredconfig.yaml
correctly.
pip3 install yfinance pydantic pyyaml tqdm termcolor