View source: R/genericStrategy.R
perform | R Documentation |
Simulate strategy
perform( this, start, end, closeAllPositionsAtTheEnd, index, install, calc_reports, ... )
this |
Strategy |
start |
numeric / Date / character, index of modelData where calculation starts |
end |
numeric / Date / character, index of modelData whre calculation ends |
closeAllPositionsAtTheEnd |
bool, if true, then strategy closes all positions at the end of simulation |
index |
numeric, index of backtesting param |
install |
logical, install params in this model or create new one |
calc_reports |
logical whether calculate reports right after backtest or not |
... |
args |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.