CVaR ERC PORTFOLIO OPTIMIZATION
Mostrar comentarios más antiguos
Dear all, I'm trying to solve an optimization problem concerning ERC portfolio. I have N assets in portfolio and I'm looking for a portfolio in which the risk contributions in terms of CVaR are equal among all assets. I use the code provided by Prof. Dr. Markus Leippold in his home page(<http://www.leippold.ch/matlab.html)>. This code works fine and it gives the right solution for ERC portfolio using volatility as risk measure, but using CVaR as risk measure it doesn't work. I calculated the CVaR as follow:
if true
[T,K]=size(returns);
Conf_lev = 0.05;
idx=floor(Conf_lev*T);
V = zeros(K,1);
CV = zeros(K,1);
sx = sort(returns);
V = sx(idx,:);
CV = mean(sx(1:idx,:));
end
Does anybody have an idea of how to solve this problem? Many thanks to everybody.
Respuestas (0)
Categorías
Más información sobre Portfolio Optimization and Asset Allocation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!