run_backtest | R Documentation |
Helper function to run the backtest
run_backtest(symbol, data, strat, cost = 0, qty = 1, ...)
symbol |
name of the dataset or symbol |
data |
OHLC data |
strat |
strategy list object |
cost |
cost for each trade |
qty |
qty for the order |
... |
other arguments for 'backtest' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.