Skip to content

Knowledge Base

Help Center articles

Data Horizon

Controls the data range used for backtesting.

  • max_data_bars: Maximum number of bars to load for backtesting.
    Example: max_data_bars = 100000
  • use_data_start: Defines whether to set a specific start date for the data.
    Example: use_data_start = false
  • data_start: Start date for the data, if applicable.
    Example: data_start = "01 Jan 2020 00:00 UTC"
  • Similar options: use_data_end, use_trade_start, data_end, trade_start.
Rate and review
HelpfulNot helpful