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 sjsj2732, Yesterday, 04:31 AM
        0 responses
        36 views
        0 likes
        Last Post sjsj2732  
        Started by NullPointStrategies, 03-13-2026, 05:17 AM
        0 responses
        287 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        287 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        133 views
        1 like
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        95 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Working...
        X