• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Analyzer data source while playback

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

    Strategy Analyzer data source while playback

    hello,

    i'm curious - what data source does strategy analyzer use when the connection is connected to playback?

    i'm asking b/c i've noticed that the strategy analyzer results are completely different when playback connection is turned ON. so i'm quite certain it's not historical data and it's not market replay data.

    i'm not looking to use market replay data in strategy analyzer but rather trying to find a way to use strategy analyzer on historical data while connected to playback connection b/c some of my market replay test take 6+ hours and it puts me out of commission from being able to do further testing via strategy analyzer

    #2
    Hello staycool3_a, thank you for the post.

    The Strategy Analyzer will use the historical data in your database to run a backtest if you are on the playback connection, or if you are not connected at all. The results you get from a historical backtest should be the same on every run regardless of the connection you are using. The market replay connection was designed to be a backtest in itself, so I would recommend using the strategy analyzer only if you are connected to your data provider.

    Please let me know if I can assist further.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChrisL View Post
      Hello staycool3_a, thank you for the post.

      The Strategy Analyzer will use the historical data in your database to run a backtest if you are on the playback connection, or if you are not connected at all. The results you get from a historical backtest should be the same on every run regardless of the connection you are using. The market replay connection was designed to be a backtest in itself, so I would recommend using the strategy analyzer only if you are connected to your data provider.

      Please let me know if I can assist further.
      then why are these different?

      Look at the starting date of the chart vs the range for the test for the strategy analyzer run during market replay. I have not had the time to look at the actual trades but right off the bat you'll see that there is a difference. I'm running the same exact strategy. One run was done while being connected to only market replay and the other run was done while connected to zero external data connections but using historical data already on the NT8 databse.
      Attached Files

      Comment


        #4
        Originally posted by staycool3_a View Post
        then why are these different?

        Look at the starting date of the chart vs the range for the test for the strategy analyzer run during market replay. I have not had the time to look at the actual trades but right off the bat you'll see that there is a difference. I'm running the same exact strategy. One run was done while being connected to only market replay and the other run was done while connected to zero external data connections but using historical data already on the NT8 databse.
        Just noticed this as well: the strategy analyzer is actually updating prices as my market replay is going forward rather than using historical prices.

        Comment


          #5
          Hello staycool3_a,

          Connecting to the Market Replay changes the internal current date and time.

          This does affect the merging of contracts by rollover date depending on the current date in playback.

          If you set the playback time to today's date and the current time, are the backtest results still different than when you are disconnected or connected to a real-time feed?
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by bomanpbm, Yesterday, 09:27 PM
          0 responses
          2 views
          0 likes
          Last Post bomanpbm  
          Started by tgn55, Yesterday, 08:47 AM
          0 responses
          8 views
          0 likes
          Last Post tgn55
          by tgn55
           
          Started by ballboy11, 05-04-2019, 10:26 AM
          6 responses
          58 views
          0 likes
          Last Post Kermit
          by Kermit
           
          Started by mrlucky1x, 06-14-2019, 10:01 PM
          0 responses
          15 views
          0 likes
          Last Post mrlucky1x  
          Started by roger556, 06-14-2019, 09:22 PM
          0 responses
          8 views
          0 likes
          Last Post roger556  
          Working...
          X