Skip to main content

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

ParameterTypeRequiredComments
symbolStringYesSymbol name
e.g., rAAPLUSDT
orderIdStringNoOrder ID
Either orderId or clientOid must be provided. If both are provided, orderId takes priority
clientOidStringNoClient 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

ParameterTypeComments
orderIdStringOrder ID
clientOidStringClient order ID. Returns an empty string if not provided

How was your Reading Experience with us?