get_returns: get_returns

Description Usage Arguments Details

View source: R/get_returns.R

Description

Creates xts of returns

Usage

1
2
get_returns(x, is_prices = TRUE, roll = 1, halflife = 1,
  is_cumulative = FALSE)

Arguments

x

xts containing prices or returns

is_prices

boolean indicating whether x contains prices or returns

roll

rolling window

halflife

half life as percentage of roll

is_cumulative

boolean indicating whether cumulative return should be computed

Details

xx


mauriciogtec/metodosMultivariados2017 documentation built on May 21, 2019, 1:37 p.m.