Skip to content
Order Cancellation

Cancel Orders by Security

Cancels all open orders of the current account for one security. A successful response means only that the cancellation requests were accepted; check the final state of each order through the order list, order details, or order push updates. On success, refresh the order list. On failure, show message and refresh the order list to confirm the actual state.

When you call this operation through WhaleCore requestService(), set requiresTradeToken to true.

WhaleCore's orderService() wraps this endpoint as the typed method batchCancelOrders. If you use WhaleCore, prefer that method.

POSThttps://api.lbkrs.com/v1/orders/batch_withdraw

Request body application/json

counter_idstringrequired

Security ID (counter_id), for example ST/US/AAPL or ST/HK/700

account_channelstringrequired

Account channel (account_channel) of the current account

Responses

HTTP 200The request succeeded. The response body contains the result of the “Cancel Orders by Security” operation.
Standard response envelopecodemessagedata
dataobjectdata structure

No business fields

No nested fields

Whale Docs