Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DOM tracking cancelled and added orders

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

    DOM tracking cancelled and added orders

    Hello,

    I am using OnMarketDepth method to analyze liquidity changes across bid and ask levels. My instrument is index futures. Is there anyway to track cancelled and added orders? Every operation that I get in this method is an update, and not remove or add. I am using IB as a broker.

    Thanks,
    redduke

    #2
    Hello,

    Unfortunately you would need access to level 3 data for this. As far as I am aware only market makers in the pit have access to this.

    Let me know if I can be of further assistance.
    LanceNinjaTrader Customer Service

    Comment


      #3
      Not sure what you mean by pit. I am talking about index futures like ES traded on cme. OnMarketDepth does have an ability to look at cancel and add, but all changes come through as update. Just wanted to find out how to figure out added or removed liquidity across bids and asks.

      Comment


        #4
        To verify, you're trying to track the orders canceled or added at the exchange level?
        LanceNinjaTrader Customer Service

        Comment


          #5
          Ninja provides the following method:

          protected override void OnMarketDepth(MarketDepthEventArgs e)
          {
          I want to use the following logic:

          if (e.Operation==Operation.Insert)
          do .....
          else if (e.Operation==Operation.Remove)
          do .....
          else if (e.Operation==Operation.Update)
          do .....
          }

          However, every change comes as Operation.Update.

          What do I need to do to use Operation.Insert and Operation.Remove.

          Thanks,
          redduke

          Comment


            #6
            Originally posted by RedDuke View Post
            Not sure what you mean by pit. I am talking about index futures like ES traded on cme. OnMarketDepth does have an ability to look at cancel and add, but all changes come through as update. Just wanted to find out how to figure out added or removed liquidity across bids and asks.

            Comment


              #7
              Search the forums for Operation.Remove or Operation.Update for more posts about it.




              Originally posted by RedDuke View Post
              Ninja provides the following method:

              protected override void OnMarketDepth(MarketDepthEventArgs e)
              {
              I want to use the following logic:

              if (e.Operation==Operation.Insert)
              do .....
              else if (e.Operation==Operation.Remove)
              do .....
              else if (e.Operation==Operation.Update)
              do .....
              }

              However, every change comes as Operation.Update.

              What do I need to do to use Operation.Insert and Operation.Remove.

              Thanks,
              redduke

              Comment


                #8
                Hello,

                I did a bit more digging on the forum, and found the following thread:



                It looks like my understanding of Operation.Remove is correct, and that IB feed to not send this event.

                Can someone confirm it. Is there anything that can be done?

                Thanks,
                redduke

                Comment


                  #9
                  You are correct that the update event is not sent from IB.

                  In order to get this information, you would need to use another data provider such as Kinetick. Otherwise you may consider more robust brokerage technologies such as Zen-Fire, CQG, etc.
                  MatthewNinjaTrader Product Management

                  Comment


                    #10
                    Got, this makes sense now. Thanks a lot.

                    Comment

                    Latest Posts

                    Collapse

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