execute_spot
Place a spot buy or sell directly on HyperLiquid using a private key and inputs for coin, price, and size.
Instructions
Execute a spot trade directly on HyperLiquid with a private key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Asset symbol | |
| size | Yes | Trade size | |
| isBuy | Yes | True for buy, false for sell | |
| price | Yes | Price | |
| isMarket | No | ||
| privateKey | Yes | Wallet private key (hex) | |
| builderFeeRate | No | ||
| builderFeeAddress | No |