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 inanazsocial, Today, 01:15 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by rocketman7, Today, 02:12 AM
    0 responses
    10 views
    0 likes
    Last Post rocketman7  
    Started by dustydbayer, Today, 01:59 AM
    0 responses
    2 views
    0 likes
    Last Post dustydbayer  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    5 responses
    23 views
    0 likes
    Last Post trilliantrader  
    Started by Davidtowleii, Today, 12:15 AM
    0 responses
    3 views
    0 likes
    Last Post Davidtowleii  
    Working...
    X