def _handle_candles(self, ts, chan_id, data):
        """
        Stores OHLC data received via wss in self.candles[chan_id]
        :param ts: timestamp, declares when data was received by the client
        :param chan_id: int, channel id
        :param data: list of data received via wss
        :return:
        """
        pair = self.channel_labels[chan_id][1]['key'].split(':')[-1][1:]
        entry = data, ts
        self.data_q.put(('ohlc', pair, entry))