perp_risk_check
Pre-trade risk check for a Hyperliquid perp (crypto, or HIP-3 stock/index perps like xyz:NVDA). Returns liquidation price and distance in daily volatility, slippage vs the live book, funding cost, liquidity and risk flags. Neutral calculation, not advice. Inputs: coin, side (long|short), size_usd, leverage. Price: $0.005 per call (x402, USDC on Base).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Hyperliquid market, e.g. BTC or xyz:NVDA | |
| side | Yes | ||
| leverage | Yes | Integer leverage | |
| size_usd | Yes | Position notional in USD, 10 to 5000000 |