hyperliquid

Trade perpetual futures on Hyperliquid via EIP-712 signed REST and WebSocket APIs.

1|1|Updated May 21, 2026
One-click install
npx skills add https://github.com/naruto11eth/cryptoskills --skill hyperliquid-naruto11eth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hyperliquid
Source: https://github.com/naruto11eth/cryptoskills/tree/main/skills/hyperliquid
Command: npx skills add https://github.com/naruto11eth/cryptoskills --skill hyperliquid-naruto11eth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? LLMs have stale or incorrect knowledge about the Hyperliquid API — wrong chain IDs for EIP-712 signing, numeric instead of string price formats, hardcoded asset indices, and assumed API-key authentication — causing failed orders, signature errors, and lost debugging time when building trading integrations. ## Core Features & Use Cases - Order Placement & Management: Place limit, market, trigger (TP/SL), TWAP, and batch orders with correct EIP-712 phantom-agent signing, plus cancels by OID or client order ID. - Position & Risk Management: Set cross/isolated leverage, adjust isolated margin, monitor liquidation prices, and implement dead man's switch via schedule_cancel. - Real-Time Data & Account State: Query the Info API for order books, candles, funding rates, and positions, and stream trades, fills, and book updates over WebSocket with reconnection and backfill patterns. - Use Case: Build a grid trading bot that places layered orders around mid price, monitors fills via WebSocket, replaces filled orders, and protects itself with a heartbeat-based cancel-all. ## Quick Start Ask the agent to place a limit buy order for 0.1 ETH on Hyperliquid using the Python SDK with correct signing and asset index resolution.

Frequently Asked Questions about hyperliquid

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I place an order on Hyperliquid with Python?

Install hyperliquid-python-sdk, create an Exchange instance with your wallet from eth_account, and call exchange.order with the coin name, side, size, limit price, and order type. The SDK handles EIP-712 signing automatically.

Why does Hyperliquid say 'User or API Wallet does not exist'?

This error means the EIP-712 signature recovered the wrong address, usually from using the wrong chain ID. L1 trading actions use chain ID 1337 with phantom agent signing, while user-signed actions like withdrawals use 421614.

Does Hyperliquid use API keys for authentication?

No, Hyperliquid has no API keys. Every exchange action is an EIP-712 signed message from your wallet, and you can approve up to four agent wallets to sign on behalf of your master account for automated trading.

How do I stream Hyperliquid order book and trade data?

Connect to wss://api.hyperliquid.xyz/ws and send subscribe messages for channels like trades, l2Book, allMids, or userFills. Subscriptions do not auto-reconnect, so implement reconnection logic and backfill missed state via the Info REST API.

What is the minimum order size on Hyperliquid?

Perpetual orders require a minimum notional value of $10, and orders below this are rejected. Prices and sizes must also be sent as strings and conform to each asset's tick size from the meta endpoint.

Why was my Hyperliquid batch order rejected entirely?

A pre-validation failure on any single order in a batch rejects the entire batch with one error instead of per-order statuses. Validate each order individually before batching, checking asset indices, order types, and required fields.