initStrategy
will run a series of common
initialization functions at the beginning of an
applyStrategy
call.
initStrategy(strategy, portfolio, symbols, parameters = NULL, get.Symbols = TRUE, init.Portf = TRUE, init.Acct = TRUE, init.Orders = TRUE, unique = TRUE, ...)
strategy
to
initialize data/containers forgetSymbols
on all symbols included
in the symbols
vectorinitPortf
to initialize
the portfolio objectinitAcct
to initialize the account
objectinitOrders
to initialize the order book for
this testapplyStrategy
, add.init
,