Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

profit discrepancy in strategy analyzer and market replay

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

    profit discrepancy in strategy analyzer and market replay

    I use the same strategy to backtest both in strategy analyzer and market replay. The data is 100 tick for one day. The total profit in strategy analyzer is $62k, while market replay shows $36k. Which one should I trust?

    #2
    Hello Playdc,

    May I confirm you have properly implemented 1-tick intra-bar granularity (and TickReplay if not using Calculate.OnBarClose) for accurate results?

    Below is a link to a support article on comparing strategy results.


    In general Playback with Market Replay data will be more accurate than a backtest, however with 1-tick intra-bar granularity and TickReplay the differences would be minimal and either may be closer to live performance.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea,

      I still have two questions:

      1. where could I setup 1-tick intra-bar granularity?

      2. Since if the condition meet, I would buy or sell at the open of next bar, I am a little confused why 1-tick intra-bar granularity could help to emulate the real order filled price, is the open price of a bar not the real open price?

      Comment


        #4
        Hello Playdc,

        The Improving backtest order fill accuracy with intra-bar granularity​ guide linked in the Comparing Strategy Results guide linked from post # 2 provides direction for implementing 1-tick intra-bar granularity.

        If the Calculate setting is OnBarClose, you could also choose to set Order Fill Resolution to High 1 tick.


        It would depend on the order types being used.

        Market orders would fill at the open of the next bar in historical and backtest if submitted after bar close.

        Stop and limit orders that fill intra-bar in real-time would fill at the bar close in historical which would a different time and likely a different price.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        87 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        132 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        65 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        118 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        67 views
        0 likes
        Last Post PaulMohn  
        Working...
        X