Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Discrepancies Between Backtest and Real Life Algorithmic Calculations

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

    Discrepancies Between Backtest and Real Life Algorithmic Calculations

    Hi,

    We have an automated strategy built in house for our prop desk, and the original developer who built it as well as our own investigation has failed to address the following problem so I'm looking for a Ninja Trader expert who can solve the discrepancy:

    We have a certain parameter set that alternates depending on the consecutive number of bearish or bullish days. This is calculated correctly during live conditions; however the backtest sometimes misreads the number of bullish and bearish days and applies different paremeters.

    Similar problem also exists when we introduce a time delay to our order entries. Normally this should effect only the timing, however order entry levels are also affected during the backtest.

    Anyone who can take a look at our strategy under an NDA and solve these issues asap would be hugely appreciated...


    Warm Regards,
    Vispilio

    #2
    Hello Vispilio,

    Thank you for your inquiry.

    I would suggest taking a look at the "Discrepancies: Real-Time vs Backtest" section of the NinjaTrader help guide for further information about why there are different results when backtesting a strategy and when running it real-time through a live brokerage account, live market simulation, Market Replay, etc: http://ninjatrader.com/support/helpG...ime_vs_bac.htm

    Please, let us know if we may be of further assistance.
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      Hi Zachary,

      We've already gone through that link and introduced custom modifications to make the backtest resemble reality as closely as possible. In fact, that's why a lot of developers are at a loss now of fixing problems like this because scripts get increasingly more complicated to account for inherent discrepancies of Ninja Trader backtest methodology.

      If you have anyone who can take a look at our algo after signing NDA from your team, that would be hugely appreciated. We intend to use Ninja Trader platform as the backbone of our Fund Management enterprise; however the technical shortcomings of your backtest functionality make it very difficult to create precise simulations...

      Comment


        #4
        Hello Vispilio,

        We would be unable to sign a NDA.

        Can you please provide a simplified strategy script that can reproduce what you are seeing so we may test on our end?
        Zachary G.NinjaTrader Customer Service

        Comment


          #5
          Hi,

          ok I will try to forward you a simplified version, which e-mail address should I send it ?

          Can we at least insure that only the developer sees it, I don't want to mail the strategy to general supports so an unlimited number of people has access to it ?

          Basically the issue is we have a order trigger delay in minutes, yet we don't see this behavior exhibited correctly on the backtest, yet it sort of works in real life.

          We haven't been able to identify so far whether this is a bug in the strategy or whether Ninja Trader backtest algo just can't seem to process correctly a trigger delay, even if it's expressed in minutes (to make sure the minute granularity is respected...)

          Let me know..

          Best,
          Vispilio

          Comment


            #6
            Hello Vispilio,

            Is the trigger delay based on a System.Windows.Forms.Timer?
            If so, in backtesting the Timer is not going to work as it would in real-time.

            The support team works as one, so a script that you send us can be reviewed by any member on the team. If you prefer not to send the file, that is understandable and respected.
            So, let's see what other steps we can take here. Please answer the question on Timers above.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by stafe, 04-15-2024, 08:34 PM
            10 responses
            42 views
            0 likes
            Last Post stafe
            by stafe
             
            Started by frslvr, 04-11-2024, 07:26 AM
            7 responses
            111 views
            1 like
            Last Post caryc123  
            Started by rocketman7, Today, 09:41 AM
            3 responses
            8 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by traderqz, Today, 09:44 AM
            2 responses
            5 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by rocketman7, Today, 02:12 AM
            7 responses
            31 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X