hl_place_order
Place a limit order on Hyperliquid within owner-set notional, leverage, and asset limits; cap breaches return 403 cap_* codes, so do not retry.
Instructions
Place a limit order on Hyperliquid. Subject to owner-set limits: per-order and daily notional caps, a maximum leverage, and an asset allowlist. Exceeding a limit returns 403 with a cap_* code — do not retry or attempt to work around it. Hyperliquid has no market order: to cross the spread, send an aggressive limit price and accept the slippage explicitly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| px | Yes | Limit price. Rounded server-side to the asset's tick rules. | |
| sz | Yes | Size in units of the asset (not USD). | |
| tif | No | Time in force. Default Gtc. | |
| coin | Yes | Asset symbol, e.g. BTC. Must be in the agent's allowlist. | |
| isBuy | Yes | true to buy/long, false to sell/short. | |
| reduceOnly | No | Only reduce an existing position. Default false. |