Skip to main content

Time Series mean reversion utilities

Project description


Python implementation of the Johansen test for cointegration

Installation notes:

This package requires scipy, which in turn requires blas, lapack, atlas, and gfortran. These can be installed on a Ubuntu system with:

sudo apt-get install libblas-dev liblapack-dev libatlas-base-dev gfortran


See examples folder for a jupyter notebook with example usage.


The cases when the chosen model (in the language of MacKinnon 1996) is 1* or 2* have not yet been fully implemented. They will be completed in the near future.

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

mean-reversion-utilities-2.0.4.tar.gz (10.8 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page