Skip to main content

A Python Interface to the Yahoo Finance API

Project description

Yahoo Finance Python Interface

PyPI - Python Version PyPI - Package Version GitHub Status - Stable

yahoo-finance-pynterface is a Python package that provides a new interface to the Yahoo Finance API.


Yahoo Finance is by far the most popular (and free!) resource for financial data.

Many packages have been distributed to provide access to such a resource in the recent past.
However, most of such projects were aiming at filling the gap that the changes made in May, 2017 by the Yahoo Team left behind.

yahoo-finance-pynterface has been intended to provide a completely new interface to Yahoo Finance,
and it is meant to offer effective methods to interact with its API.


yahoo-finance-pynterface makes an extensive use of pandas.
As a consequence, most of the data retrieved are returned as pandas.DataFrame objects.

Even if a stable release is available, the project has yet to be considered "complete" and many other features has yet to come! Please, drop me an email if any comment/suggestion/remark pops up in your mind :)


yahoo-finance-pynterface is currently working on Python >= 3.5 only.
Any help to add support for Python == 2.x is welcome and encouraged as well as very much appreciated!

Furthermore, the following packages are required:

  • requests >= 2.19.1
  • pandas >= 0.23.4
  • numpy >= 1.15.1
  • pytz >= 2018.5
  • dateutil >= 2.7.3
  • aenum >= 2.1.2


Use pip to install yahoo_finance_pynterface:

   pip install yahoo-finance-pynterface


For a quick reference, navigate to the Wiki Page.
And do not forget to check the examples!

Change Log

September 12, 2018
   Version 1.0.4
     Fixed modules imported

September 07, 2018
   Version 1.0.2
     Fixed type hints

August 31, 2018
   Version 1.0.1
     First stable release


Seriously, thanks!
-- andrea-dm

Project details

Download files

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

Source Distribution

yahoo_finance_pynterface-1.0.4.tar.gz (10.4 kB view hashes)

Uploaded source

Built Distribution

Supported by

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