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

Custom Automatic Strategy not syncing with Playback/Demo Account

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

    Custom Automatic Strategy not syncing with Playback/Demo Account

    Hello Team, I coming across a situation where my custom automatic strategy against an index shows positive P/L in "Strategy Performance". However, when I playback the Historical Data period from the same strategy it seems like the buy and sell execution is way off causing my P/L to disappear.

    Any help is kindly appreciated.

    Thank You
    Lawaris

    #2
    Hello Lawaris,

    Welcome to the NinjaTrader forums!

    Below I am providing a link to a forum post that details differences between real-time, backtest, and playback, and how to write information to file to understand specifically what is causing differences.
    Citizens of the NinjaTrader Community, A common question we hear from clients is 'why are results from backtest different from real-time or from market replay?'. Live orders are filled on an exchange with a trading partner on an agreed upon price based on market dynamics. Backtest orders are not using these market dynamics.


    Key points are the Calculate setting, 1-tick intra-bar granularity, and TickReplay.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Austiner87, Yesterday, 11:24 AM
    2 responses
    12 views
    0 likes
    Last Post brucerobinson  
    Started by Rogers101, 05-05-2024, 11:30 AM
    3 responses
    21 views
    0 likes
    Last Post Rogers101  
    Started by nightstalker, 05-04-2024, 02:05 PM
    5 responses
    54 views
    1 like
    Last Post nightstalker  
    Started by MSerag, Yesterday, 11:52 PM
    0 responses
    11 views
    0 likes
    Last Post MSerag
    by MSerag
     
    Started by DynamicTest, Yesterday, 11:18 PM
    0 responses
    3 views
    0 likes
    Last Post DynamicTest  
    Working...
    X