Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Level 1 and 2 execution order

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

    Level 1 and 2 execution order

    I'm having a lot of trouble getting a consistent level 1+2 picture from live data. I use level 1 for current bid ask only, and level 2 for everything else - the depth.

    My question is, is there an order of firing for on market data and depth? How are the event queues processed for them? I would have expected omdata to take priority, but in my testing on live data I see omdepth fires first for everything. Is that correct? I also see missing Level 1 data (this is from Zen Fire, RC1) See the list below - the L2 update of 1178.75, vol 139 is completely skipped in the level 1 data

    Code:
    L2: Instrument='ES 12-10 Globex' Type=Ask MM='' Operation=Update Pos=0 Price=1178.75 Volume=118 Time=17/11/2010 23:29:23
    
    L1: Instrument='ES 12-10 Globex' Type=Ask Price=1178.75 Volume=118 Time=17/11/2010 23:29:23
    
    L2: Instrument='ES 12-10 Globex' Type=Ask MM='' Operation=Update Pos=0 Price=1178.75 Volume=121 Time=17/11/2010 23:29:25
    
    L1: Instrument='ES 12-10 Globex' Type=Ask Price=1178.75 Volume=121 Time=17/11/2010 23:29:25
    
    L2: Instrument='ES 12-10 Globex' Type=Ask MM='' Operation=Update Pos=0 Price=1178.75 Volume=139 Time=17/11/2010 23:29:29
    L2: Instrument='ES 12-10 Globex' Type=Ask MM='' Operation=Update Pos=0 Price=1178.75 Volume=141 Time=17/11/2010 23:29:29
    
    
    L1: Instrument='ES 12-10 Globex' Type=Ask Price=1178.75 Volume=141 Time=17/11/2010 23:29:29
    
    L2: Instrument='ES 12-10 Globex' Type=Ask MM='' Operation=Update Pos=1 Price=1179 Volume=207 Time=17/11/2010 23:29:29

    #2
    Dave, it will depend on what your provider is sending to you - the are processing in the sequence they arrived in realtime operation - did you rework your ZenFire connection to enable access to the non aggregated servers?

    Comment


      #3
      Hi Bertrand,

      Yes, I did. So Zen Fire must be dropping a level 1 update when there are two level 2s very close and the second one replaces the first? That's not good.

      It happens regularly. One thing I have noticed, is that the volume difference on the two level 2s is usually quite small - maybe it's a conscious decision to drop the level 1 when the difference is negligable, or maybe the first level 2 record was wrong in some way. I've asked ZF for their opinion too.

      thanks
      Dave

      Comment


        #4
        Dave, I'm sorry I would not know how the data handling is done internally in the ZenFire API, please post back what they reply.

        Thanks

        Comment

        Latest Posts

        Collapse

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