wt_RiskBudget: Risk Budget Portfolio

Description Usage Arguments Examples

Description

This function solves for risk budge portfolio weights

Usage

1
wt_RiskBudget(covmat, target = NULL, optctrl = ctrl(), ...)

Arguments

covmat

Covariance matrix

target

Target of Risk Budget. The sum of budget should be 1

optctrl

Object of class Rcpp_CTRL.

...

Ellipsis argument is passed down to nlminb().

Examples

1
2
3
4
5
6
7
8
## Not run: 
  ret = asset_data
  R = ret[,c(1,5,9)]
  covmat = cov(R)
  target = c(0.4, 0.3, 0.3)
  weight = RiskBudget(covmat, target)
  
## End(Not run)

hyunyulhenry/HenryQuant documentation built on Nov. 15, 2019, 2:28 a.m.