NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #834 most downloaded on PyPI
Download market data from Yahoo! Finance API
Last release 1 months ago
26 Aug 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
150 releases · first in 2019
fixed the 3 main financials tables - income statement, balance sheet, and cash flow #1568
Main changes:
Minor changes:
logging double-printing #1562Fix financials tables #1568 Price repair update: fix Yahoo messing up dividend and split adjustments #1543 Fix logging behaviour #1562 Fix merge future div/split into prices #1567
Switch to logging module - thanks @flaviovs #1423 #1493 #1522 #1541
Switch to logging module - thanks @flaviovs #1423 #1493 #1522 #1541
Price history:
session argument to download - thanks @bveber #1547One column per quarter.
Switch to logging module #1493 #1522 #1541 Price history: - optimise #1514 - fixes #1523 - fix TZ-cache corruption #1528
Nothing published for this version
Corrupt tkr-tz-csv halting code #1528
Bugfixes:
download logging #1541Post feedback in Discussion: https://github.com/ranaroussi/yfinance/discussions/1516
Post feedback in Discussion: https://github.com/ranaroussi/yfinance/discussions/1516
Fixes:
Post feedback in Discussion: https://github.com/ranaroussi/yfinance/discussions/1516
Feedback wanted on switch to Logging module. See the updated README for howto: https://github.com/ranaroussi/yfinance/tree/dev#logging
Changes:
Feedback wanted on switch to Logging module. See the updated README for howto: https://github.com/ranaroussi/yfinance/tree/dev#logging
Post feedback in Discussion: https://github.com/ranaroussi/yfinance/discussions/1516
fast_info error "_np not found" #1496
Bug fixes:
fast_info error "_np not found" #1496Fix 'fast_info' error '_np not found' #1496 Fix bug in timezone cache #1498
Fix prices error with Pandas 2.0 - thanks @steven9909 #1488
Fix prices error with Pandas 2.0 - thanks @steven9909 #1488
Restore missing Ticker.info keys - thanks @kennykos #1480
Restore missing Ticker.info keys - thanks @kennykos #1480
Fix 'fast_info deprecated' msg appearing at Ticker() init
Restore missing Ticker.info keys #1480
Restore missing Ticker.info keys #1480
Fix Ticker.info dict by fetching from API (also faster than scraping) - thanks @qianyun210603 #1461
Fix Ticker.info dict by fetching from API (also faster than scraping) - thanks @qianyun210603 #1461
fetching big intervals e.g. "3mo" with Capital Gains #1455 (thanks @mppics)
Price bug fixes:
Price bug fixes: - fetch big-interval with Capital Gains #1455 - merging dividends & splits with prices #1452
Nothing published for this version
Disable annoying 'backup decrypt' msg 6b8b0d5
Disable annoying 'backup decrypt' msg 6b8b0d5
Fix history_metadata accesses for unusual symbols - thanks @sdeibel #1411
Fix history_metadata accesses for unusual symbols - thanks @sdeibel #1411
Fix history_metadata accesses for unusual symbols #1411
fix using sqlite3 < 3.8.2 #1380
General:
Prices
download() timezone handling #1385prepost=False #1311Info
fast_info improvements:
values() & items() #1368fast_info["previousClose"] #1383TypeError exception #1397Restore original download() timezone handling #1385
Fix parsing history_metadata['tradingPeriods'] when empty.
Fix parsing history_metadata['tradingPeriods'] when empty.
Drop price prepost intervals if prepost=False #1311
0.2.10 beta 1
Changelog:
sqlite < 3.8.2 #1380prepost=False #1311fast_info improvements:
dict functions values() & items() #1368fast_info["previousClose"] #1383- Fix fast_info bugs #1362
Fix fast_info bugs #1362
Fix Yahoo decryption, smarter this time #1353
Fix Ticker.basic_info lazy-loading #1342
Fix Ticker.basic_info lazy-loading #1342
Fix Yahoo data decryption again #1336
Fix Yahoo data decryption #1297
#1302
Make financials API '_' use consistent (e.g. support both balance_sheet and balancesheet)
Restore financials attribute (map to income_stmt)
financials attribute (map to income_stmt)This is a major new release with some new features. The important summary is:
This is a major new release with some new features. The important summary is:
For full list of changes see the pre-release notes:
@ranaroussi Just FYI
Improve financials error handling #1243
Access to old financials tables via get_income_stmt(legacy=True)
Major changes:
get_income_stmt(legacy=True)history_metadata, plus a bunch of price fixesFor full list of changes see #1238
fix financials tables to match website #1128 #1157
Jumping to 0.2 for this big update #1117. 0.1.* will continue to receive bug-fixes
Jumping to 0.2 for this big update #1117. 0.1.* will continue to receive bug-fixes
download(..., raise_errors=True) #1104Fix info[] not caching for small % of tickers #1258
Nothing published for this version
Fix delisted ticker info[] access
Fix delisted ticker info[] access
Nothing published for this version
Decrypt the new Yahoo encryption #1255. Credits to @Rogach for the hard crypto work, and to @fredrik-corneliusson for porting to cryptography.
Decrypt the new Yahoo encryption #1255. Credits to @Rogach for the hard crypto work, and to @fredrik-corneliusson for porting to cryptography.
Nothing published for this version
Restore lxml requirement, increase minimum version #1237
Remove unused incompatible dependency #1222
Fix localizing midnight when non-existent (DST) #1176
Improve handling delisted tickers #1142
Fix info['log_url'] #1062 Fix handling delisted ticker #1137
Fix info['log_url'] #1062 Fix handling delisted ticker #1137
Nothing published for this version
Reduce spam-effect of tz-fetch
Reduce spam-effect of tz-fetch
Nothing published for this version
Fix unhandled tz-cache exception #1107
Fix unhandled tz-cache exception #1107
download(ignore_tz=True) for single ticker #1097
Fixes:
download(ignore_tz=True) for single ticker #1097Fix download(ignore_tz=True) for single ticker #1097
Fix rare case of error "Cannot infer DST time" #1100
Fix when Yahoo returns price=NaNs on dividend day. Dividends were being lost. E.g. ticker "BHP.AX" on 1998-10-30.
Fix when Yahoo returns price=NaNs on dividend day. Dividends were being lost. E.g. ticker "BHP.AX" on 1998-10-30.
Fix download() when different timezones #1085
Fix download() when different timezones #1085
Fix user experience bug introduced in 0.1.75 #1076
Fix user experience bug introduced in 0.1.75 #1076
Thanks to @ValueRaider and @asafravid - we have a new version! 🎉
Thanks to @ValueRaider and @asafravid - we have a new version! 🎉
Huge thank you for @ValueRaider for this one!
Fixed datetime-related issues: #1048
Add 'keepna' argument #1032
Speedup Ticker() creation #1042
Improve a bugfix #1033
Fixed bug introduced in 0.1.73
Fixed bug introduced in 0.1.73
Merged several PR that fixed misc issues
Merged several PR that fixed misc issues
- Misc bugfixs
Misc bugfixs
Return empty DF if YF missing earnings dates
0.1.71
.get_earnings_dates() to retreive earnings calendar.get_earnings_history() to fetch earnings data- Bug fixed - Closes #937
Bug fixed - Closes #937
- Bug fixed - #920
Bug fixed - #920
Fixed json.decoder.JSONDecodeError using the latest requests library
json.decoder.JSONDecodeError using the latest requests libraryrequests libraryUpgraded requests dependency
Removed Python 3.5 support
Added legal disclaimers to make sure people are aware that this library is not affiliated, endorsed, or vetted by Yahoo, Inc.
Added legal disclaimers to make sure people are aware that this library is not affiliated, endorsed, or vetted by Yahoo, Inc.
Merged PR to allow yfinance to be pickled
0.1.66
utils.get_all_by_isin(...), utils.get_ticker_by_isin(...), utils.get_info_by_isin(...), utils.get_news_by_isin(...)yf.Ticker, yf.Tickers, and yf.download will auto-detect ISINs and convert them to tickersrequest.get(timeout)Ticker.get_analysis(...)Your coding agent can read these notes before it upgrades. Set up the MCP server →