def _handle_candles(self, dtype, data, ts):
        """Stores OHLC data received via wss in self.candles[chan_id].

        :param dtype:
        :param data:
        :param ts:
        :return:
        """
        self.log.debug("_handle_candles: %s - %s - %s", dtype, data, ts)
        channel_id, *data = data
        channel_identifier = self.channel_directory[channel_id]
        entry = (data, ts)
        self.candles[channel_identifier].put(entry)
def _handle_candles ( self , dtype , data , ts ) : self . log . debug ( "_handle_candles: %s - %s - %s" , dtype , data , ts ) channel_id , * data = data channel_identifier = self . channel_directory [ channel_id ] entry = ( data , ts ) self . candles [ channel_identifier ] . put ( entry )
Stores OHLC data received via wss in self.candles[chan_id].

        :param dtype:
        :param data:
        :param ts:
        :return: