def fetch_orders(self, symbol=None, since=None, limit=None, params={}):
    if (symbol is None):
        raise ArgumentsRequired((self.id + ' fetchOrders requires a symbol argument'))
    self.load_markets()
    market = self.market(symbol)
    request = {'market_id': market['id']}
    if (limit is not None):
        request['first'] = limit
    response = self.privateGetOrders(self.extend(request, params))
    data = self.safe_value(response, 'data', {})
    orders = self.safe_value(data, 'edges', [])
    result = []
    for i in range(0, len(orders)):
        result.append(self.parse_order(orders[i]['node'], market))
    return self.filter_by_symbol_since_limit(result, symbol, since, limit)
def fetch_orders(self, symbol=None, since=None, limit=None, params={}):
    if (symbol is None):
        raise ArgumentsRequired((self.id + ' fetchOrders requires a symbol argument'))
    self.load_markets()
    market = self.market(symbol)
    request = {'market_id': market['id']}
    if (limit is not None):
        request['first'] = limit
    response = self.privateGetOrders(self.extend(request, params))
    data = self.safe_value(response, 'data', {})
    orders = self.safe_value(data, 'edges', [])
    result = []
    for i in range(0, len(orders)):
        result.append(self.parse_order(orders[i]['node'], market))
    return self.filter_by_symbol_since_limit(result, symbol, since, limit)