Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnMarketData generates strange value sometimes

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

    OnMarketData generates strange value sometimes

    Hi, Im using Zenfire and FDAX (Eurex) every dozen or so trades I am getting OnMarketData triggering with the data type set as last however when I read e.Price it is zero and e.Volume has a large (bigger than a real trade) number that appears to be some sort of sequence number.

    I guess the data feed is using this for something else probably the days total volume? Just checking.

    #2
    NickA, I'll give it a run here and will look into if expected or not - are you on NT7 R2 here?

    Comment


      #3
      So far I'm not seeing it happen here, what code do you use printing in OnMarketData()?

      Comment


        #4
        Hi Bertrand I am 99.9% sure it is a 'special' quote that give the cumulative volume for the day. Don't put yourself to any further trouble,

        Cheers.

        Comment


          #5
          If you just print the e.Price and dont filter for any event, then you could see all those being returned, one being the dailyVol - http://www.ninjatrader.com/support/h...aeventargs.htm

          Comment


            #6
            Thanks,

            I think there may have been a bug in my code (print statement outside a conditional).

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            571 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            331 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            549 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            549 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X