Trading agents
Automate your strategy with an agent
A trading agent is a saved configuration: a set of strategies, timeframes, sizing rules, and risk limits. Once active, the agent listens for new signals from your selected strategies and opens trades on its own — either against a paper portfolio or against a real Hyperliquid subaccount you own.
Creation flow
Hit + Create agent from the Trading Agents page and the wizard walks you through:
- Mode — paper trading (starts at $10,000 of virtual capital) or live trading on Hyperliquid (requires live-trading access; see the dedicated section).
- Builder— pick strategies manually, or let the AI configurator suggest a portfolio of strategies that match your goal (e.g. "steady BTC long bias").
- Sizing— fixed USD per order, or % of portfolio. Live agents enforce a minimum so each order can still meet HL's on-chain minimums.
- Risk — leverage cap, max concurrent positions, and whether to allow long, short, or both sides.
Paper vs live
Paper
Paper agents simulate fills against the current HL price and accrue P&L in a per-agent virtual portfolio. There's no slippage or fee modelling beyond the strategy's backtested assumptions. Use paper agents to validate a configuration before risking real capital.
Live
Live agents place real orders on a dedicated Hyperliquid subaccount. The subaccount can be a fresh one Quant creates for you, or an existing one you nominate during setup. Either way, only that subaccount's balance is at risk for the agent — a single bad day can't reach into your main HL account.
Agent lifecycle
- Active— listening for signals. Every new signal that matches the agent's strategy list and available margin opens a trade.
- Paused— keeps existing positions open but ignores new signals. Useful for "don't open anything else over the weekend".
- Stopped — agent retires. Open positions stay on HL until you close them; the agent stops monitoring them.
How the agent manages positions
On each tick the agent reconciles its DB with HL's actual state: any phantom DB rows are deleted, any HL-only positions are attributed to the most recent matching signal, and TP/SL orders are re-checked. Closed trades are attributed to a reason (TP / SL / manual / liquidation / reconciliation) and the realised PnL comes from HL fills, not from our local price feed.
