def parse_ticker(self, ticker, market=None):
    timestamp = self.milliseconds()
    symbol = None
    if (market is not None):
        symbol = market['symbol']
    return {'symbol': symbol, 'timestamp': timestamp, 'datetime': self.iso8601(timestamp), 'high': self.safe_float(ticker, 'high'), 'low': self.safe_float(ticker, 'low'), 'bid': self.safe_float(ticker, 'highestBid'), 'bidVolume': None, 'ask': self.safe_float(ticker, 'lowestAsk'), 'askVolume': None, 'vwap': None, 'open': None, 'close': None, 'last': None, 'previousClose': None, 'change': None, 'percentage': None, 'average': None, 'baseVolume': self.safe_float(ticker, 'baseVolume'), 'quoteVolume': self.safe_float(ticker, 'counterVolume'), 'info': ticker}
def parse_ticker(self, ticker, market=None):
    timestamp = self.milliseconds()
    symbol = None
    if (market is not None):
        symbol = market['symbol']
    return {'symbol': symbol, 'timestamp': timestamp, 'datetime': self.iso8601(timestamp), 'high': self.safe_float(ticker, 'high'), 'low': self.safe_float(ticker, 'low'), 'bid': self.safe_float(ticker, 'highestBid'), 'bidVolume': None, 'ask': self.safe_float(ticker, 'lowestAsk'), 'askVolume': None, 'vwap': None, 'open': None, 'close': None, 'last': None, 'previousClose': None, 'change': None, 'percentage': None, 'average': None, 'baseVolume': self.safe_float(ticker, 'baseVolume'), 'quoteVolume': self.safe_float(ticker, 'counterVolume'), 'info': ticker}