ret_to_cr | R Documentation |
The cumulative percentage is the addition of subsequent total daily returns.
ret_to_cr(list_of_returns)
list_of_returns |
Vector in dataframe showing returns |
A vector in dataframe format cumulative percentage returns
ret_to_cr(SPYdaily$returns)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.