Skip to main content

Download market data from Yahoo! Finance API

Project description

Download market data from Yahoo! Finance's API

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

ranaroussi%2Fyfinance | Trendshift

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.**


[!TIP] THE NEW DOCUMENTATION WEBSITE IS NOW LIVE! 🤘

Visit ranaroussi.github.io/yfinance


Main components

  • Ticker: single ticker data
  • Tickers: multiple tickers' data
  • download: download market data for multiple tickers
  • Market: get information about a market
  • WebSocket and AsyncWebSocket: live streaming data
  • Search: quotes and news from search
  • Sector and Industry: sector and industry information
  • EquityQuery and Screener: build query to screen market

Installation

Install yfinance from PYPI using pip:

$ pip install yfinance

yfinance relies on the community to investigate bugs and contribute code. Here's how you can help.


Star History Chart


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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yfinance-1.3.0.tar.gz (145.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yfinance-1.3.0-py2.py3-none-any.whl (133.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file yfinance-1.3.0.tar.gz.

File metadata

  • Download URL: yfinance-1.3.0.tar.gz
  • Upload date:
  • Size: 145.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for yfinance-1.3.0.tar.gz
Algorithm Hash digest
SHA256 42c4e64a889dab8eeaffd3a66d4ccf1baffd566910ca63fb6332283f8f9b8a40
MD5 288dd1ba2244526e7aeeaa45d5b79e38
BLAKE2b-256 9bfd943a7d71ce98a40b9006daccba96a83837acadb8e55361f41c7a81873013

See more details on using hashes here.

File details

Details for the file yfinance-1.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: yfinance-1.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 133.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for yfinance-1.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c89539f0cf6af026d570131189bd659a962e8fb942376ef8ff8913e77c9fca75
MD5 8e55ec6a4908f4f4f6ebd5498396b224
BLAKE2b-256 dcbce46ed5dfb88c6f7af0f641ffb6227d32f484ea989a2987a52a9c35d17aa9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page