Skip to main content

Download market data from Yahoo! Finance's API


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.


Python version PyPi version PyPi status PyPi downloads CodeFactor Star this repo Follow me on twitter

yfinance offers a Pythonic way to fetch financial & market data from Yahoo!Ⓡ finance.

Main components

  • Ticker: single ticker data
  • Tickers: multiple tickers' data
  • download: download market data for multiple tickers
  • Market: get infomation about a market
  • Search: quotes and news from search
  • Sector and Industry: sector and industry information
  • EquityQuery and Screener: 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


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-qpython 0.2.52

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yfinance-qpython 0.2.52
File Size Uploaded
yfinance_qpython-0.2.52.tar.gz 99.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yfinance-qpython 0.2.52
File Interpreter ABI Platform
yfinance_qpython-0.2.52-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 207.5 kB

Release files / yfinance_qpython-0.2.52.tar.gz

Download URL yfinance_qpython-0.2.52.tar.gz
Size 99.0 kB
Tags Source
SHA-256 checksum
How to use checksums
796d2056db48c8f6f143169947a99448170d87f5103ae2b78c856acf357a21ec
BLAKE2b-256 checksum
How to use checksums
19c3ac8ba7c505241da16bf21dd71742f3ca2e22d9fbeba294de86a6a8096e50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.7

Release files / yfinance_qpython-0.2.52-py2.py3-none-any.whl

Download URL yfinance_qpython-0.2.52-py2.py3-none-any.whl
Size 108.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
86fd4156a6bf890da9f0e239f2c1705b8996c21674e9b2615354c6775f731678
BLAKE2b-256 checksum
How to use checksums
04c7828e23fd81ea048774b8df4e58d2723e2bfa1b342adbada700ea20ad9625
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.2.52 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page