addIndicators: Add multiple indicators to strategy

Description Usage Arguments

View source: R/genericModelStrategy.R

Description

These indicators will be calculated each time when spread updates coefficients indicators must return data.frame or matrix or array

Usage

1
2
3
4
5
addIndicators(this, ...)

## S3 method for class 'modelStrategy'
addIndicators(this, expr, names, as, lookback = 0,
  args = list(), ...)

Arguments

this

model

...

params

expr

expression

names

character vector, names of indicators to include in.

as

character, name of set of indicators

lookback

numeric, periods of time for calculation

args

list, arguments of expression


Vitalic57/stratbuilder2pub documentation built on Dec. 18, 2019, 2:56 a.m.