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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    307 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    199 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    186 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    275 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    229 views
    0 likes
    Last Post CarlTrading  
    Working...
    X