v1

latestOpenAPI 3.1.02026-07-24690345.5 KB

Cancel Orders (multiple)

Cancels multiple orders simultaneously. Orders can be canceled based on the Order ID, the combination of Client Order ID and Client Order Date, or the Group Order ID. Alternatively, the body param 'all' can be used with a value of 1 to cancel all orders.

post/auth/w/order/cancel/multi

Request body

idinteger

An array containing the IDs of the orders to delete.

gidinteger

An array containing the GIDs of the orders to delete.

cidstring json

An array of tuples containing the cid and cid_date pairs of the orders to delete.

allinteger

If set to 1, cancels all open orders (both trading and derivative)

Response

200