trade.rule
to calculate
and return a tradeLog
object. Additional methods can then
be called to evaluate the performance of the model's strategy.tradeModel(x,
signal.threshold = c(0, 0),
leverage = 1,
return.model = TRUE,
plot.model = FALSE,
trade.dates = NULL,
exclude.training = TRUE,
ret.type = c("weeks", "months", "quarters", "years"),
...)
signal.threshold
here~~leverage
here~~return.model
here~~plot.model
here~~trade.dates
here~~exclude.training
here~~ret.type
here~~...
here~~specifyModel
buildModel