def fetch_trades(self, symbol, since=None, limit=None, params={}):
    self.load_markets()
    market = self.market(symbol)
    request = {'symbol': market['id']}
    if (limit is not None):
        request['first'] = limit
    response = self.publicGetMarketsSymbolTrades(self.extend(request, params))
    return self.parse_trades(response['data']['edges'], market, since, limit)
def fetch_trades(self, symbol, since=None, limit=None, params={}):
    self.load_markets()
    market = self.market(symbol)
    request = {'symbol': market['id']}
    if (limit is not None):
        request['first'] = limit
    response = self.publicGetMarketsSymbolTrades(self.extend(request, params))
    return self.parse_trades(response['data']['edges'], market, since, limit)