get_sdRet_from_dlyChg: get_sdRet_from_dlyChg

Description Usage Arguments

View source: R/optimist.R

Description

computes standard deviation of returns

Usage

1
2
get_sdRet_from_dlyChg(dlyChg, method = "arithmetic", halflife = NULL,
  interval = c(1e-06, 0.999999), annualization_factor = 1)

Arguments

dlyChg

xts that contains daily changes

method

either 'arithmetic' or 'geometric'

halflife

number of days that accumulate 0.5 density

interval

as in uniroot

annualization_factor

in days (252 days in a year)


audiracmichelle/optimist documentation built on Aug. 21, 2019, 7:55 p.m.