Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Future instrument selection in Strategy Analyzer

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

    Future instrument selection in Strategy Analyzer

    Hi,
    when analyzing a strategy with a future instrument, over a longer period of time than a future-contract (FDAX 06-20 ; FDAX 09-20; etc.)may goes, I recognized I'd need to span all the future-contracts of that angepeilte period ...

    Is there a way to merge multiple future-contracts into one future-instrument for this cause ?


    Click image for larger version  Name:	Image_2021-05-09_10-37-58_1620549478.jpg Views:	0 Size:	48.0 KB ID:	1155287

    Regards,
    Frank

    Last edited by Frank1000; 05-09-2021, 03:41 AM.

    #2
    Hi Frank1000,
    Which merge policy do you use?
    Control -> Options -> Market Data -> Global Merge Policy ...?
    Most use "merge back adjusted". If you do, the price points for earlier futures are backadjusted to eliminate rollover gaps/effects. If you backtest period is long, it can includes multiple roll adjustments, always starting from the most current going backwards.
    NT-Roland

    Comment


      #3
      Hi Roland,
      thanks for info. Ok i c, I now wanted to select the current FDAX 03-21 future for my backtesting & optimizing, but it is not cmg up in the dropdown of the Strat-Analyzer. Do I have to pre-loead it in a way ? I remember slighly there was such a thing, but can't figure it out rt now.

      Comment


        #4
        Hi Frank1000,
        The current FDAX is 06-21. The FDAX 03-21 stopped trading. Which data provider do you use?
        You should be able to open a chart for FDAX 06-21, then put your cursor right before 06-21 and change it to 03-21, 12-20 or whatever. If your data subscription includes historic data, the respective future should load. If you then go to your strategy in strategy analyzer, you should be able to pick the respective expired future. However, if you do that and then run a backtest, the backtest will stop at the last day this instrument really traded (even if you say, please run the backtest until today). Thus, each future can only go backwards, not forwards.
        NT-Roland

        Comment


          #5
          Hello Frank1000,

          Please see this post on the merge policy.


          You can manually type a different contract month. You can also just leave the current contract month and set the dates to the proper from and to dates, and NinjaTrader will automatically load the data from the correct contract month based on the rollover dates.

          NT-Roland thank you for your assistance and information.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            ok cool, getting the data now )
            I'm still running on My Continuum, works well with my strategy testing here.

            Thank you

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by alifarahani, Today, 09:40 AM
            0 responses
            2 views
            0 likes
            Last Post alifarahani  
            Started by Gerik, Today, 09:40 AM
            0 responses
            1 view
            0 likes
            Last Post Gerik
            by Gerik
             
            Started by RookieTrader, Today, 09:37 AM
            0 responses
            5 views
            0 likes
            Last Post RookieTrader  
            Started by KennyK, 05-29-2017, 02:02 AM
            3 responses
            1,282 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by AttiM, 02-14-2024, 05:20 PM
            11 responses
            184 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X