rp function

Risk-parity optimization

Risk-parity optimization

This function determines a risk-parity solution of a long-only portfolio with a budget-constraint.

rp(x0, P, mrc, optctrl = ctrl())

Arguments

  • x0: matrix of dimension n×1n \times 1; starting values.
  • P: matrix of dimension n×nn \times n; dispersion matrix.
  • mrc: matrix of dimension n×1n \times 1; the marginal risk contributions.
  • optctrl: An object of S4-class Rcpp_CTRL.

Returns

An object of S4-class Rcpp_CPS.

References

Spinu, F. (2013), An Algorithm for Computing Risk Parity Weights, SSRN, OMERS Capital Markets, July 2013.

  • Maintainer: Bernhard Pfaff
  • License: GPL (>= 3)
  • Last published: 2023-12-09

Useful links