close_perp_position
Close a specific perpetual futures position with a reduce-only market order. Specify coin, size, and price to exit all or part of the position.
Instructions
Close a specific perp position using a reduce-only market order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Asset symbol to close | |
| size | Yes | Size to close (use full position size for 100% close) | |
| price | Yes | Price for the close order | |
| apiKey | Yes | GDEX API key for AES encryption | |
| walletAddress | Yes | Control wallet address | |
| sessionPrivateKey | Yes | Session private key from sign-in |