Fast and scalable design of risk parity portfolios

riskParityPortfolio is an R package focused on the design of risk parity portfolios using fast, accurate, state-of-the-art optimization methods.

Get started now View it on GitHub

Getting started


riskParityPortfolio is build on top of awesome R packages including Rcpp, RcppEigen, quadprog, alabama, and nloptr. All these packages can be installed via CRAN.


  1. The stable version can be installed via CRAN as
  2. The development version can be installed via GitHub as

    You must have previously installed the devtools package.


  • See the package vignette for a detailed description of the mathematical methods that are available in riskParityPortfolio.

About the project

riskParityPortfolio is developed on GitHub by Ze Vinicius and Daniel Palomar.


riskParityPortfolio is distributed by an GPL 3.0 License.


We welcome all sorts of contributions. Please feel free to open an issue to report a bug or discuss a feature request in our GitHub repo.


If this package has been useful to you in any way, give us a star on GitHub :) Additionally, if you’ve used riskParityPortfolio on your research, please consider citing the following resources: