Circuit

Hyperliquid trading agents

Updated by the Circuit team

What a Hyperliquid agent does

Hyperliquid runs perpetual futures and spot order books onchain. Its own interface is built for clicking. An agent is built for the strategy you would run if you never slept: check a signal every five minutes, size the order from a fixed share of capital, attach a stop, and log why.

On Circuit a Hyperliquid agent trades from the HyperCore account of the wallet you start it on. It runs on a schedule as often as once a minute or continuously as one long-lived process. It can also wake on events: a Hyperliquid price crossing a level, moving a set dollar amount or percentage, a position change or a fill. Every agent shows its returns, its transactions and the reasoning it logged for each trade. Live Hyperliquid agents are listed on the live agent list and grouped by asset under trading agents such as BTC and HYPE.

What is agentic trading covers the category. This guide covers what Hyperliquid agents can trade, the order types they use, and the arithmetic of fees, leverage and liquidation that decides whether a strategy survives.

Markets agents can trade

Agents reach four kinds of Hyperliquid market.

  • Main perps such as BTC, ETH, SOL and HYPE. Agents trade them long or short with leverage up to each market's maximum.
  • HIP-3 perps. HIP-3 lets builders deploy their own perp dexes on Hyperliquid. Per Hyperliquid's docs as of October 2026, a deployer stakes 500,000 HYPE, defines the oracle and contract specs, and runs its own margining and order books. Their markets carry a dex prefix such as xyz:GOLD. Agents trade them with the same orders as main perps. See stocks and commodities onchain.
  • Spot pairs such as PURR/USDC. UBTC, UETH and USOL are Hyperliquid spot representations. Native BTC, ETH and SOL live on their own chains.
  • Outcome markets (HIP-4). Shares buy and sell in whole units for USDC and settle between 0 and 1 USDC each. They work much like Polymarket outcomes.

Agents can also set a coin's leverage and margin mode, add or remove isolated margin, stake and delegate HYPE, and deposit USDC into vaults such as HLP. Vault deposits follow the vault's lockup. Each of those is its own operation separate from any order.

Order types

Hyperliquid agents on Circuit use the same order proposals a person reviews in Circuit.

Order What it does Typical use
Market Fills now within a slippage limit of 1% of the mid by default Entries on a signal, urgent exits
Limit, IOC Fills whatever crosses now and cancels the rest Taking liquidity with a hard price cap
Limit, GTC Rests on the book until filled or canceled Grid rungs, patient entries
Limit, ALO (post-only) Rests only as a maker and is rejected if it would take Maker strategies such as market making agents
Take-profit / stop-loss Waits for the mark price to cross a trigger and then fills at market within 10% of the mark Exits that sit on the venue
Take-profit / stop-loss limit Waits for the trigger and then rests as a limit at your price Exits where price matters more than certainty

A market or limit perp entry can carry its take-profit and stop-loss in the same venue order. The exits are reduce-only orders for the entry's size. When one fills the venue cancels the other. Sizes round down to the market's size decimals. Circuit rejects new orders worth less than $10 before they reach Hyperliquid. Closes and outcome shares are exempt. Agents size orders by base size or by order value in USDC. They never size by margin.

Worked example: fees and break-even

Take the RSI strategy on a $1,000 allocation. It uses 25% of capital in position value per trade. Each position is $250. At 5x leverage that ties up $50 of margin.

Hyperliquid's base-tier perp fees as of October 2026 are 0.045% taker and 0.015% maker. Tiers are based on 14-day volume. Using market orders both ways:

  • Fee per side: $250 × 0.045% = $0.1125
  • Round trip: $0.225
  • A 3% take-profit earns $250 × 3% = $7.50 gross and $7.275 after fees
  • A 2% stop loses $250 × 2% = $5.00 before fees and $5.225 after

The break-even win rate is the loss divided by the sum of the win and the loss: $5.225 ÷ ($7.275 + $5.225) = 41.8%. Check it: 41.8% × $7.275 = $3.04, and 58.2% × $5.225 = $3.04. Below a 41.8% hit rate the strategy loses money before funding.

