cancel_perp_order
Cancel a specific open perpetual order on HyperLiquid to stop unwanted trades. Provide coin and order ID to close a position you no longer want.
Instructions
Cancel a specific open perp order on HyperLiquid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Asset symbol | |
| apiKey | No | GDEX API key for AES encryption | |
| orderId | Yes | Order ID to cancel | |
| accountRef | No | Connected account from gdex_connect. Supplies session key, wallet address, API key and session data so no secret is passed in chat | |
| walletAddress | No | Control wallet address | |
| sessionPrivateKey | No | Session private key from sign-in |