calc_target_vol | R Documentation |
Solve weights for a target volatility
calc_target_vol(store, cov_mat, target_vol, tol = 1e-04, max_iter = 10000)
store |
output of |
cov_mat |
covariance matrix |
target_vol |
volatiltiy level to solve for |
tol |
tolerance for volatility solution difference from |
max_iter |
maximum iterations for attempted solution |
weights of target vol portfolio or NA if target vol weights cannot be solved (plus a warning)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.