cancel_order
Cancel an outstanding order on a supported venue using its order ID. Returns a cancellation receipt and handles already-filled or non-existent orders gracefully.
Instructions
Cancel an outstanding order by its venue order_id. Signed inside the enclave just like place_order. Returns the cancellation receipt from the venue. Idempotent: cancelling a non-existent / already-filled order returns ok=false with a reason from the venue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venue | Yes | Venue identifier. Must match an entry returned by list_venues — any other value will be rejected by the gateway. | |
| order_id | Yes | Venue-native order identifier returned by place_order. | |
| symbol | No | Venue-native symbol — REQUIRED for binance + okx cancels (their REST APIs need the symbol on the cancel route). Optional for venues that derive it from order_id alone. |