cancelSpreadOrder
Cancel a spread trading order by providing either the order ID or your custom order link ID. Note that cancellation is processed asynchronously.
Instructions
Cancel a single spread trading order by its order ID or custom order link ID.
Usage Scenarios:
Cancel an open limit order that has not yet been fully filled.
Use either
orderId(system-assigned) ororderLinkId(user-defined) to identify the order.
Important:
Either
orderIdororderLinkIdmust be provided.The response is an acknowledgement only. The cancellation is processed asynchronously. Monitor the WebSocket stream for final order status confirmation.
Agent hint: POST endpoint requiring authentication. Either orderId or orderLinkId is required. Response is asynchronous -- the acknowledgement does not guarantee cancellation. Use the WebSocket stream to confirm final status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | No | ||
| orderLinkId | No |