Description Usage Arguments Value
Calculate periodic return betweem two dates
1 | cal_ret(ret, date_start, date_end, freq)
|
ret |
data.frame containing return time-series |
date_start |
return starting date |
date_end |
return ending date |
freq |
to annualize returns for dates longer than 1 year apart |
numeric vector of return(s)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.