Python (SDK)
Global Markets Perps
Cancel order
Prepare an order cancellation.
Returns EIP-712 typed data for the user to sign. After signing, submit the signature via the /execute endpoint.
POST
Python (SDK)
Body
application/json
Request to cancel an open order on a global markets perps market.
Owner of the global markets perps product account
Example:
"0x06A9aF046187895AcFc7258450B15397CAc67400"
Asset ticker symbol (e.g. AAPL, GOLD, EUR)
Example:
"AAPL"
Hyperliquid order ID to cancel
Example:
12345
Client order ID to cancel (alternative to order_id)
Response
Successful Response
Returned by prepare endpoints — contains EIP-712 typed data for the user to sign.