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.
    JasonNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by LuckyChillda, Yesterday, 01:15 AM
    3 responses
    27 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by tonynt, 10-01-2024, 07:05 AM
    6 responses
    21 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by NISNOS69, Today, 05:38 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by Trader17, 09-19-2024, 07:21 AM
    12 responses
    48 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by FatCanary, 06-11-2021, 09:11 AM
    32 responses
    1,873 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X