modify: Lets change arguments of this

Description Usage Arguments Value

View source: R/generics.R

Description

Lets change arguments of this

Change settings in Data

Usage

1
2
3
4
modify(this, ...)

## S3 method for class 'Data'
modify(this, ...)

Arguments

this

Data

...

one of c("period", "currency", "freq", "from", "to", 'columns', 'candles', "na_omit", "na_locf")

* period - input for period argument of xts::to.period function

* currency - currency of the model, all traded instruments will be converted to that currency

* freq - input for k argument of xts::to.period function

* from - start date of downloads

* to - end date of downloads

* tz - timezone

* columns - character vector with elements from c('cl', 'ad', 'op', 'hi', 'lo', 'vo', 'di', 'sp')

* candles - logical, whether save candles of instruments or not in candles slot

* na_locf - logical, whether apply na.locf to cbinded data or not

* na_omit - logical, whether apply na.omit to cbinded traded instruments and then create tables or not. If na_locf argument is TRUE and na_omit is FALSE, then despite of na_omit will be na.locf(fromLast = TRUE) for not to cut initial points where instruments were not existed.

Value

Data object

Data object


Vitalic57/datastorage3pub documentation built on Feb. 22, 2022, 5:34 a.m.