Compute Calendar returns at the monthly and yearly level.
1 | calendar_returns(rets, digits = 3, percent = FALSE)
|
rets |
Daily Return xts object for the asset |
digits |
Number of digits |
percent |
Use Percents or decimals? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.