This function is the wrapper that holds together the execution of a strategy with rebalancing rules.
applyStrategy.rebalancing(strategy, portfolios, mktdata = NULL,
parameters = NULL, ..., verbose = TRUE, symbols = NULL,
initStrat = FALSE, updateStrat = FALSE)
an object of type 'strategy' or the name of a stored strategy to apply
a list of portfolios to apply the strategy to
an xts object containing market data. depending on indicators, may need to be in OHLCV or BBO formats, default NULL
named list of parameters to be applied during evaluation of the strategy, default NULL
any other passthru parameters
if TRUE, return output list
character vector identifying symbols to initialize a portfolio for, default NULL
whether to use (experimental) initialization code, default FALSE
whether to use (experimental) wrapup code, default FALSE
strategy
, applyIndicators
,
applySignals
, applyRules
,
initStrategy
, applyStrategy