

Yfinance is a complete re-write of the libray, offering a reliable method of downloading historical market data from Yahoo! Finance's API, up to 1 minute granularity, in a more Pythonic way. The problem was, that this hack was a bit unreliable, causing data to not being downloaded and required developers to force session re-initialization and re-fetching of cookies, by calling yf.get_yahoo_crumb(force=True). Remember - the Yahoo! finance API is intended for personal use only.įix-yahoo-finance aimed to offer a temporary fix to the problem by getting data from Yahoo! Finance and returning it in the same format as pandas_datareader's get_data_yahoo(), thus keeping the code changes in exisiting software to minimum. Here) for details on your rights to use the actual data downloaded. You should refer to Yahoo!'s terms of use ( here, It's an open-source tool that uses Yahoo's publicly available APIs, and is intended for research and educational purposes. Yfinance is not affiliated, endorsed, or vetted by Yahoo, Inc. Yahoo!, Y!Finance, and Yahoo! finance are registered trademarks of Yahoo, Inc.

As a result, my library, yfinance, gained momentum and was downloaded over 100,000 enjoys 300k+ installs per month, acording to PyPi! Ever since Yahoo decommissioned their historical data API, Python developers looked for a reliable workaround.
