This function determines a risk-parity solution of a long-only portfolio with a budget-constraint.
rp(x0, P, mrc, optctrl = ctrl())
An object of S4-class Rcpp_CPS
.
matrix
of dimension \(n \times 1\); starting values.
matrix
of dimension \(n \times n\); dispersion matrix.
matrix
of dimension \(n \times 1\); the marginal
risk contributions.
An object of S4-class Rcpp_CTRL
.
Spinu, F. (2013), An Algorithm for Computing Risk Parity Weights, SSRN, OMERS Capital Markets, July 2013.