Hi can anyone please suggest how to calculate 1 minute candle volume from tick data receiving from websocket?