yfinance 0.2.66


pip install yfinance

  Latest version

Released: Sep 17, 2025

Project Links

Meta
Author: Ran Aroussi

Classifiers

License
  • OSI Approved :: Apache Software License

Development Status
  • 4 - Beta

Operating System
  • OS Independent

Intended Audience
  • Developers

Topic
  • Office/Business :: Financial
  • Office/Business :: Financial :: Investment
  • Scientific/Engineering :: Interface Engine/Protocol Translator
  • Software Development :: Libraries
  • Software Development :: Libraries :: Python Modules

Programming Language
  • Python :: 3.6
  • Python :: 3.7
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10

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

0.2.66 Sep 17, 2025
0.2.65 Jul 06, 2025
0.2.64 Jun 27, 2025
0.2.63 Jun 12, 2025
0.2.62 Jun 08, 2025
0.2.61 May 12, 2025
0.2.60 May 11, 2025
0.2.59 May 07, 2025
0.2.58 May 02, 2025
0.2.57 Apr 28, 2025
0.2.56 Apr 23, 2025
0.2.55 Mar 20, 2025
0.2.54 Feb 18, 2025
0.2.53 Feb 15, 2025
0.2.52 Jan 18, 2025
0.2.51 Dec 19, 2024
0.2.50 Nov 19, 2024
0.2.49 Nov 10, 2024
0.2.48 Oct 25, 2024
0.2.47 Oct 25, 2024
0.2.46 Oct 21, 2024
0.2.45 Oct 20, 2024
0.2.44 Sep 30, 2024
0.2.43 Aug 24, 2024
0.2.42 Aug 22, 2024
0.2.41 Jul 19, 2024
0.2.40 May 19, 2024
0.2.39 May 19, 2024
0.2.38 Apr 16, 2024
0.2.37 Feb 25, 2024
0.2.36 Jan 21, 2024
0.2.35 Jan 07, 2024
0.2.34 Jan 06, 2024
0.2.33 Dec 06, 2023
0.2.32 Nov 18, 2023
0.2.31 Oct 04, 2023
0.2.31b2 Oct 01, 2023
0.2.31b1 Oct 01, 2023
0.2.30 Sep 24, 2023
0.2.29 Sep 22, 2023
0.2.28 Aug 13, 2023
0.2.27 Aug 03, 2023
0.2.26 Jul 21, 2023
0.2.25 Jul 18, 2023
0.2.25b1 Jul 14, 2023
0.2.24 Jul 14, 2023
0.2.23 Jul 13, 2023
0.2.22 Jun 24, 2023
0.2.21 Jun 21, 2023
0.2.20 Jun 07, 2023
0.2.19 Jun 07, 2023
0.2.19b4 May 25, 2023
0.2.19b3 May 11, 2023
0.2.19b1 May 04, 2023
0.2.18 Apr 16, 2023
0.2.17 Apr 10, 2023
0.2.16 Apr 09, 2023
0.2.15 Apr 09, 2023
0.2.14 Mar 25, 2023
0.2.13 Mar 21, 2023
0.2.13b1 Feb 17, 2023
0.2.12 Feb 16, 2023
0.2.11 Feb 10, 2023
0.2.10 Feb 07, 2023
0.2.10b3 Feb 07, 2023
0.2.10b2 Feb 01, 2023
0.2.10b1 Jan 31, 2023
0.2.9 Jan 26, 2023
0.2.7 Jan 26, 2023
0.2.6 Jan 25, 2023
0.2.5 Jan 25, 2023
0.2.4 Jan 14, 2023
0.2.3 Dec 20, 2022
0.2.2 Dec 20, 2022
0.2.1 Dec 19, 2022
0.2.0rc5 Dec 16, 2022
0.2.0rc4 Dec 13, 2022
0.2.0rc2 Nov 12, 2022
0.2.0rc1 Oct 26, 2022
0.1.96 Dec 20, 2022
0.1.95 Dec 19, 2022
0.1.94 Dec 19, 2022
0.1.93 Dec 18, 2022
0.1.92 Dec 18, 2022
0.1.91 Dec 18, 2022
0.1.90 Dec 13, 2022
0.1.89 Dec 12, 2022
0.1.87 Nov 16, 2022
0.1.86 Nov 14, 2022
0.1.85 Nov 03, 2022
0.1.84 Oct 25, 2022
0.1.83 Oct 25, 2022
0.1.82 Oct 25, 2022
0.1.81 Oct 23, 2022
0.1.80 Oct 22, 2022
0.1.79 Oct 18, 2022
0.1.78 Oct 18, 2022
0.1.77 Oct 07, 2022
0.1.75 Oct 04, 2022
0.1.74 Jul 11, 2022
0.1.73 Jul 11, 2022
0.1.72 Jun 16, 2022
0.1.71 Jun 16, 2022
0.1.70 Jan 30, 2022
0.1.69 Jan 12, 2022
0.1.68 Dec 30, 2021
0.1.67 Nov 20, 2021
0.1.66 Nov 13, 2021
0.1.65 Nov 13, 2021
0.1.64 Oct 19, 2021
0.1.63 Jul 10, 2021
0.1.62 Jul 09, 2021
0.1.61 Jul 08, 2021
0.1.60 Jul 03, 2021
0.1.59 Mar 25, 2021
0.1.58 Mar 25, 2021
0.1.57 Mar 24, 2021
0.1.56 Mar 24, 2021
0.1.55 Oct 05, 2020
0.1.54 Dec 27, 2019
0.1.53 Dec 27, 2019
0.1.52 Dec 04, 2019
0.1.51 Dec 04, 2019
0.1.50 Nov 10, 2019
0.1.49 Oct 29, 2019
0.1.48 Oct 29, 2019
0.1.47 Oct 27, 2019
0.1.46 Oct 27, 2019
0.1.45 Aug 26, 2019
0.1.44 Aug 02, 2019
0.1.43 Jun 21, 2019
0.1.42 Jun 04, 2019
0.1.41 May 31, 2019
0.1.40 May 31, 2019
0.1.39 May 29, 2019
0.1.38 May 27, 2019
0.1.37 May 26, 2019
0.1.36 May 26, 2019

Wheel compatibility matrix

Platform Python 2 Python 3
any

Files in release

Extras:
Dependencies:
pandas (>=1.3.0)
numpy (>=1.16.5)
requests (>=2.31)
multitasking (>=0.0.7)
platformdirs (>=2.0.0)
pytz (>=2022.5)
frozendict (>=2.3.4)
peewee (>=3.16.2)
beautifulsoup4 (>=4.11.1)
curl_cffi (>=0.7)
protobuf (>=3.19.0)
websockets (>=13.0)