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 sjsj2732, 03-23-2026, 04:31 AM
    0 responses
    150 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    353 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    391 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    182 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    137 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X