Cancel Order
Cancel Order
POST
https://api.abcc.com/api/v1/exchange/orders/:order_id/cancel
Path Parameters
Name | Type | Description |
---|---|---|
order_id | integer | Order ID |
Request Body
Name | Type | Description |
---|---|---|
tonce | string | Timestamp of the current time in milliseconds (Unix epoch) |
signature | string | |
access_key | string |
OUTPUT EXPLANATION
Parameter | Type | Explain |
id | Integer | ID |
created_at | String | order time |
market_code | String | The only code for the market |
side | String | Buy and sell type |
state | String | status |
ord_type | String | Order type |
price | String | Order price |
avg_price | String | The average price of transactions |
volume | String | Initial pending order volume |
remaining_volume | String | The remaining amount of pending orders |
executed_volume | String | Executed pending order volume |
trades_count | Integer | Number of transactions |
SIDE
Parameter | Type | Explanation |
Buy | String | Buy |
Sell | String | Sell |
STATE
Parameter | Type | Explanation |
Wait | String | Pending order |
Done | String | Completed transaction |
Cancel | String | Canceled |
ORD_TYPE
Parameter | Type | Explanation |
limit | String | Limit order |
market | String | Market order |
Notice
Canceling a pending order is an asynchronous operation. The successful return of the API only means that the cancellation request has been successfully submitted and the server is processing it. It does not mean that the order has been canceled.
When your pending order has unprocessed trade transactions, or the cancellation request queue is busy, the order will be delayed for cancellation
Last updated