Description Usage Arguments Details Author(s) See Also
initStrategy
will run a series of common
initialization functions at the beginning of an
applyStrategy
call.
1 2 3 |
strategy |
object of type |
portfolio |
portfolio |
symbols |
symbols |
parameters |
named list of parameters to be applied during evaluation of the strategy, default NULL |
get.Symbols |
TRUE/FALSE, default TRUE |
init.Portf |
TRUE/FALSE, default TRUE |
init.Acct |
TRUE/FALSE, default TRUE |
init.Orders |
TRUE/FALSE, default TRUE |
unique |
TRUE/FALSE, default TRUE |
... |
any other passthrough parameters |
if TRUE, will call
getSymbols
on all symbols included
in the symbols
vector
if TRUE,
will call initPortf
to initialize
the portfolio object
if TRUE, will call
initAcct
to initialize the account
object
if TRUE, will call
initOrders
to initialize the order book for
this test
not yet implemented, will force a unique portfolio and account name if the portfolio, account, or order book already exist
Garrett See, Brian Peterson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.