Date:March 06, 2015

PyNance is open-source software with tools for retrieving, analysing and visualizing data from stock and derivatives markets.


For Python 2.7.x:

pip install pynance

For Python 3.x.x:

pip3 install pynance


Stock quotes maintained by Yahoo! Finance can be retrieved with the simple command:

>>> import pynance as pn
>>> ge ='ge', '1962', '2015')

Current options quotes can be retrieved using:

>>> geopt, geexp, geeq = pn.opt.get('ge')

The options data retrieved can then be analysed using functions from pynance.opt.

Many of the functions in the submodules of have been designed for easy creation of features and labels for machine learning applications. You can pass metrics from along with numeric parameters to create highly customizable data sets to which machine learning algorithms can then be applied. Examples can be found in the documentation for


PyNance is still in its early development stage. If you find a bug or think of a feature you would like to see included in the next release, please report the issue on GitHub.

Table Of Contents

Next topic

Charts (pynance.chart)

This Page