Installation Guide#

Install yfinance using pip:

$ pip install yfinance --upgrade --no-cache-dir

To install with optional dependencies, replace optional with: nospam for caching-requests, repair for price repair, or nospam, repair for both:

$ pip install "yfinance[optional]"

For required dependencies, check out the requirements file, and for all dependencies, see the setup.py file.