Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MarketDeept & -Data to spot Icebergs

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

    MarketDeept & -Data to spot Icebergs

    Hi traders,

    there are some vendors offering iceberg detector indis for NT. So I thought I try coding one. In theory, the code should detect when the number of offered contracts on one side is more than the last trade should have subtracted. E.g. before there were 10 offers at the bid and after a trade at the bid of size 3 there are still 9 contracts at the bid.
    In practice, I am not sure how to request the current amount of contracts offered?
    Because both, OnMarketData and OnMarketDeepth are only called when there is an update. Therefore it can be that there happen 10 trades, and you first get the amounts offered at the bid or ask, when it is updated again. This way, you can't know how many contracts are offered after a trade. What is the workaround here?
    Or is the next bid/ask update after a trade in the end the actual contracts offered without newly offered ones added?

    Did anyone spot icebergs successfully?


    Greetings,
    Seykool
    Last edited by seykool; 02-14-2022, 06:12 AM.

    #2
    Hello seykool,

    Thank you for your note.

    This is mostly a level 2 related thing, to examine market depth, and to track number of contracts/shares by market maker.

    I can clarify that OnMarketData shows level 1 trades, whereas the level 2 data from OnMarketDepth would represent resting bids/offers.

    We also have an example on using OnMarketDepth to create your own order book that may be helpful.



    I could not comment and do not have an example on how you could relate the OnMarketDepth removals with trades from OnMarketData. You could try examining OnMarketDepth only for identifying icebergs in a way described by Investopedia, and we will leave the thread open for community feedback as well. Please see the publicly available Investopedia link below:

    https://www.investopedia.com/terms/i...20given%20time.

    Please let us know if we may be of further assistance to you.

    Comment


      #3
      Hi Kate,

      it seems like OnMarketData shows resting bid and ask orders of the order book on position 0. In other words, it always shows what OnMarketDeepth shows on position 0. Since this is where the next trade deducts volume, it is all that is necessary.
      The question is whether the next OnMarketData/OnMarketDeepth_position0 shows the updated resting orders after a trade, or whether it first and only shows resting orders after someone placed a new limit order there. I hope you can tell me this technical matter as a NT intern.

      Greetings

      Comment


        #4
        If there was a way to consult the current resting orders at position 0, this would be the solution.
        Last edited by seykool; 02-14-2022, 11:55 AM.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        597 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