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
Comment