according to the problem description you must calculate sum of bid/offer volumes not prices.