def fetch_order(self, id, symbol=None, params={}):
    self.load_markets()
    response = self.privateGetOrdersOid({'oid': id})
    payload = self.safe_value(response, 'payload')
    if isinstance(payload, list):
        numOrders = len(response['payload'])
        if (numOrders == 1):
            return self.parse_order(payload[0])
    raise OrderNotFound((((self.id + ': The order ') + id) + ' not found.'))
def fetch_order(self, id, symbol=None, params={}):
    self.load_markets()
    response = self.privateGetOrdersOid({'oid': id})
    payload = self.safe_value(response, 'payload')
    if isinstance(payload, list):
        numOrders = len(response['payload'])
        if (numOrders == 1):
            return self.parse_order(payload[0])
    raise OrderNotFound((((self.id + ': The order ') + id) + ' not found.'))