Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtest vs Market Replay Results

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

    Backtest vs Market Replay Results

    I have a strategy that backtested for the time period of 2/1/12 to 2/29/12 and reported approximately $12,300 in net profit using the 6E 3-12 instrument.

    when I enable the same strategy using market replay for the same time period and same variables, the result is approx $3437.

    What are some reasons I may consider for the $9000 delta?

    #2
    Hello Ironplates,

    Please see the link below that explains why there can be difference in results when backtesting in the Strategy Analyzer and running the strategy on the Market Replay.


    When you backtest, order fills are determined by the OHLC values of a bar. The backtest will only look at the OHLC values and not intrabar. When you run the strategy on the Market Replay with 'Calculate on bar close' set to False, the strategy will submit orders intrabar - the strategy conditions are calculated on each incoming tick.

    I suggest to analyze the trades between the two tests to check where the discrepancies are caused.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    23 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    115 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    68 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    225 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    408 views
    0 likes
    Last Post CaptainJack  
    Working...
    X