Funding adds to that. At 0.01% per hour on $250 a long pays $0.025 an hour. That is $0.60 a day. A position held for a day at that rate costs more than double the round-trip fee. The funding rate arbitrage guide covers how the rate is set.

Worked example: leverage and liquidation

Hyperliquid's docs give the liquidation price as price minus side × margin available ÷ position size ÷ (1 − l × side). Side is 1 for longs and −1 for shorts. The term l is the maintenance margin rate. Maintenance margin is half the initial margin at the market's maximum leverage. A market with 40x maximum leverage has 1.25% maintenance. Liquidation uses the mark price.

Take a 0.1 BTC long at $100,000 in isolated margin on a market with 1.25% maintenance. That is a $10,000 position. Maintenance at entry is $125. At 10x the margin is $1,000 and margin available is $875. The liquidation price is $100,000 − $875 ÷ 0.1 ÷ 0.9875 = $91,139.

Leverage Margin Liquidation price Drop from entry
10x $1,000 $91,139 8.9%
5x $2,000 $81,013 19.0%
3x $3,333 $67,510 32.5%
2x $5,000 $50,633 49.4%

At 1x the formula puts a long's liquidation price near zero. Fees and funding paid out of margin move it up over time. Even a 1x long is not liquidation-proof. Shorts have no such floor. A 1x short of the same size liquidates near $197,500 after a 97.5% rise. Cross margin uses the account's value instead of one position's margin. One losing position draws on the rest of the account. Larger positions can fall into higher margin tiers with higher maintenance rates.

Worked example: a BTC grid

The BTC grid strategy trades the BTC perp at 1x with five buy rungs spaced 1% apart. Each rung is 15% of the allocation. On $1,000 starting at $100,000 the rungs sit near $99,000, $98,000, $97,000, $96,000 and $95,000. Each is $150 of position value.

When a rung fills and price rises 1% above its entry the agent sells that rung. One round trip earns $150 × 1% = $1.50 gross. At the 0.045% taker fee each way fees are $0.135. The net is $1.365. With all five rungs filled the agent holds $750. That is 75% of its capital at 1x.

The stop closes everything 8% below the lowest rung at $95,000 × 0.92 = $87,400. If every rung filled before the stop the losses are $17.58, $16.22, $14.85, $13.44 and $12.00. That is about $74.08 in total. That equals roughly 54 completed round trips. A grid earns small amounts often and gives them back in one trend. The stop and the rung spacing matter more than the count of rungs.

Strategies you can start from

Each spec opens in the Builder with every number adjustable.

Strategy Signal Size Exit
Copy a Hyperliquid trader A public wallet's perp positions checked every 5 minutes In proportion to its equity with a 25% cap per coin 5% adverse move
BTC grid Five rungs 1% apart 15% per rung at 1x 1% above each entry, stop 8% below the lowest rung
ETH/BTC ratio Ratio 2 standard deviations from its 20-hour mean 20% per leg Back to the mean or 2 more deviations against
Short crowded perps Funding above 0.03% an hour for 3 hours 15% per coin Funding under 0.01%, 4% adverse move or 48 hours
RSI RSI(14) crossing 30 or 70 on 5-minute candles 25% 3% gain or 2% loss
Breakouts Close beyond the 20-hour range Up to 25% per coin 3% loss or 5% reversal from the best price
Weekly BTC Every Monday 09:00 UTC $20 to a 1x long Never reduces

Copy trading agents and delta-neutral strategies go deeper on two of these.

Risk controls agents use

Good Hyperliquid agents cap position value as a share of their allocation, set stop-loss and take-profit triggers on the venue, close when a leg nears liquidation, and stop opening positions when a data source cannot be read.

An agent acts only on its session's own holdings. A reduce order is capped at what the session opened. An agent never closes positions you hold elsewhere on the same account. Agents cancel only the orders their own session placed. Circuit pauses an agent and notifies you if its runs fail for over an hour with at least 10 failures since its last success.

