Skip to content

WARNING: Inconsistent data for non-US tickers | yfinance package with get_fundamentals fixed

License

Notifications You must be signed in to change notification settings

rodrigobercini/yfinance

 
 

Repository files navigation

yfinance fix for fundamentals data

This repo contains a humble attempt at temporarily fixing the yfinance package for fetching financial data.

There are several limitations to this fix

  1. I could only fetch consistent data for the US market. For other stock exchanges, please, be sure to validate the data extracted with the official Yahoo Finance Website.

  2. As an alternative, I adapted the code by Matt Button. Unfortunately, this will only fetch yearly data (no quarterly available). If you need info from other markets than the US, try using the dev branch of this fork: !pip install https://github.com/rodrigobercini/yfinance@dev

Highly recommended alternative

If you need financial data, I'd definitely recommend you to check the yahoo-query package by dpguthrie, which seems to be the best API for extracting financial data from Yahoo Finance. The data is available annualy and quarterly

About

WARNING: Inconsistent data for non-US tickers | yfinance package with get_fundamentals fixed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%