applyStrategy(strategy, portfolios, mktdata = NULL, parameters = NULL, ..., debug = FALSE, symbols = NULL, initStrat = FALSE, updateStrat = FALSE, gc = FALSE, delorders = FALSE)
gc
after each
symbol run, default FALSE (experimental)The symbols to be utilized will be defined in one of two
ways, either by specifying a name of a portfolio that has
already been initialized with the portfolios
argument, or be specifying a symbols
argument in
addition to setting initStrat=TRUE
.
applyStrategy
will use the R core function
get
to load market data for each symbol
during stategy evaluation unless the user passes
mktdata
in the call to applyStrategy
strategy
, applyIndicators
,
applySignals
, applyRules
,
initStrategy
,