I want to get the total volume (quantity traded) within a specific candle from live web-socket stream. I have tried using the 'quote mode', but it only fetches the 'last_quantity'. I want to get total volume for, say a 5 min candle. Please note I do not subscribe for historical data.
You can have look to this thread.