initSymbol: Run standard and custom symbol initialization functions

Description Usage Arguments Details

View source: R/initialize.R

Description

initSymbol will load a symbol and run user-defined functions to pre-process the symbol's data before constructing indicators.

Usage

1

Arguments

strategy

an object (or the name of an object) of type 'strategy' to add the init function definition to

symbol

symbol

...

any other passthrough parameters

Details

The custom initialization must be defined as named list containing

name

function name

argument

list of arguments

enabled

TRUE or FALSE

and included as the slot init_symbol of the strategy object.


cloudcell/quantstrat documentation built on May 13, 2019, 8:03 p.m.