I would like to find the total (sum) volume for 5 levels of Ask volume.
I would like to find the total (sum) volume for 5 levels of Bid volume.
Does anyone have any existing code that I might be able to use and modify to achieve my goal?
Am I correct in thinking that I need to use OnMarketData ?

Comment