Risk Parity / Equal-risk contribution optimization

I am trying to implement the risk parity or ERC portfolio.
How can I implement the cyclical coordinate descent algorithm to solve the optimization as outlined by Roncalli in:
thanks!

Respuestas (1)

Yosef Bisk
Yosef Bisk el 28 de Sept. de 2017
Editada: Yosef Bisk el 28 de Sept. de 2017

0 votos

W := Nx1 vector of starting weights
Sigma := NxN matrix of co-variances
These two lines should do it.
f = @(W) var(W.*(Sigma*W))*10^14; %Note: The 10^14 is there to increase accuracy
ERC_weights = fmincon(f,W,[],[],ones(1,length(W)),1)

Categorías

Más información sobre Portfolio Optimization and Asset Allocation en Centro de ayuda y File Exchange.

Preguntada:

EM
el 13 de Abr. de 2016

Editada:

el 28 de Sept. de 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by