def fetch_ticker(self, symbol, params={}):
    self.load_markets()
    market = self.market(symbol)
    request = {'book': market['id']}
    response = self.publicGetTicker(self.extend(request, params))
    ticker = self.safe_value(response, 'payload')
    return self.parse_ticker(ticker, market)
def fetch_ticker(self, symbol, params={}):
    self.load_markets()
    market = self.market(symbol)
    request = {'book': market['id']}
    response = self.publicGetTicker(self.extend(request, params))
    ticker = self.safe_value(response, 'payload')
    return self.parse_ticker(ticker, market)