Download market data from Yahoo! Finance's API
*** IMPORTANT LEGAL DISCLAIMER ***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. |
yfinance offers a Pythonic way to fetch financial & market data from Yahoo!Ⓡ finance.
Main components
Ticker: single ticker dataTickers: multiple tickers' datadownload: download market data for multiple tickersMarket: get infomation about a marketSearch: quotes and news from searchSectorandIndustry: sector and industry informationEquityQueryandScreener: build query to screen market
NEW DOCUMENTATION WEBSITE: ranaroussi.github.io/yfinance
Installation
Install yfinance from PYPI using pip:
$ pip install yfinance
The list of changes can be found in the Changelog
Developers: want to contribute?
yfinance relies on community to investigate bugs, review code, and contribute code. Developer guide: https://github.com/ranaroussi/yfinance/discussions/1084
Legal Stuff
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.
P.S.
Please drop me a note with any feedback you have.
Ran Aroussi
Metadata
Release files for yfinance 0.2.54
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yfinance-0.2.54.tar.gz | 117.9 kB | Without provenance | Details for yfinance-0.2.54.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yfinance-0.2.54-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for yfinance-0.2.54-py2.py3-none-any.whl |
Total release size: 226.6 kB
Release files / yfinance-0.2.54.tar.gz
| Download URL | yfinance-0.2.54.tar.gz |
|---|---|
| Size | 117.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4ab8e2ecba4fda5a36bff0bdc602a014adc732e5eda5d3ac283836ce40356e8
|
|
BLAKE2b-256 checksum How to use checksums |
83a7592e5074f5f72be7b4b9fafd2f66e4d20e10afd83a134de63638980fcd19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / yfinance-0.2.54-py2.py3-none-any.whl
| Download URL | yfinance-0.2.54-py2.py3-none-any.whl |
|---|---|
| Size | 108.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8754f90332158d5d19bf754c1b230864ca2d1d313182a3f94a7bc7718bbe7d90
|
|
BLAKE2b-256 checksum How to use checksums |
090528664524fcc67c078313d482bf25fe403e9399130622cfc89e185ec0abf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for yfinance 0.2.54
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.