Cancel conditional orders (before triggering)
Last updated
Last updated
POST /v2/algo-orders/cancellation
API Key Permission: Trade Rate Limit (NEW): 20times/2sec This endpoint only supports order cancellation for those conditional orders which have not triggered yet. To cancel a triggered order, please refer to the endpoints in "Trading" section. Before a conditional order triggering, it can be only cancelled via this endpoint instead of any endpoint in "Trading" section.
Request
Field
Data Type
Required
Default Value
Description
Valid Value
clientOrderIds
string[]
TRUE
Client order ID (maximum 50 orders are allowed, Transfer in the form of as array)
Field
Data Type
Required
Description
code
integer
TRUE
Status code
message
string
FALSE
Error message (if any)
<data>
object
TRUE
accepted
string[]
FALSE
Accepted clientOrderId list
rejected
string[]
TRUE
Rejected clientOrderId list
</data>