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.fixUse 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.fixRemove 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.fixUse 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.