Cancel Reality Order
Cancel Reality Order
Description
Cancel an unfilled or partially filled Reality stock order.
This endpoint is only available for whitelisted UIDs, please contact BD if needed.
HTTP Request
- POST /api/v3/trade/cancel-reality-order
- Rate limit: 1/sec/UID
- Permission: UTA trade (read & write)
Request
curl -X POST "https://api.bitget.com/api/v3/trade/cancel-reality-order" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json" \
-d '{"symbol":"rAAPLUSDT","orderId":"121211212122"}'
Request Parameters
| Parameter | Type | Required | Comments |
|---|---|---|---|
| symbol | String | Yes | Symbol name e.g., rAAPLUSDT |
| orderId | String | No | Order ID Either orderId or clientOid must be provided. If both are provided, orderId takes priority |
| clientOid | String | No | Client order ID Either orderId or clientOid must be provided. If both are provided, orderId takes priority |
Response
{
"code": "00000",
"msg": "success",
"requestTime": 1695806875837,
"data": {
"orderId": "121211212122",
"clientOid": "myOrder001"
}
}
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| orderId | String | Order ID |
| clientOid | String | Client order ID. Returns an empty string if not provided |