async def fetch_ticker(self, symbol, params={}):
    (await self.load_markets())
    market = self.market(symbol)
    request = {'symbol': market['id']}
    response = (await self.marketGetTickers(self.extend(request, params)))
    if isinstance(response, list):
        ticker = self.safe_value(response, 0)
        if (ticker is None):
            raise BadResponse((self.id + ' fetchTicker() returned an empty response'))
        return self.parse_ticker(ticker, market)
    return self.parse_ticker(response, market)
async def fetch_ticker(self, symbol, params={}):
    (await self.load_markets())
    market = self.market(symbol)
    request = {'symbol': market['id']}
    response = (await self.marketGetTickers(self.extend(request, params)))
    if isinstance(response, list):
        ticker = self.safe_value(response, 0)
        if (ticker is None):
            raise BadResponse((self.id + ' fetchTicker() returned an empty response'))
        return self.parse_ticker(ticker, market)
    return self.parse_ticker(response, market)