Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

backtesting

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

    backtesting

    I want to back test a strategy but I want to use the contract I would have traded for the month I'm testing... how do I set NT8 to change the contract over a 6 month rolling period.

    #2
    Hello abdullah,

    NinjaTrader is setup by default to load historical data for the expiry month that was the front month upon backtesting. I assume 'Global merge policy' is set to 'Merge back adjusted' at Control Center-->Tools-->Options-->Market data.

    Historical data is loaded as per the rollover dates setup. You can find rollover dates in NinjaTrader 8 as follows.

    Go to Control Center-->Tools-->Instruments.

    Double click a futures instrument.

    Scroll to the bottom in the new window that opens up.

    Click the Contract months field and another window opens up.

    The new window shows all expiry months and their rollover dates.


    For example, the ES uses the following rollover dates:

    12-17 - September 7th 2017
    09-17 - June 8th 2017
    06-17 - March 9th 2017
    03-17 - December 8th 2016

    This means that between September 7th and June 8th, historical data for the 09-17 expiry month is loaded. 06-17 historical data is loaded between June 8th and March 9th and so on.
    JasonNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by nandhumca, Yesterday, 03:41 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by The_Sec, Yesterday, 03:37 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by vecnopus, Today, 06:15 AM
    0 responses
    1 view
    0 likes
    Last Post vecnopus  
    Started by Aviram Y, Today, 05:29 AM
    0 responses
    5 views
    0 likes
    Last Post Aviram Y  
    Started by quantismo, 04-17-2024, 05:13 PM
    3 responses
    27 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X