request interface
/Trade/batchCancelOrder
Parameter | Required | Type | Notes |
---|---|---|---|
order_ids | Yes | string | Order IDs, separated by commas such as 123,456 |
Note: The interface only returns the order data of successfully canceled orders
return data example ```json
{ "status": 200, //success code "source": "API", "msg": "OK", // return OK if status is 200 otherwise return FAIL "data": [{ "order_id": 13050984, //order ID "user_id": 10000006050, //platform user ID "symbol": "btc_usdt", //trading pair name "side": "sell", //direction "price": 30000, //price "total": "39380.26", //total cost of the order "over_num": "0.000000", //remaining quantity "deal_num": "1.000000", //deal quantity "deal_total": "39380.26", //total cost of the order in $ cents "deal_avg_price": "39380.26", //average deal price "fee": "35.44223851", //commission fee "status": 2, //status 0-not filled|1-partially filled|2-all filled|3-cancelled "created_at": "2022-03-06 02:02:43", "updated_at": "2022-03-06 02:02:43" }, { "order_id": 13051020, "user_id": 10000006050, "symbol": "btc_usdt", "side": "buy", "price": 30000, "total": "1800.00", "over_num": "0.060000", "deal_num": "0.060000", "deal_total": "0.00", "deal_avg_price": "0.00", "fee": "0.", "status": 3, "created_at": "2022-03-08 00:45:24", "updated_at": "2022-03-08 00:45:24" } ], "seconds": 1646503522, "microtime": 1646503522550, "unique_id": "6223a661c3c4b1212726153", "host": "127.0.0.1" } ```