hl_place_order
Place buy or sell orders on Hyperliquid perpetual futures. Supports limit and market orders with optional reduce-only.
Instructions
Place an order on Hyperliquid. Requires HL_PRIVATE_KEY in env.
Args: coin: Asset symbol e.g. BTC, ETH, SOL is_buy: True for long/buy, False for short/sell size: Position size in coins price: Limit price (None for market order) order_type: limit or market (default limit) reduce_only: Only reduce existing position (default False)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| is_buy | Yes | ||
| size | Yes | ||
| price | No | ||
| order_type | No | limit | |
| reduce_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |