yfinance extension for OpenBB
Actively maintained. Last release 4 weeks ago, commits in 8 of the last 26 weeks. A safe choice.
pip install openbb-yfinanceOpenBB Yahoo Finance Provider
This extension integrates Yahoo! Finance into the OpenBB Platform. It is a hybrid extension — a single package that registers as both:
- an
openbb_provider_extension, contributing ~80 Yahoo Finance fetchers, and - an
openbb_core_extension, contributing a router with namespaced commands, interactive PyWry widgets, a bundled OpenBB Workspace app, and an embedded MCP server.
Because of this, it works standalone (no other OpenBB data extensions required) and also slots cleanly into a full OpenBB Platform install.
Installation
pip install openbb-yfinance
Runtime dependencies: openbb-core, yfinance, pywry, and fastmcp.
Hybrid registration
Fetchers register under their standard OpenBB model names when the companion
extension is installed, and fall back to namespaced Yf* aliases when it is not.
For example EquityHistorical is provided when openbb-equity is present, otherwise the
same fetcher registers as YfEquityHistorical and the bundled equity router exposes
the command. The companion extensions detected at import time are:
openbb-equity, openbb-etf, openbb-derivatives, openbb-index, openbb-crypto,
openbb-currency, openbb-news, and openbb-economy.
The matching router namespace (equity, etf, derivatives, index, crypto,
currency, news, economy) is only mounted when that companion extension is absent,
so the hybrid never collides with a first-party OpenBB extension.
Data coverage
| Area | Examples |
|---|---|
| Equity | historical prices, quotes, company profile, balance sheet / income / cash flow, key metrics, key executives, share statistics, dividends, EPS history, company filings |