hl_pretrade_check
Pre-trade risk check for a Hyperliquid perp position, incl. HIP-3 US stock perps (xyz:NVDA). Returns risk_level low/medium/high with reasons in English and Chinese: leverage tier, delisting and OI cap, stock-market session and closures in your hold window, discovery-bound risk, mark/oracle gap, funding cost, book slippage, approx. liquidation distance, fees. Read-only, places no orders; not charged if data is unavailable. Price $0.02 per call via x402 (see the server instructions for how to pay). Arguments are described in inputSchema.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"coin": "<coin>",
"side": "<side>",
"size_usd": "<size_usd>",
"leverage": "<leverage>"
},
"name": "hl_pretrade_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Market, e.g. xyz:NVDA (HIP-3) or BTC (native). A bare symbol like NVDA picks the most liquid usable listing. | |
| side | Yes | long or short | |
| leverage | Yes | Leverage you plan to use | |
| size_usd | Yes | Position notional in USD | |
| hold_hours | No | Optional planned holding time in hours, default 24, max 720 |