Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Futures beyond the most recent delivery date don’t fire the OnMarketData.

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

    Futures beyond the most recent delivery date don’t fire the OnMarketData.

    Hello,

    I want compare two futures in different delivery dates. So for example, NQ 06-12 vs NQ 07-12 but the first one works fine and data is coming through OnMarketData but the second one not.
    I can create a chart of both of them, so data is coming, but only the most recent delivery date is firing the OnMarketData event. Is it normal?

    Regards

    #2
    jbesada, NQ 07-12 would not exist and it not a valid expiry month, the NQ rolls quarterly only.

    So the next NQ is 09-12, open for trading as well, but thin...

    If you want to access different expiries individually, then please set the merge policy for the Auto Merge features in NT to 'DoNotMerge' - this could be done under Tools > Instrument Manager for each master instrument or under Tools > Options > Data globally.

    Comment


      #3
      Thank you for the answer. You are right, but it was just an example. I still have the same problem. I am running two strategies, one with NQ 06 and another one with NQ 09. First one is receiving data, second one doesn’t.
      I can see some data on the chart, so data is coming. Why OnMarketData event is not working in the second case?
      I have changed Merge feature to ‘DoNotMerge’ also.

      Thank you in advance

      Comment


        #4
        jbesada, the OnMarketData() would be called per unique instrument in your strategy - best would be if I run your scenario on our end, could you please contact me at support at ninjatrader dot com for this?

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        59 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        143 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        161 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        97 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        283 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X