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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    80 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X