Did Yfinance and Yahoo_Fin for Python Stop Working Recently?

yfinance and yahoo_fin no longer seem to work in their entirety.

Is anyone else experiencing this problem with no financial data for any company using these packages?

Does anyone know if these have been deprecated or blocked or if yfinance and yahoo_fin are still working?

EDIT: The .history seems to be working, also the .info on some companies does work but not all.

1

This fixed the issue

pip install yfinance --upgrade --no-cache-dir 
1

I had a similar issue with yfinance. It worked in the morning of July 9 but stopped working around 5pm EST, July 9. I resolved the issue by installing the latest release, 0.1.62 (), which was released on July 9.

Step 1: uninstall the current version of yfinance, !pip uninstall -y yfinance.

Step 2: install the current version of yfinance, pip install yfinance

I did nothing special to install version 0.1.62, but I checked that there was a folder, yfinance-0.1.62.dist-info to verify the version.

1

For the yahoo_fin module take a look here The author is taking care of it.

2

Apparently you need to install a fix before you can use it, since their API has changed.

Here is the link to the fix:

1

If I turn off my anti-virus, it works fine.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest