フィルターのクリア

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 Center および File ExchangePortfolio 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