Understanding the Backtest Settings


The Backtest Settings is used to configure the runtime settings  of your backtests.

 Screen Shot 2018-12-18 at 11.36.46 AM


  • Start Date: Configure the start date of your backtests.  The available start date range will depend on which plan you have purchased.
  • End Date: Configure the end date of your backtests. The available end date range will depend on which plan you have purchased.
  • Initial Cash:  Configure the initial cash balance / size of your starting portfolio.  This amount will be used to calculate ROI metrics and position sizing based on portfolio size.
  • Data Type: Configure which data type to use.  (i.e. End of Day, Intra-Day [5 minutes], etc.)  The available data types will depend on which plan you have purchased.
  • Order Type:  Configure how to execute your orders.
    • Fill Instantly:  Execute orders at the same bar / tick as when a trading signal occurs.
    • Fill At Next Bar: Execute orders at the next bar / tick when a trading signal occurs.
  • Margin ModelConfigure how to calculate the margin used for your trades. This is used for calculating margin-based ROI metrics, as well as position sizing based on available buying power.
  • Fill Orders AtConfigure the opening slippage costs.  Choose whether to fill your opening orders at Mid Price or Natural Price.
  • Close Orders At:  Configure the closing slippage costs.  Choose whether to fill your closing orders at Mid Price or Natural Price.
  • Stock Split ModeConfigure whether to ignore stock splits or abort the backtest when a stock split is detected.
    • In order to properly handle stock splits, your backtest should not have any open positions during a stock split event.
    • To accommodate for stock splits, you can either 1) divide up your backtests into multiple date ranges that avoid the split event date or 2) you can close all open positions prior to the stock split event, and re-establish the positions after the stock split event.
  • Incremental Updates:  Configure whether to receive incremental status updates on your backtests or to receive only the final results at the end of your backtests.  If your browser hangs or runs out of memory during the backtests, you should disable incremental updates.