Download Yahoo Finance market data
yfinanceskillsetup L2★309
mkurman/zorai ↗What it does
Download Yahoo Finance market data into pandas DataFrames
Best for
Rapid prototyping of quant research and backtesting without API keys or rate limits
Inputs
- · Ticker symbol (e.g., MSFT, AAPL)
- · optional: start/end dates, data types (prices, options, fundamentals)
Outputs
- · Pandas DataFrame with OHLCV data
- · Options chain (calls/puts)
- · Balance sheet and financials
- · Dividend/split history
- · Institutional holders
Requires
- · Yahoo Finance web data
- · pandas
Preconditions
Python 3.x; yfinance installed (uv pip install yfinance); ticker symbol valid
Failure modes
Invalid ticker symbol; network timeout; Yahoo Finance rate limiting; delisted symbols
Trust signals
- · Fastest path from ticker to DataFrame
- · Covers options, fundamentals, financials in one library
- · Published GitHub/PyPI project