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 Pattontje, Yesterday, 02:10 PM
    2 responses
    14 views
    0 likes
    Last Post Pattontje  
    Started by flybuzz, 04-21-2024, 04:07 PM
    17 responses
    229 views
    0 likes
    Last Post TradingLoss  
    Started by agclub, 04-21-2024, 08:57 PM
    3 responses
    17 views
    0 likes
    Last Post TradingLoss  
    Started by TradingLoss, 04-21-2024, 04:32 PM
    4 responses
    43 views
    2 likes
    Last Post TradingLoss  
    Started by cre8able, 04-17-2024, 04:16 PM
    6 responses
    56 views
    0 likes
    Last Post cre8able  
    Working...
    X