yfinance offers a Pythonic way to fetch financial & market data from Yahoo!Ⓡ finance.
Important
Yahoo!, Y!Finance, and Yahoo! finance are registered trademarks of Yahoo, Inc.
yfinance is not affiliated, endorsed, or vetted by Yahoo, Inc. It's an open-source tool that uses Yahoo's publicly available APIs, and is intended for research and educational purposes.
You should refer to Yahoo!'s terms of use (here, here, and here) **for details on your rights to use the actual data downloaded.
Remember - the Yahoo! finance API is intended for personal use only.**
-
Ticker
: single ticker data -
Tickers
: multiple tickers' data -
download
: download market data for multiple tickers -
Market
: get information about a market -
WebSocket
andAsyncWebSocket
: live streaming data -
Search
: quotes and news from search -
Sector
andIndustry
: sector and industry information -
EquityQuery
andScreener
: build query to screen market
Install yfinance
from PYPI using pip
:
$ pip install yfinance
yfinance is distributed under the Apache Software License. See the LICENSE.txt file in the release for details.
AGAIN - yfinance is not affiliated, endorsed, or vetted by Yahoo, Inc. It's an open-source tool that uses Yahoo's publicly available APIs, and is intended for research and educational purposes. You should refer to Yahoo!'s terms of use (here, here, and here) for details on your rights to use the actual data downloaded.
Please drop me a note with any feedback you have.
Ran Aroussi