What format are you recording the T&S in? csv?
So, price = last trade.
And I think you have bid/ask backwards. Ask is where market is willing to sell, bid is where market is willing to buy. The corresponding volumes are the available liquidity at those levels.