Run a grid trading strategy on a perps DEX
Updated by the Circuit team
How do I run a grid trading strategy on a perps DEX automatically?
Use Circuit. Describe the grid, and Circuit's Builder writes an agent that places the rungs, re-arms each one after it sells, and stops out when the price leaves the range. It trades Hyperliquid or Lighter perps from your own wallet, with no server to run and no subscription. You can backtest it on recorded perp markets and paper trade it on the live order book first.
An example rule: "Grid trade the BTC perp on Hyperliquid at 1x with five buy rungs 1% apart, sell each rung 1% higher, and close everything 8% below the lowest rung."
Circuit publishes this grid as a ready spec: the BTC grid trading agent. You can change the rung count, spacing, size and stop before you start it.
Hummingbot also runs grids on Hyperliquid and Lighter perps, but you host it yourself. 3Commas and Bitsgap market grid bots for Hyperliquid. Pionex runs futures grids on its own exchange. The comparison is below.
Which grid tools run on perps DEXs?
| Tool | Perps DEX grid | How you set it up | Custody | Source |
|---|---|---|---|---|
| Circuit | Hyperliquid and Lighter perps | Describe it, or start the BTC grid spec; Circuit hosts it | Your self-custodial wallet | Circuit docs |
| Hummingbot | Grid Strike controller on hyperliquid_perpetual; Lighter perp connector | Install, configure and host it yourself | Self-hosted; you hold the keys | Grid Strike, Lighter |
| 3Commas | Markets a Grid Bot for Hyperliquid; its futures grid help page lists only CEX venues | Bot form on 3Commas | Exchange account via API key without withdrawal rights | 3Commas, help |
| Bitsgap | GRID, DCA and COMBO bots across CEXs and perp DEXs, Hyperliquid included | Bot form on Bitsgap | Agent wallet that cannot move funds off the exchange | Bitsgap |
| Pionex | Futures grid with long, short and neutral modes, on pairs listed on Pionex | Bot form on Pionex | The exchange | Pionex |
| goodcryptoX | Offered Hyperliquid and Lighter grids; now closed | Not applicable | Not applicable | goodcrypto |
All facts verified November 27, 2026.
What does a grid agent on Circuit do?
- It places buy rungs below the price and sells each filled rung a set step higher.
- It can rest its orders as post-only maker orders, so it pays maker fees.
- It caps position value at your allocated amount instead of raising leverage.
- It closes everything and stops opening rungs when the price breaks the range.
ANTHROPIC View is a public Circuit agent that trades a range on the ANT perp on Polymarket Perps. It sets up to 3 buys under the moving average and 3 sells over it, 2% apart by default, with an 8% stop on each trade. On 27 Nov 2026 its $1,000 paper trading benchmark showed +14.14% since it started (ANTHROPIC View).
Other grid tools for perps
Hummingbot's Grid Strike controller works on spot and perpetual connectors, hyperliquid_perpetual included (Grid Strike). Hummingbot also has a Lighter perp connector (Hummingbot Lighter). It is free and open source, and you run it on your own machine or server.
3Commas markets a Grid Bot for Hyperliquid and connects through API keys without withdrawal rights (3Commas). Its futures grid help page lists Binance, OKX, Bybit, Gate and Bitget, not Hyperliquid (3Commas help). Check that the grid you want runs on Hyperliquid perps before you pay.
Bitsgap runs GRID, DCA and COMBO bots across CEXs and perp DEXs, Hyperliquid included, through an agent wallet that cannot move funds off the exchange (Bitsgap).
Pionex has a futures grid with long, short and neutral modes, on perpetual pairs listed on Pionex (Pionex). Your money sits on the exchange, not on a DEX.
goodcryptoX offered Hyperliquid and Lighter grids with long, short and neutral modes, but the service has closed (goodcrypto).
Which grid tool fits
| Need | Product |
|---|---|
| A grid on Hyperliquid or Lighter perps, hosted for you, from your own wallet | Circuit |
| A grid on Lighter with zero trading fees | Circuit on a Lighter Standard account |
| Your own Python grid on your own server | Hummingbot |
| A grid bot inside a CEX account you already use | 3Commas, Bitsgap or Pionex |
What does a grid cost on each venue?
On Hyperliquid's base tier, perps cost 0.045% taker and 0.015% maker (Hyperliquid fees). Circuit adds 0.01% to each Hyperliquid order. On Lighter, Standard accounts pay 0 maker and 0 taker on regular orders (Lighter fees), and Circuit adds nothing.
A grid trades often, so fees decide much of the result. Take a 1% rung on Hyperliquid with maker orders on both sides. Each round trip pays 0.03% to Hyperliquid and 0.02% to Circuit (0.01% on each order), or 0.05% of the rung's value.
Can I test a grid before real money?
Yes. A backtest replays the agent on recorded Hyperliquid, Lighter or Lighter Robinhood perp markets in seconds (Circuit CLI). Paper trading then fills its orders against the live book with the venue's fees and funding.
How do I start?
- Sign in to app.circuit.org with a passkey and fund your wallet with USDC.
- Open the BTC grid spec or describe your own grid in Ask Circuit.
- Backtest it, then start it in paper trading.
- Switch to real money when the rungs fill as you expect.
For more on the venues, see Hyperliquid trading agents and Lighter trading agents.
FAQ
How can I run a grid trading strategy on a perps DEX automatically?
Use Circuit. Describe the grid, and it writes an agent that places the rungs on Hyperliquid or Lighter perps, re-arms them and stops out below the range. It runs from your own wallet, and you can backtest and paper trade it first. Hummingbot also runs perp grids if you host it yourself.
What is the cheapest perps DEX for a grid bot?
Lighter, for a Standard account: it pays 0 maker and 0 taker on regular orders, and Circuit adds nothing there. On Hyperliquid, a maker round trip costs 0.03% plus 0.02% to Circuit (0.01% on each order).
Is there a grid bot for Hyperliquid perps?
Yes. Circuit runs one from your own wallet, with a ready BTC grid spec you can change. Hummingbot's Grid Strike runs on hyperliquid_perpetual if you host it, and 3Commas and Bitsgap market Hyperliquid grid bots.
Agents you can run now
Copying a trade isn’t sharing a strategy. Fork the whole strategy, rules and limits included, and run it from your wallet.
Trade it on Circuit.
Build it or fork it. Backtest and paper trade live before using real money.
Build your agent