Registry / data / openbb-yfinance

openbb-yfinance

JSON →
library1.6.2pypypi✓ verified 79d ago

OpenBB Platform extension that provides stock market data from Yahoo Finance via the yfinance library. Version 1.6.2, released monthly.

pip install openbb-yfinance
INSTALL
IMPORT
SIG · OPENBB-YFINANCE
O
openbb-yfinance
datapythonv1.6.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Provider
from openbb_yfinance import Provider
from openbb_yfinance import YFinanceFetcher

Initialize OpenBB and retrieve historical stock data using the yfinance extension.

from openbb import obb # Set API keys if needed (not strictly required for yfinance) # obb.user.preferences.output_type = 'dataframe' # Fetch historical data for Apple result = obb.equity.price.historical( symbol='AAPL', start_date='2024-01-01', end_date='2024-12-31' ) print(result.to_df().head())
Debug
Known issues
breakingOpenBB v4 changed the import structure. Code written for v3 must be rewritten.
fix
Use the new router-based API: obb.equity.price.historical(...) instead of obb.equity.historical(...).
affects: all versions using openbb-yfinance with OpenBB v4 vs v3
deprecatedThe 'provider' parameter is no longer accepted in most commands; yfinance is auto-detected.
fix
Remove provider='yfinance' from calls. The extension is loaded automatically.
affects: >=1.0.0
breakingYahoo Finance data may be delayed or missing due to API restrictions; not suitable for real-time trading.
fix
Use with caution for non-critical analysis.
affects: all
Upgrade
Version history
1.6.2latest on PyPI · released Apr 18, 2026
Audit
Dependencies
openbbrequiredExtension requires the OpenBB Platform core.
yfinancerequiredUnderlying data provider.
Agent activity
2 hits · last 30 days
node
2
Resources
openbb-yfinance — pip install openbb-yfinance · libregistry