πŸ’‘Hyperliquid Grid Bot

What is a Grid Bot?

A Grid Bot is an automated trading strategy that places multiple buy (Long) and sell (Short) orders at preset price intervals, creating a "grid" of orders. It profits from natural market volatility by buying low and selling high repeatedly β€” without requiring you to predict market direction.

How it works: The bot divides your chosen price range into equal levels (grids). When price drops to a grid level, it opens a long position. When price rises to the next level, it closes for profit. This cycle repeats automatically 24/7.


Prerequisites

Before you start, make sure you have:

  • A Hyperliquid API Wallet β€” Add one through Dextrabot's Wallet Management. See the How to Get API Key documentation for detailed steps.

  • USDC Balance β€” Fund your Hyperliquid wallet with USDC. Minimum depends on your leverage settings.


Quick Start Guide

Get your grid bot running in under 5 minutes:

  1. Go to Terminal β€” Navigate to app.dextrabot.com/terminal/BTC (or any trading pair)

  2. Make sure Hyperliquid is selected β€” Check the toggle in the top-left corner shows Hyperliquid (not Lighter)

  3. Select Grid Bot β€” On the right panel, click the Hyperliquid Grid Bot tab

  4. Choose Wallet β€” Select your funded Hyperliquid wallet from the dropdown

  5. Configure Settings β€” Set your price range, number of grids, and investment amount (or click Autofill for suggested values)

  6. Start! β€” Click the green Start button and let the bot do its magic ✨


Configuration Parameters

Here's a detailed breakdown of each setting:

Hyperliquid Wallet

Select the wallet you want the bot to trade with. Shows wallet address and current USDC balance.

Price Range

Lower & Upper: Define the price boundaries for your grid. The bot only operates within this range.

Number of Grids

How many grid levels to create (2-36, even numbers only). More grids = more frequent smaller trades. Fewer grids = less frequent larger trades.

Grid Type

  • Arithmetic: Equal dollar spacing between grids.

  • Geometric: Equal percentage spacing. See next section for details.

Step

Auto-calculated price distance between each grid level. Depends on your price range and number of grids.

Investment

Amount in USDC to allocate to the bot. Use the slider (25%-100%) or type a custom amount.

Leverage

Multiplier for your position size (depends on asset). Higher leverage = higher potential profit AND risk.

Margin Mode

Currently only Cross Margin is supported. Your entire account balance serves as collateral.

Est. Liq Long/Short

Estimated liquidation prices for long and short positions. If price reaches these levels, positions may be liquidated.


Supported Trading Pairs

The Grid Bot supports all perpetual trading pairs available on Hyperliquid, including:

  • BTC/USD

  • ETH/USD

  • SOL/USD

  • HYPE/USD

  • And 100+ more...

Simply navigate to the desired pair in the Terminal (e.g., /terminal/ETH) and the Grid Bot will automatically adjust to that market.


Bot Behavior

When You Click Start

The bot immediately places orders at each grid level based on your configuration. The number of orders equals the number of grids you selected.

During Operation

  • When price drops to a grid level β†’ Bot opens a long position

  • When price rises to the next grid level β†’ Bot closes for profit

  • This cycle repeats as price oscillates within your range

When You Click Stop

The bot stops placing new orders. Existing positions remain open until they hit their targets or you manually close them on Hyperliquid.

Restarting the Bot

To restart: Click Stop β†’ Wait for open orders/positions to close β†’ Click Start again with your desired settings.


Monitoring Your Bot

Since the bot trades directly on Hyperliquid, you can monitor your positions through:

  • Hyperliquid DEX: Visit app.hyperliquid.xyz to see your open positions, order history, and PnL

  • Dextrabot Terminal: The order book on the left shows current market depth

Last updated