Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

previous contracts in futures prices do not match?

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

    previous contracts in futures prices do not match?

    Good morning, I have a question that causes me a lot of curiosity. why when I do backtesting of previous contracts in futures prices do not match? that is if, in the current contract I go to the past and compare graphs of screenshots in previous contracts prices do not match. thanks for the answer.

    #2
    Hello micaeliglesias​,

    Thank you for reaching out.

    In backtesting and when comparing prices across different contract months, differences in historical price data can occur due to the Merge Policy settings in NinjaTrader. This setting controls how continuous contracts are built by combining data from expired contracts with the current one. Here’s how to address this issue:
    1. Check Merge Policy Settings:
      • Go to Control Center > Tools > Options.
      • Select the Market Data tab.
      • Find Merge Policy and choose between the options:
        • Do Not Merge: Only displays data specific to each contract without merging previous contracts.
        • Merge Back Adjusted: Adjusts previous contract prices to align with the current contract.
        • Merge Non-Back Adjusted: Shows historical contracts without price adjustments.
    2. Update Contract Information:
      • Ensure your historical data is current and includes roll dates. You can update by going to Tools > Database Management > Update Instruments.
    3. Confirm Data Provider:
      • Some data providers may handle futures contract rollovers differently. Confirm with your provider to ensure their historical data aligns with your backtesting approach.
    4. Rollover Settings:
      • You may also manually adjust rollovers by navigating to Tools > Instruments and selecting the relevant contract month to modify rollover dates as needed.

    Adjusting these settings should align your historical prices more closely. If you’re still noticing discrepancies, please provide a screenshot of your chart and settings for further assistance.

    I look forward to resolving this item for you.
    Erick P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    169 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    326 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    251 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    353 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    180 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X