Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Rollover and automatic strategy

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

    Rollover and automatic strategy

    I’m a beginner and I have created a strategy with strategy builder, the strategy works with daily bars in the ES instrument, my question is:

    If the automatic strategy enters with a Long market order in the ES 06-23 contract, could the strategy continue with the open position at the end of the ES 06-23 contract and continue with the same open position in the next contract ES 09-23?

    Thank you.​

    #2
    No, not in "real life" - you have to roll your positions over manually. In back-testing, yes, unless you have your merge policy set to Do not merge - it would think it is trading the current contract the entire time.

    The cost of rolling over the positions is often underestimated for long-term or even swing trading. It's not just commissions and slippage but also the difference in prices between the two contracts that is at issue and this is often not taken into account by efforts to back-test these kinds of strategies.
    Bruce DeVault
    QuantKey Trading Vendor Services
    NinjaTrader Ecosystem Vendor - QuantKey

    Comment


      #3
      Hello, thanks for writing in. This would require a strategy that uses the Adopt Account Position startup behavior. This is not going to be available to Strategy builder strategies because it requires some extra code to activate the option. Please see here for the documentation:

      Comment


        #4
        Originally posted by QuantKey_Bruce View Post
        No, not in "real life" - you have to roll your positions over manually. In back-testing, yes, unless you have your merge policy set to Do not merge - it would think it is trading the current contract the entire time.

        The cost of rolling over the positions is often underestimated for long-term or even swing trading. It's not just commissions and slippage but also the difference in prices between the two contracts that is at issue and this is often not taken into account by efforts to back-test these kinds of strategies.
        Where could I see the cost of rolling over long-term positions? Or is that directly with my broker or with Ninjatrader?

        Thank you!

        Comment


          #5
          It varies. You would have to basically sell the old contract and buy the new contract. You can try using limit orders but ultimately, you'll have to do it whether you get the limit price or not if you wait until the last day. You'll need to pay commissions, slippage if market orders, and of course because the one you're buying is always higher priced than the one you're selling (for a long position) there is an inherent cost to the transaction.
          Bruce DeVault
          QuantKey Trading Vendor Services
          NinjaTrader Ecosystem Vendor - QuantKey

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          51 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          127 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          69 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X