Skip to content
Go to file


Failed to load latest commit information.


CVXportfolio on PyPI Build Status Coverage Status Apache 2.0 License

The documentation of the package is given at

cvxportfolio is a python library for portfolio optimization and simulation, based on the paper Multi-Period Trading via Convex Optimization. It is written in Python, its major dependencies are cvxpy and pandas.

If you wish to cite CVXPortfolio, please use:

    author       = {S. Boyd and E. Busseti and S. Diamond and R. Kahn and K. Koh and P. Nystrup and J. Speth},
    title        = {Multi-Period Trading via Convex Optimization},
    journal      = {Foundations and Trends in Optimization},
    year         = {2017},
    month        = {August},
    volume       = {3},
    number       = {1},
    pages        = {1--76},
    publisher    = {Now Publishers},
    url          = {},


To install the package:

pip install cvxportfolio

To test it:

pip install nose
nosetests cvxportfolio
You can’t perform that action at this time.