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 CarlTrading, 03-31-2026, 09:41 PM
            1 response
            152 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            87 views
            1 like
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            131 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            127 views
            1 like
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            106 views
            0 likes
            Last Post CarlTrading  
            Working...
            X