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 Hwop38, 05-04-2026, 07:02 PM
            0 responses
            160 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            308 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            245 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            349 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            179 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Working...
            X