diff --git a/bfxapi/rest/endpoints/rest_auth_endpoints.py b/bfxapi/rest/endpoints/rest_auth_endpoints.py index 658e182..551389c 100644 --- a/bfxapi/rest/endpoints/rest_auth_endpoints.py +++ b/bfxapi/rest/endpoints/rest_auth_endpoints.py @@ -121,12 +121,12 @@ class RestAuthEndpoints(Middleware): def cancel_order_multi(self, *, - ids: Optional[List[int]] = None, - cids: Optional[List[Tuple[int, str]]] = None, - gids: Optional[List[int]] = None, + id: Optional[List[int]] = None, + cid: Optional[List[Tuple[int, str]]] = None, + gid: Optional[List[int]] = None, all: bool = False) -> Notification[List[Order]]: body = { - "ids": ids, "cids": cids, "gids": gids, + "id": id, "cid": cid, "gid": gid, "all": all } diff --git a/bfxapi/websocket/_client/bfx_websocket_inputs.py b/bfxapi/websocket/_client/bfx_websocket_inputs.py index 1753f3a..b527b87 100644 --- a/bfxapi/websocket/_client/bfx_websocket_inputs.py +++ b/bfxapi/websocket/_client/bfx_websocket_inputs.py @@ -64,12 +64,12 @@ class BfxWebSocketInputs: async def cancel_order_multi(self, *, - ids: Optional[List[int]] = None, - cids: Optional[List[Tuple[int, str]]] = None, - gids: Optional[List[int]] = None, + id: Optional[List[int]] = None, + cid: Optional[List[Tuple[int, str]]] = None, + gid: Optional[List[int]] = None, all: Optional[bool] = None) -> None: await self.__handle_websocket_input("oc_multi", { - "ids": ids, "cids": cids, "gids": gids, + "id": id, "cid": cid, "gid": gid, "all": all })