async def revoke_order(self, symbol, *order_nos):
    ' Revoke (an) order(s).\n\n        Args:\n            symbol: Trade target\n            order_nos: Order id list, you can set this param to 0 or multiple items. If you set 0 param, you can cancel all orders for \n            this symbol. If you set 1 or multiple param, you can cancel an or multiple order.\n\n        Returns:\n            删除全部订单情况: 成功=(True, None), 失败=(False, error information)\n            删除单个或多个订单情况: (删除成功的订单id[], 删除失败的订单id及错误信息[]),比如删除三个都成功那么结果为([1xx,2xx,3xx], [])\n        '
    if (len(order_nos) == 0):
        (success, error) = (await self._rest_api.cancel_orders(symbol))
        if error:
            return (False, error)
        if (not success['success']):
            return (False, 'cancel_orders error')
        return (True, None)
    else:
        result = []
        for order_no in order_nos:
            (_, e) = (await self._rest_api.cancel_order(order_no))
            if e:
                result.append((order_no, e))
            else:
                result.append((order_no, None))
        return (tuple(result), None)
Revoke (an) order(s).

Args:
    symbol: Trade target
    order_nos: Order id list, you can set this param to 0 or multiple items. If you set 0 param, you can cancel all orders for 
    this symbol. If you set 1 or multiple param, you can cancel an or multiple order.

Returns:
    删除全部订单情况: 成功=(True, None), 失败=(False, error information)
    删除单个或多个订单情况: (删除成功的订单id[], 删除失败的订单id及错误信息[]),比如删除三个都成功那么结果为([1xx,2xx,3xx], [])
async def revoke_order(self, symbol, *order_nos):
    ' Revoke (an) order(s).\n\n        Args:\n            symbol: Trade target\n            order_nos: Order id list, you can set this param to 0 or multiple items. If you set 0 param, you can cancel all orders for \n            this symbol. If you set 1 or multiple param, you can cancel an or multiple order.\n\n        Returns:\n            删除全部订单情况: 成功=(True, None), 失败=(False, error information)\n            删除单个或多个订单情况: (删除成功的订单id[], 删除失败的订单id及错误信息[]),比如删除三个都成功那么结果为([1xx,2xx,3xx], [])\n        '
    if (len(order_nos) == 0):
        (success, error) = (await self._rest_api.cancel_orders(symbol))
        if error:
            return (False, error)
        if (not success['success']):
            return (False, 'cancel_orders error')
        return (True, None)
    else:
        result = []
        for order_no in order_nos:
            (_, e) = (await self._rest_api.cancel_order(order_no))
            if e:
                result.append((order_no, e))
            else:
                result.append((order_no, None))
        return (tuple(result), None)