Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimization spanning more than one futures contract

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

    Optimization spanning more than one futures contract

    Can I run an optimization in Strategy Analyzer that spans a time period over which more than a single futures contract will have been the "current contract", and so that the optimization outputs performance results of the strategy combining whatever was front-month contract at each time (rather than performance results over each front-month contract individually)?

    I hope that makes sense ...
    Last edited by AnotherTrader; 11-16-2012, 10:51 AM.

    #2
    Originally posted by AnotherTrader View Post
    Can I run an optimization in Strategy Analyzer that spans a time period over which more than a single futures contract will have been the "current contract", and so that the optimization outputs performance results of the strategy combining whatever was front-month contract at each time (rather than performance results over each front-month contract individually)?

    I hope that makes sense ...
    Is that what "Aggregated" is for?

    Comment


      #3
      I guess I'm not sure I follow - can you give me an example of what you'd like to do?
      MatthewNinjaTrader Product Management

      Comment


        #4
        Originally posted by NinjaTrader_Matthew View Post
        I guess I'm not sure I follow - can you give me an example of what you'd like to do?
        Sure, no problem.

        I have an intraday custom strategy that trades on the ES and I want to do a 12-month optimization.

        Over these last 12-months, the front month ES contracts were (at different times) ES 12-12, ES 09-12, ES 06-12, ES 03-12, and ES 12-11.

        I have these contracts in a list in the Instrument Manager, and I can run the optimization over the list.

        What I want as a result of the optimization is to find the best set of parameters over the whole 12-months ... not just for say ES 12-12 during the time that it was the front month contract ...

        Is that what setting Aggregate = "true" will give me?

        Or should I add "##-##" to the Instrument list?

        Is that clearer?
        Last edited by AnotherTrader; 11-16-2012, 11:38 AM.

        Comment


          #5
          Originally posted by AnotherTrader View Post
          Can I run an optimization in Strategy Analyzer that spans a time period over which more than a single futures contract will have been the "current contract", and so that the optimization outputs performance results of the strategy combining whatever was front-month contract at each time (rather than performance results over each front-month contract individually)?

          I hope that makes sense ...
          This is done by default ; you specify the current front month but ninja uses the corresponding contract to each date of the test. Assuming you have the defaults ( Merge policy = MergeBackAdjusted )

          Regards,
          Pablo
          pmaglio
          NinjaTrader Ecosystem Vendor - The Indicator Store

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by TAJTrades, Today, 09:46 AM
          0 responses
          2 views
          0 likes
          Last Post TAJTrades  
          Started by rhyminkevin, Yesterday, 04:58 PM
          5 responses
          62 views
          0 likes
          Last Post dp8282
          by dp8282
           
          Started by realblubb, Today, 09:28 AM
          0 responses
          4 views
          0 likes
          Last Post realblubb  
          Started by AaronKoRn, Yesterday, 09:49 PM
          1 response
          19 views
          0 likes
          Last Post Rikazkhan007  
          Started by ageeholdings, Today, 07:43 AM
          0 responses
          12 views
          0 likes
          Last Post ageeholdings  
          Working...
          X