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

backtesting futures - adjustment

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

    backtesting futures - adjustment

    I saw a Youtube video on advanced strategy development which showed a few options back adjustment, no adjustment etc for futures trading.

    Suppose I want to do an adjustment while backtesting futures data, is there a place where I can specify my own adjustment rules, e.g. suppose I want to rollover say N days before maturity/ expiry for a particular market?

    #2
    Hello,

    Thanks for your post.

    This would not be something that would be available to change in the Strategy Analyzer. If you'd like to adjust the rollover dates for any contracts, the only option would be to add your own rollover dates in the Instrument Manager or to use time checks in your logic for specific dates.
    Drew O.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_DrewO View Post
      Hello,

      Thanks for your post.

      This would not be something that would be available to change in the Strategy Analyzer. If you'd like to adjust the rollover dates for any contracts, the only option would be to add your own rollover dates in the Instrument Manager or to use time checks in your logic for specific dates.
      Hi Drew, thanks for the answer. Would you have any information or link about what is the default rollover date assumptions used for contract adjustments particularly for some of the major contracts like ES, CL, GC, etc?

      Comment


        #4
        Hello,

        Thanks for your note.

        NinjaTrader comes set up with expiratiosn based on the typical rollover date of years past.

        You can view an instruments default rollover configuratrion in the Instrument Manager. This can be found under Tools -> Instrument Manager -> Search for the instrument by name or description -> Select the instrument once found -> Edit. Inside the Edit window, click the "Misc" tab and scroll to the very bottom. Select "Contract months" and then press the "..." button that appears.
        Drew O.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_DrewO View Post
          Hello,

          Thanks for your note.

          NinjaTrader comes set up with expiratiosn based on the typical rollover date of years past.

          You can view an instruments default rollover configuratrion in the Instrument Manager. This can be found under Tools -> Instrument Manager -> Search for the instrument by name or description -> Select the instrument once found -> Edit. Inside the Edit window, click the "Misc" tab and scroll to the very bottom. Select "Contract months" and then press the "..." button that appears.

          Thanks Drew. One more question, when I click on the "..." and looked at the rollover dates, some of the them have an "Offset" value. What does the "Offset" value stand for?

          Comment


            #6
            Hello,

            The offset is the value that NinjaTrader uses to merge the past historical data to ensure a smooth flow of data. The offset value refers to the difference between the last price of the previous contract, and the open price of the next contract on the specified day for rollover.
            Drew O.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by frankthearm, Today, 09:08 AM
            10 responses
            35 views
            0 likes
            Last Post frankthearm  
            Started by GwFutures1988, Today, 02:48 PM
            0 responses
            2 views
            0 likes
            Last Post GwFutures1988  
            Started by mmenigma, Today, 02:22 PM
            1 response
            3 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by NRITV, Today, 01:15 PM
            2 responses
            9 views
            0 likes
            Last Post NRITV
            by NRITV
             
            Started by maybeimnotrader, Yesterday, 05:46 PM
            5 responses
            28 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X