Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How to playback?

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

    How to playback?

    I'm a little confused. There seems to be 2 kinds of data streams for playback:
    - Historical data
    - Market replay

    1. When I go to replay (set connection to playback and strategy account to Playback01), I can choose only Merket replay data I downloaded earlier. There doesn't seem a way to use historical data, if so, what is Historidal Data for?
    2. Downloading Market Replay data is tedious, I can only download 1 day at a time (Tools -> Historical Data -> Get Market Replay -> Choose Instrument -> Choose Data -> Download.
    3. Is there a way to download a range of dates for Market Replay?

    4. Or am I looking at this wrong? Testing for a range of dates should use Control Center -> Tools -> New -> Strategy Analyzer.
    5. Is there a difference between backtesting using the Market Replay vs. Strategy Analyzer?

    Many Thanks, Caesar.

    #2
    I think most of your questions are answered here and here.
    Last edited by bltdavid; 04-16-2023, 01:00 PM.

    Comment


      #3
      Originally posted by Skechers View Post
      3. Is there a way to download a range of dates for Market Replay?
      No, the NinjaTrader product does not have this feature.

      There are, however, 3rd-party products that will sell you this
      ability, along with lots of additional data, for a relatively small
      fee.

      See here and here.

      [EDIT: I think the first is an AddOn, but I've never used it. I
      had a subscription to the 2nd one for several years, but have
      decided to let it go -- it was a separate app, supported both
      NT7 and NT8 replay data at the time (but 7 has been dropped,
      I think). Their app worked great, I just don't need it anymore.]
      Last edited by bltdavid; 04-16-2023, 12:49 AM.

      Comment


        #4
        Originally posted by Skechers View Post
        I'm a little confused. There seems to be 2 kinds of data streams for playback:
        - Historical data
        - Market replay
        Yes, there are two major categories for historical data,
        but only the Market Replay data provides the stream of
        data needed for the Playback Connection.

        When you connect to the Playback Connection --
        The Historical data in the Tick, Minute, and Day folders
        is used to back fill the chart window with historical bars,
        but once you press 'Play', new bars are formed using
        the Market Replay data stored in the Replay folder.

        The only thing that ever uses the Market Replay data
        stored in the Replay folder is the Playback Connection.

        Strategy Analyzer always uses Historical data stored
        in the Tick, Minute, and/or Day folders, depending on the
        bar type(s) being used. If data is not found there, an
        attempt is made to download the necessary data from
        your brokerage connection.

        A chart window always populates the older historical
        bars using Historical data, preferably from disk, such
        as the 'cache' folder first, then the Tick, Minute, and.or
        Day folders, depending upon bar type. If data is not
        found there, an attempt is made to download the
        necessary data from your brokerage connection.​

        When downloading Historical data from your broker
        connection, your preferred connection is used first.
        Last edited by bltdavid; 04-16-2023, 12:58 PM.

        Comment


          #5
          Many Thanks!

          Comment


            #6
            Hello Caesar,

            Thanks for your post.

            Either Historical Data or Market Replay data could be used with the Playback connection. Typically, you will want to use Market Replay data with the Playback connection, otherwise, historical tick data would need to be used.

            Playback with Market Replay data allows you to play back the data as if it were running in realtime.

            To use the Playback connection, you must first download Market Replay data from the Tools > Historical Data > Get market replay data section of the Historical data window. Note that only 1 day of Market Replay data is able to be downloaded at a time.

            Downloading Market Replay data: https://ninjatrader.com/support/help...jaTraderserver

            Once you have downloaded the Market Replay data you want to use, connect to the Playback connection and open a New > Chart window for the instrument you downloaded data for.

            To start playing back the data, press the play button on the Playback window.

            See this help guide page for more information about using the Playback connection: https://ninjatrader.com/support/help...connection.htm

            The Strategy Analyzer is different from the Playback connection. The Strategy Analyzer only uses Historical Data and allows you to backtest or optimize a strategy on the historical data.

            Working with the Strategy Analyzer: https://ninjatrader.com/support/help...y_analyzer.htm
            Brandon H.NinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_BrandonH View Post
              Either Historical Data or Market Replay data could be used with the Playback connection. Typically, you will want to use Market Replay data with the Playback connection, otherwise, historical tick data would need to be used.
              Ah, I stand corrected. I found that documented here.

              I'll update my whirlwind of posts regarding Market Replay data shortly.

              I need to brush up a bit, sometimes my NT7 expertise still clouds my
              journey to NT8 mastery.

              Thanks!



              Comment


                #8
                Originally posted by NinjaTrader_BrandonH View Post
                Hello Caesar,
                Either Historical Data or Market Replay data could be used with the Playback connection. Typically, you will want to use Market Replay data with the Playback connection, otherwise, historical tick data would need to be used.

                Playback with Market Replay data allows you to play back the data as if it were running in realtime.
                I got Market Replay working. How would I use Historical data with Playback?

                Also, which one is more accurate, it would seem the Market Replay is more accurate?

                Many Thanks, Caesar.

                Comment


                  #9
                  Hello Caesar,

                  Thanks for your note.

                  Using Market Replay data with the Playback connection would be more accurate than using Historical data.

                  That said, you could download Historical tick data in the Historical Data window to use with the Playback connection. After downloading Historical tick data for the instrument you want to test, connect to the Playback connection. In the Playback window, select the 'Historical' button to use Historical data with Playback.

                  See this help guide page for more information: https://ninjatrader.com/support/help...ePlaybackWorks
                  Brandon H.NinjaTrader Customer Service

                  Comment


                    #10
                    Thanks Brandon, very helpful! I see Historical in the Playback dialog now.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by Option Whisperer, Today, 09:55 AM
                    0 responses
                    4 views
                    0 likes
                    Last Post Option Whisperer  
                    Started by geddyisodin, 04-25-2024, 05:20 AM
                    8 responses
                    58 views
                    0 likes
                    Last Post NinjaTrader_Gaby  
                    Started by halgo_boulder, 04-20-2024, 08:44 AM
                    2 responses
                    22 views
                    0 likes
                    Last Post halgo_boulder  
                    Started by mishhh, 05-25-2010, 08:54 AM
                    19 responses
                    6,189 views
                    0 likes
                    Last Post rene69851  
                    Started by gwenael, Today, 09:29 AM
                    0 responses
                    5 views
                    0 likes
                    Last Post gwenael
                    by gwenael
                     
                    Working...
                    X