compute.lagged.ret: Compute lagged returns Compute lagged return each day up to a...

Description Usage Arguments Value

Description

Compute lagged returns Compute lagged return each day up to a specified lag

Usage

1
compute.lagged.ret(prices, max.lag = 120, loading = T, volume = T)

Arguments

prices

OLHCV prices series; xts

max.lag

indicates how far back lagged returns should be computed

loading

logical telling if loading bar should be displayed

volume

logical indicating if volume should be added

Value

xts with one column per lag. Index is same as index of prices.


pierrecattin/thesis-resources documentation built on May 4, 2019, 8:42 a.m.