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 elirion, Today, 01:36 AM
    2 responses
    12 views
    0 likes
    Last Post elirion
    by elirion
     
    Started by DJ888, 04-16-2024, 06:09 PM
    5 responses
    14 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by samish18, Yesterday, 08:31 AM
    4 responses
    14 views
    0 likes
    Last Post elirion
    by elirion
     
    Started by funk10101, Yesterday, 09:43 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by TheWhiteDragon, 01-21-2019, 12:44 PM
    5 responses
    551 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X