Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtest vs. Sim differencies

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

    Backtest vs. Sim differencies

    This week I held an experiment - ran several sim accounts with one strategy per account with an idea to see if it matches backtest data. SO, finally, it's Saturday, trading week is oficially over, I wanted to see if the sim performance matches with backtest (to see how accurate is backtest).

    And, suprisingly, even with fill resulution: high, 1 tick, as seen from screenshot, backtest only entered into 1 trade, while sim account had 4 different trades (see entry date and time, even though you see 13 rows, those are just different fills of the same trade).

    How can this be explained?
    Attached Files

    #2
    Hello UltraNIX,

    Below is a link to a forum post that discusses what causes differences, how to use prints or writing to file to understand what is specifically causing differences in your script, and how to mitigate these differences.
    https://ninjatrader.com/support/foru...mance?t=102504

    Please provide output of the time of the bar and the values used in the conditions that lead to the order, as well as output from TraceOrders and the order object in OnOrderUpdate.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    56 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    133 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X