The variable lt_ma has nothing to do with the matched volume I'm afraid. It calculates the average last traded price over the time set by the market history depth. E.g. if the depth is 10 mins (so the latest 10 mins of the market data are kept in memory), then lt_ma returns the average last traded price over those 10 mins.