ret_to_cr: Total return to cumulative return

View source: R/avfintools.R

ret_to_crR Documentation

Total return to cumulative return

Description

The cumulative percentage is the addition of subsequent total daily returns.

Usage

ret_to_cr(list_of_returns)

Arguments

list_of_returns

Vector in dataframe showing returns

Value

A vector in dataframe format cumulative percentage returns

Examples

ret_to_cr(SPYdaily$returns)

avfintools documentation built on Oct. 6, 2022, 5:14 p.m.