Skip to content

[BugFix] openbb-yfinance: Fix Multi-Index Shape Change for Single Ticker Download#7512

Merged
deeleeramone merged 3 commits into
developfrom
bugfix/yfinance-single-ticker-download
May 26, 2026
Merged

[BugFix] openbb-yfinance: Fix Multi-Index Shape Change for Single Ticker Download#7512
deeleeramone merged 3 commits into
developfrom
bugfix/yfinance-single-ticker-download

Conversation

@deeleeramone

Copy link
Copy Markdown
Contributor

This PR fixes an issue where the *_historical endpoints fail with single ticker inputs because of a wire shape change in newer versions of yFinance.

Before:

obb.equity.price.historical(symbol='AAPL',provider="yfinance")

OpenBBError: 
[Unexpected Error] -> KeyError -> 'date'

but, obb.equity.price.historical(symbol='AAPL,MSFT',provider="yfinance") works.

After:

Both work.

@github-actions github-actions Bot added bug Bugs and bug fixes platform OpenBB Platform v4 PRs for v4 labels May 26, 2026
@deeleeramone deeleeramone added the extensions Extension-related label May 26, 2026
@deeleeramone deeleeramone requested a review from piiq May 26, 2026 04:35
@deeleeramone deeleeramone added this pull request to the merge queue May 26, 2026
Merged via the queue into develop with commit fa9729f May 26, 2026
16 checks passed
@deeleeramone deeleeramone deleted the bugfix/yfinance-single-ticker-download branch May 26, 2026 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bugs and bug fixes extensions Extension-related platform OpenBB Platform v4 PRs for v4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants