In [5]:
%%time

trade.groupby(by = [trade.Symbol,vaex.BinnerTime(trade.Time,'m',every=1)],
              agg = {'vol': vaex.agg.sum('Trade_Volume')})
CPU times: user 6.32 s, sys: 1.96 s, total: 8.27 s
Wall time: 8.85 s
Out[5]:
# Symbol Time vol
0 CB 2019-10-07 08:351
1 CB 2019-10-07 09:131
2 CB 2019-10-07 09:3032311
3 CB 2019-10-07 09:31385
4 CB 2019-10-07 09:323259
... ... ... ...
1,594,827OSCV 2019-10-07 15:301098
1,594,828OSCV 2019-10-07 15:50100
1,594,829OSCV 2019-10-07 16:00100
1,594,830OSCV 2019-10-07 16:10100
1,594,831OSCV 2019-10-07 18:30100