Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 Tim-c, Today, 03:54 AM
                    0 responses
                    3 views
                    0 likes
                    Last Post Tim-c
                    by Tim-c
                     
                    Started by FrancisMorro, Today, 03:24 AM
                    0 responses
                    2 views
                    0 likes
                    Last Post FrancisMorro  
                    Started by Segwin, 05-07-2018, 02:15 PM
                    10 responses
                    1,771 views
                    0 likes
                    Last Post Leafcutter  
                    Started by Rapine Heihei, 04-23-2024, 07:51 PM
                    2 responses
                    31 views
                    0 likes
                    Last Post Max238
                    by Max238
                     
                    Started by Shansen, 08-30-2019, 10:18 PM
                    24 responses
                    945 views
                    0 likes
                    Last Post spwizard  
                    Working...
                    X