def _handle_trades(self, dtype, data, ts):
        """Files trades in self._trades[chan_id].

        :param dtype:
        :param data:
        :param ts:
        :return:
        """
        self.log.debug("_handle_trades: %s - %s - %s", dtype, data, ts)
        channel_id, *data = data
        channel_identifier = self.channel_directory[channel_id]
        entry = (data, ts)
        self.trades[channel_identifier].put(entry)
def _handle_trades(self, dtype, data, ts):
        """Files trades in self._trades[chan_id].

        :param dtype:
        :param data:
        :param ts:
        :return:
        """
        self.log.debug("_handle_trades: %s - %s - %s", dtype, data, ts)
        channel_id, *data = data
        channel_identifier = self.channel_directory[channel_id]
        entry = (data, ts)
        self.trades[channel_identifier].put(entry)
def _handle_trades ( self , dtype , data , ts ) : self . log . debug ( "_handle_trades: %s - %s - %s" , dtype , data , ts ) channel_id , * data = data channel_identifier = self . channel_directory [ channel_id ] entry = ( data , ts ) self . trades [ channel_identifier ] . put ( entry )
Files trades in self._trades[chan_id].

        :param dtype:
        :param data:
        :param ts:
        :return:
Files trades in self . _trades [ chan_id ] .