Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market Replay

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Market Replay

    Hi

    I have a question regarding Market Replay:

    I have downloaded 4 years worth of CL data which I have saved as a long continuous contract (rollover date to rollover date)

    The data runs from 02/01/2020 - 10/10/2024.

    I want to backtest from 10/01/2022 but need the data from 02/01/2020 to be loaded on to the chart because I am using an indicator that "looks back" up to 24 months back from "present" day.

    To create this scenario,is the only way to have the 24 months worth of data on the chart before I start backtesting is
    ​ to have to run Market Playback at maximum speed from starting from 02/01/2020 until I reach 10/01/2022? (this will take hours!!)
    I have tried: 1) using Data Series on the chart to load a certain number of days ending with the date I want to start backtesting from (doesn't work)
    2) using the slider on the player - it keeps bouncing back to the initial start date and time (02/01/2020)
    3) The Go To... function on the player - this takes me to the date I want to start backtesting but does not load the data prior to that date on to the chart

    Any help would be appreciated

    Many thanks
    Mike
    Last edited by MikM45; 10-12-2024, 02:08 PM.

    #2
    Hello MikM45 ,


    Thank you for posting on the NinjaTrader forums.


    To address your inquiry, you don't need to use Market Playback to load historical data before starting your backtest. Instead, you can ensure that your chart loads the necessary historical data prior to the start date of your backtest. Here’s how you can achieve this without running Market Playback:
    1. Adjust Data Series Settings:
      • Right-click on your chart and choose Data Series.
      • In the Days to Load section, specify the number of days to cover the period from 02/01/2020 to your backtest start date of 10/01/2022.
        • For example, to cover 24 months, set the Days to Load to approximately 700 days (or slightly more if you want a buffer).
    2. Backtest Start Date:
      • You can then set your backtest to begin on 10/01/2022 without needing to use Market Playback. NinjaTrader will use the previously loaded historical data from the chart.
    3. Saving and Reloading Data:
      • You can reload all historical data if you believe some of it may be missing by right-clicking on the chart and selecting Reload All Historical Data.

    These steps will ensure that the historical data is available for your backtest, and there’s no need to run the platform continuously in Market Playback mode from 2020.



    Please let us know if there's anything else we can assist with!

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    41 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    37 views
    0 likes
    Last Post CarlTrading  
    Working...
    X