Test before you risk money

Agents start in paper trading by default. That means simulated funds on live markets and no real money moving. Papertrade agents and agents that start from an open position start only with real money. Hyperliquid, Lighter, Lighter Robinhood and Kraken orders fill against the live order book and one-minute bars with each venue's fees, funding and liquidation rules. Polymarket orders fill against the live book. Redemptions pay the market's real resolution. Swaps fill at the live executable quote and pay their network fee from about $10 of simulated gas. Paper sessions stay private and never count toward the leaderboard. Switch the same agent to real money when the results convince you.

Backtest on recorded markets

Circuit replays an agent against recorded Hyperliquid perp markets without a wallet or any onchain writes. Perp orders fill at the one-minute open. Resting orders fill once a later minute trades through the limit. Fills pay fees and slippage. Funding settles at each hour's opening price. The account is liquidated at a minute's close if equity falls below maintenance margin. The default window is the last seven days with $1,000. Spot orders are not simulated in backtests and fail loudly. Test spot strategies in paper trading. Results describe the chosen period and do not predict future performance.

Keys and permits

Agents run on a wallet you create in Circuit or import by private key. Circuit keeps the signing key in a hardware enclave. Agents never see it. An agent requests typed actions through Circuit's SDK. Nothing is signed without the permit you sign with your passkey when you start the agent.

You can export the private key from Settings at any time. You can pause, resume or stop an agent at any time. Stopping leaves your positions and resting orders in your account. You ask Circuit to close them.

Build your own

Describe the strategy to Circuit and the Builder writes it. You can also ask Claude to build it for you through a connected assistant. Developers can follow build a Hyperliquid agent in TypeScript and the Hyperliquid SDK reference.

What it costs

Circuit charges no fees today and adds no builder fee to Hyperliquid or Polymarket orders. You pay the venue's trading fees, network gas and any bridge or routing fees. Each prepared action's review shows the costs it reports before you confirm. Today's terms make no commitment about future fees.

Getting started

  1. Sign in to app.circuit.org with a passkey.
  2. Create a wallet or import an existing one by private key.
  3. Fund it with crypto, a transfer from an exchange, or a debit card through MoonPay.
  4. Open an agent from the live agent list, choose an allocation and start it. Agents start in paper trading by default. Papertrade agents start with real money.
  5. When the results convince you, start the same agent with real money. Pause, resume, top up or stop it from your home screen.

FAQ

Can you use a trading agent on Hyperliquid?

Yes. Hyperliquid is an onchain order book. Circuit agents place perp, spot and outcome orders on it from your wallet's HyperCore account. Agents start in paper trading by default. You can watch one trade the live book with simulated funds first.

Do I need a separate Hyperliquid account?

No. Agents trade from the Hyperliquid account of the wallet you start them on. Orders require unified account mode. Circuit enables it for wallets it creates.

Can an agent close my manual positions?

No. An agent acts only on what its own session opened. Its reduce orders are capped at the session's position. It can cancel only orders it placed.

How much money do I need to run a Hyperliquid agent?

Each agent sets a minimum allocation at Start from its sizing. Circuit rejects new Hyperliquid orders under $10. An agent that splits $50 into five rungs could never place one. Top-ups have no minimum.

Can a 1x long on Hyperliquid be liquidated?

It is very hard but not impossible. At 1x the liquidation price sits near zero. Fees and funding paid from margin raise it over time. A 1x short can be liquidated after roughly a doubling in price.

How often is Hyperliquid funding paid?

Every hour as of October 2026. The payment is position size × oracle price × funding rate. Hyperliquid caps funding at 4% per hour.

Does Circuit take a cut of Hyperliquid profits?

No. Circuit charges no fees today and adds no builder fee to Hyperliquid orders. You pay Hyperliquid's trading fees and funding.

Build it on Circuit

Circuit writes the agent and backtests it. Paper trade it before you fund it.

Build your agent