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 cmoran13, Yesterday, 01:02 PM
        0 responses
        25 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        17 views
        0 likes
        Last Post PaulMohn  
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        160 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        94 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        147 views
        2 likes
        Last Post CaptainJack  
        Working...
        X