yfinance

Package — FinancePython 3.7+Advanced

Download market data from Yahoo Finance (stocks, ETFs, crypto)

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
pandas, NumPy, requests, lxml, beautifulsoup4, frozendict, peewee, html5lib
Install
pip install yfinance

Learn by Difficulty

Quick Example

python
# Install: pip install yfinance
import yfinance

# Basic yfinance usage
print(f"Using yfinance")
# See documentation for detailed examples

yfinance is a third-party package. Download market data from Yahoo Finance (stocks, ETFs, crypto). Install with: pip install yfinance

Try in Playground

Tags

packagefinancetradingquantitative