필터 지우기
필터 지우기

Risk Parity / Equal-risk contribution optimization

조회 수: 4 (최근 30일)
EM
EM 2016년 4월 13일
편집: Yosef Bisk 2017년 9월 28일
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!
  댓글 수: 1
ac
ac 2016년 5월 23일
Hi EM, did you managed to implement it?

댓글을 달려면 로그인하십시오.

답변 (1개)

Yosef Bisk
Yosef Bisk 2017년 9월 28일
편집: Yosef Bisk 2017년 9월 28일
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)

카테고리

Help CenterFile 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!

Translated by