Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Continuous Futures contracts and Merge setting

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

    Continuous Futures contracts and Merge setting

    I would like to confirm my understanding and get some more information on this topic.

    Firstly, from my readings the continuous futures contract is denoted with a ##-## contract e.g., ES ##-##. Further, this is only useful if the Data Provider provides a continuous contract i.e., with this contract specification NT is just displaying whatever the Data Provider says is the Continuous contract data.

    In regards to the Merge policies, what is the rule being used to determine whether a bar is taken from contract A or contract B. I can think of several possible rules such as
    - when Contract A expiry date reached
    - when Contract A first notice date reached
    - first time Contract B volume is greater than contract A
    - always select the Contract with the highest volume (i.e., could go A, B, A, B, B...)

    Finally, I am having trouble understanding the difference between MergeBackAdjusted and MergeNonBackAdjusted. The former uses an Offset value but what this is and how it is used is not explained.

    #2
    Hello GlennL,

    As long as you request enough historical data, NinjaTrader will merge historical data from previous expiry months as per the rollover dates that are setup.

    You can find the rollover dates as follows. Please go to Control Center-->Tools-->Instrument Manager. Highlight the instrument in the 'Available master instruments' section and click Edit. Select the Misc-tab and scroll to the bottom. Select the 'Contract months' row and click the '...' button that appears. A new window will open up which will list the expiry months with the rollover date.

    The offset value is the difference between the two expiry months. It eliminates the gap between the two expiry months, because there is a price difference between the two expiry months. All historical data from the previous expiry month is adjusted by the offset value.
    JasonNinjaTrader Customer Service

    Comment


      #3
      Thanks for that explanation.
      Can you tell me where the Rollover dates stored in NT come from? As an example for the SPI 09-15 contract on the SFE, the rollover date in NT was set to 12thJune. Where has that date come from?
      Secondly, if NT is displaying a continuous/merged contract, is there a way NT can automatically highlight when it is rolling over from one contract to the next e.g., can it draw a line? I though it would also be evident in the Data Box but it is not.
      Last edited by GlennL; 06-22-2015, 10:20 PM.

      Comment


        #4
        Hello Glenn,

        The rollover dates are loaded from our server.

        Unfortunately this is not supported.
        JasonNinjaTrader Customer Service

        Comment


          #5
          Originally posted by GlennL View Post
          Thanks for that explanation.
          Can you tell me where the Rollover dates stored in NT come from? As an example for the SPI 09-15 contract on the SFE, the rollover date in NT was set to 12thJune. Where has that date come from?
          Secondly, if NT is displaying a continuous/merged contract, is there a way NT can automatically highlight when it is rolling over from one contract to the next e.g., can it draw a line? I though it would also be evident in the Data Box but it is not.

          There are rollover indicators available here, which should do what you look for:


          Silvester17, I tried the Rollover Indications, it works perfect. However, seems like the dates are hard coded and it would only print to the end of 2014, there is no provisions for years past 2014. How the rollovers past 2014 are handled (I have not looked at the code yet)? A couple of questions: Can the code be modified to print calendar events such as 5:30 of first Fridays of the month into future or print events based on a formula like the MoonPhase, or other fixed calendar events like holidays, EIA …

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by DJ888, 04-16-2024, 06:09 PM
          3 responses
          10 views
          0 likes
          Last Post NinjaTrader_Erick  
          Started by RookieTrader, Today, 07:41 AM
          0 responses
          2 views
          0 likes
          Last Post RookieTrader  
          Started by maybeimnotrader, Yesterday, 05:46 PM
          1 response
          18 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by Perr0Grande, Yesterday, 08:16 PM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by f.saeidi, Yesterday, 08:12 AM
          3 responses
          26 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Working...
          X