Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting Mulitple Months, Multiple Contracts

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

    Backtesting Mulitple Months, Multiple Contracts

    I want to backtest oil, CL, for an entire year - but with the Backtester I have to select a contract. CL changes every month. How would it be possible to backtest over an entire year?

    #2
    Cl ##-## ?

    Comment


      #3
      Hello reynoldsn,

      Thanks for writing in.

      Sledge is correct, if you data provider supports continuous contracts you may use ##-## for the contract month. However, NinjaTrader has a default merge policy under Tools> Options> Data of MergeBackAdjusted that you should alos just be able to use the current front month and past months data will be merged and adjusted to it.
      BrandonNinjaTrader Customer Service

      Comment


        #4
        I've been using AMP with CQG data - do they support continuous contracts? Are you saying that despite that, I could set MergeBackAdjusted to run the year as well?
        In any event, how will the Backtester pick which day to change contracts?

        Comment


          #5
          Hello reynoldsn,

          Thanks for your reply.

          With NinjaTrader CQG supports historical data for continuous contracts but not realtime. Yes, you may use the current front month with the default merge policy.
          NinjaTrader will over based on the settings under:
          Tools> Instrument Manager
          Select the instrument under Available Master Instruments and press Edit
          Select the Misc tab
          Scroll to the bottom and select Contract Months then press the '...' button
          Now you will see when each contract is set to rollover
          BrandonNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by pibrew, Today, 06:37 AM
          0 responses
          0 views
          0 likes
          Last Post pibrew
          by pibrew
           
          Started by rbeckmann05, Yesterday, 06:48 PM
          1 response
          12 views
          0 likes
          Last Post bltdavid  
          Started by llanqui, Today, 03:53 AM
          0 responses
          6 views
          0 likes
          Last Post llanqui
          by llanqui
           
          Started by burtoninlondon, Today, 12:38 AM
          0 responses
          10 views
          0 likes
          Last Post burtoninlondon  
          Started by AaronKoRn, Yesterday, 09:49 PM
          0 responses
          15 views
          0 likes
          Last Post AaronKoRn  
          Working...
          X