1.4.0

ranaroussi/yfinance1.4.0May 23, 2026by ValueRaider

AI Summary

Introduces a new authentication system for Yahoo accounts, adds region scoping for Sector and Industry data, and supports a fallback to the `requests` package.

Key Highlights

  • Login Yahoo account with `yf.Auth`
  • Region scoping on `Sector` and `Industry`
  • Support `curl_cffi` fallback to `requests` package

New Features

  • New `yf.Auth` login system
  • Region scoping for sector/industry
  • Fallback to requests package

Full Release Notes

### Minor changes

- Login Yahoo account with `yf.Auth` [link](https://ranaroussi.github.io/yfinance/reference/api/yfinance.Auth.html#yfinance.Auth)
- Region scoping on `Sector` and `Industry` [link](https://ranaroussi.github.io/yfinance/reference/yfinance.sector_industry.html#region-scoping)
- Support `curl_cffi` fallback to `requests` package [link](https://github.com/ranaroussi/yfinance#installation)

### Patches

- Lots of fixes big and small.

Full changelog #2828

Thanks @etbala @dokson @a-drenaline @gottostartsomewhere @Jaypatel1511