Lot calculation, TradeProcessor