Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Simulating next contract

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

    Simulating next contract

    How do I back-test on the next expiry contract? Will the continuous-contract logic work as expected (i.e. each turn-over time it will replace the current contract with the one with the next expiry)?

    For example, I want to back-test a strategy on the 'GE 06-12' Eurodollar contract. Today, (22-Feb-2012), this is not the near-expiry contract (which is the GE 03-12), but the next-expiry one.

    Thanks,
    Boaz

    #2
    Hi Boaz, this would not work with the default continuous contract logic running - as it would know the 06-12 is not the fronth month until March 19...if you would like to use 06-12 data you could set the merge policy for the GE temporarily to DoNotMerge in your Instrument Manager so it would only access this contract then.

    Comment


      #3
      Thanks Bertrand.

      You mentioned the 'default' continuous contract logic. Is there any way to override it - my final goal is to back test the next-expiry contract for 3 years or so.

      Comment


        #4
        boaza,

        There is no way to override this logic. You can however create your own data for a merged contract using whatever criteria you want in a csv file and import it using the historical data manager.

        The continuous contract is the recommended way of backtesting a contract over contract roll-overs.

        Please let me know if I may assist further.
        Adam P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        648 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        574 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X