Skip to main content

Finance plots using matplotlib

Project description

Build Status

This package is deprecated. Please go here for the new version:

To Install:

pip install --upgrade mplfinance


My name is Daniel Goldfarb. In November 2019, I became the maintainer of matplotlib/mpl-finance, and immediately began work on a new version of the module, with an all new API. The old API is still available in the new package, and will likely remain so for several months, at least until we are confident that the new API provides all of the old API's functionality (and more). This package is now deprecated. Please follow the above links to the new module. (This deprecated package consisted of code extracted from the deprecated module along with a few examples of usage. The code was un-maintained for over three years.)


It's good to have a single statement of purpose, to guide development. The original documention for the (now twice deprecated) says that it was a set of functions "for collecting, analyzing and plotting financial data." --- I disagree with the "for collecting" part:    mplfinance is part of matplotlib.   Therefore, I would say the primary purpose of mplfinance is the visualization of financial data. However, since analyzing financial data often involves visualization (for example moving averages, oscillators, bollinger bands, etc.) let's say this also includes analyzing financial data (at least to the extent that such analysis involves visualization). Putting this into a single statement to guide development going forward:

The mplfinance package provides utilities for the visualization, and visual analysis, of financial data

Let's leave the collection and acquistion of financial data to other packages. We will focus on visualization, and visual analysis, while other packages can focus on various ways of acquiring the data. That said, we can certainly provide APIs for interfacing with packages that acquire financial data, in order to more easily and directly visualize and analyze that data.

For more information, please see the following links:

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

mpl_finance-0.10.1.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

mpl_finance-0.10.1-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

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