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 kinfxhk, 07-14-2026, 09:39 AM
            0 responses
            127 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 10:18 AM
            0 responses
            105 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 09:50 AM
            0 responses
            85 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 07:21 AM
            0 responses
            105 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-11-2026, 02:11 AM
            0 responses
            86 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Working...
            X