Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Tick Replay

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

    Tick Replay

    On the right of Strategy Analyzer is a checkbox called Tick Replay. By default, it is false.

    What would be the difference of using Tick Replay and using Market Replay?

    Click image for larger version

Name:	image.png
Views:	158
Size:	15.0 KB
ID:	1333025

    #2
    Hello reynoldsn,

    Playback with Market Replay data plays back as real-time.

    TickReplay effects historical. This allows OnBarUpdate() to update for every price change with OnPriceChange or every tick with OnEachTick when State is State.Historical.

    Further reading about TickReplay.


    Join the official NinjaScript Developer Community for comprehensive resources, documentation, and community support. Build custom indicators and automated strategies for the NinjaTrader platforms with our extensive guides and APIs.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hmm..really good to know.

      I am trying to move to bar data instead of market replay.
      Trying to use Strategy Analyzer, I usually don't include Tick Interval when downloading Historical data, but I might start trying along with OnEachTick.

      I know your Historical data goes back quite a few years - does that include the Tick interval?

      Click image for larger version

Name:	image.png
Views:	153
Size:	19.2 KB
ID:	1333365

      Comment


        #4
        Hello reynoldsn,

        The NinjaTrader connection (to NinjaTrader Brokerage) offers:
        1 year of historical tick data
        Minute historical data as far back as recorded per instrument (typically 10 years)
        Day historical data as far back as recorded per instrument (typically 10 years)

        If the historical data is insufficient, you may want to look into a 3rd party such as tickData,com or cqgdatafactory.

        Below is a link to a google search.
        historical tick data - Google Search

        Also, below is a link to the help guide on the file name and content format for importing.
        Help guide: Operations > Historical Data > Importing
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          And when you use the term "historical" data, that would be the type of data that gets used by Strategy Analyzer, is that right?

          Comment


            #6
            Hello reynoldsn,

            That is correct. Historical data is used for backtesting and is also what back fills a chart when you first open it, before real-time data begins streaming.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Just one more follow up...

              Using Strategy Analyzer and referring to Tick Replay under Data Series.

              Does clicking Tick Replay mean level 2 data is used?

              Also, I would think that if a strategy is using
              • Calculate.OnEachTick
              • Calculate.OnPriceChange

              that one would want to use Tick Replay.

              Would those be the primary reasons to check TIck Replay?

              Comment


                #8
                Hello reynoldsn,

                No, TickReplay consists only of level 1 Last tick data.

                TickReplay would be used to allow Calculate for each tick or price change in historical.

                If you are using Calculate.OnPriceChange or Calculate.OnEachTick and you want this to be effective in historical, enable TickReplay.
                Chelsea B.NinjaTrader Customer Service

                Comment


                  #9
                  I really appreciate your help, Chelsea.

                  I've been doing a lot of NT development lately and as I get a little better with results, I keep questioning myself that I'm doing something wrong with the data.

                  For years, I always used Market Replay but over the long haul that is just not practical for doing long time period testing. And I always had a feel that Market Replay is close to "real-time". That led me down the road of trying to understand how Strategy Analyzer consumes data.

                  Again, you've been very helpful.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by NullPointStrategies, Today, 05:17 AM
                  0 responses
                  53 views
                  0 likes
                  Last Post NullPointStrategies  
                  Started by argusthome, 03-08-2026, 10:06 AM
                  0 responses
                  130 views
                  0 likes
                  Last Post argusthome  
                  Started by NabilKhattabi, 03-06-2026, 11:18 AM
                  0 responses
                  70 views
                  0 likes
                  Last Post NabilKhattabi  
                  Started by Deep42, 03-06-2026, 12:28 AM
                  0 responses
                  44 views
                  0 likes
                  Last Post Deep42
                  by Deep42
                   
                  Started by TheRealMorford, 03-05-2026, 06:15 PM
                  0 responses
                  49 views
                  0 likes
                  Last Post TheRealMorford  
                  Working...
                  X