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!