calc_target_vol: Solve weights for a target volatility

View source: R/cla.R

calc_target_volR Documentation

Solve weights for a target volatility

Description

Solve weights for a target volatility

Usage

calc_target_vol(store, cov_mat, target_vol, tol = 1e-04, max_iter = 10000)

Arguments

store

output of run_cla

cov_mat

covariance matrix

target_vol

volatiltiy level to solve for

tol

tolerance for volatility solution difference from target_vol

max_iter

maximum iterations for attempted solution

Value

weights of target vol portfolio or NA if target vol weights cannot be solved (plus a warning)


alejandro-sotolongo/CriticalLineAlgo documentation built on June 1, 2024, 1:18 p.m.