extract the risk value when knowing the weights
extract_risk(R, w, ES_alpha = 0.05, CSM_alpha = 0.05, moment_setting = NULL)
an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns
the weight of the portfolio
the default value is 0.05, but could be specified as any value between 0 and 1
the default value is 0.05, but could be specified as any value between 0 and 1
the default is NULL, should provide moment_setting=list(mu=, sigma=) if customize momentFUN