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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    77 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    27 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    62 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X