def fetch_ticker(self, symbol, params={}):
    self.load_markets()
    market = self.market(symbol)
    method = (market['type'] + 'GetInstrumentsInstrumentIdTicker')
    request = {'instrument_id': market['id']}
    response = getattr(self, method)(self.extend(request, params))
    return self.parse_ticker(response)
def fetch_ticker(self, symbol, params={}):
    self.load_markets()
    market = self.market(symbol)
    method = (market['type'] + 'GetInstrumentsInstrumentIdTicker')
    request = {'instrument_id': market['id']}
    response = getattr(self, method)(self.extend(request, params))
    return self.parse_ticker(response)