Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 Balage0922, Today, 07:38 AM
    0 responses
    3 views
    0 likes
    Last Post Balage0922  
    Started by JoMoon2024, Today, 06:56 AM
    0 responses
    6 views
    0 likes
    Last Post JoMoon2024  
    Started by Haiasi, 04-25-2024, 06:53 PM
    2 responses
    19 views
    0 likes
    Last Post Massinisa  
    Started by Creamers, Today, 05:32 AM
    0 responses
    6 views
    0 likes
    Last Post Creamers  
    Started by Segwin, 05-07-2018, 02:15 PM
    12 responses
    1,786 views
    0 likes
    Last Post Leafcutter  
    Working...
    X