CVaR ERC PORTFOLIO OPTIMIZATION
이전 댓글 표시
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.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Portfolio Optimization and Asset Allocation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!