df
grouped = df.groupby('Symbol')
ask = grouped['Ask'].resample('15Min', how='ohlc')
bid = grouped['Bid'].resample('15Min', how='ohlc')
pandas.concat([ask, bid], axis=1, keys=['Ask', 'Bid'])
From tick by tick data to candlestick