AI Traders
Grid bot
Available

Grid trading for ranging markets

Place a net of buy and sell orders in a defined range. The bot buys at lows and sells at highs within the grid. In sideways markets, profit is possible; in strong trends, losses occur.

Grid is trading with sideways oscillations: price breathes up and down in a corridor, the bot buys at grid lows and sells at grid highs. Each cycle is a fixed size, but profit is not guaranteed—strong trends will result in losses.

When grid works

Grid trading may be profitable in a sideways market: price breathes around a center, the bot buys at grid lows and sells at grid highs. Each cycle generates a fixed size, but profit is not guaranteed. Over a long horizontal period, the sum of cycles may reach a few percent on active capital—but this depends entirely on volatility and parameter accuracy.

Grid fails on strong trends: price breaks the range, leaving a single big position against the move. So grid in AI Traders always pairs with a trend filter (ATR + moving average) — if the market accelerates in one direction, the bot pauses until the regime returns.

What's inside

Arithmetic and geometric

Grid step as fixed price delta (arithmetic) or percentage (geometric). Geometric is better for volatile coins, arithmetic for stable.

Whole-grid breakeven

Not "every trade profitable," but "average price of all open longs is covered by upper TP." Funding and fees included.

Trend filter

ATR-based trend detector. Volatility spike or strong MA signal — bot freezes new orders, existing ones run to completion.

TP/SL on breakout

Stop loss triggers if price exits the lower bound by more than 1× ATR. Take profit on upper breakout — scenario where market entered a strong uptrend.

180-day backtest

Walkforward on real Hyperliquid data with funding and slippage. Not cherry-picked — rolling window, separated in-sample / out-of-sample.

No infinite grids

Every grid has a safety-slot cap and total-capital cap. "Infinite grid" with growing longs is disabled by design — that's the road to liquidation.

Set up in 60 seconds

01

Pick a pair and range

Manual (14-day high/low) or auto-pick from ATR. Narrow range = many trades, small profit; wide range = fewer trades, more profit.

02

Step and grid type

Arithmetic for stable pairs (ATOM, ARB). Geometric for volatile (DOGE, INJ).

03

Trend filter

On by default. Wide range (>15%)? You can disable it, but trade frequency drops.

04

Paper and live

7 days paper. Then live with a capital cap you set yourself.

Grid FAQ

What if price exits the grid range?+
With SL on, the position closes at lower bound − 1× ATR. With SL off, it stays open until price returns to the range. SL is on by default.
Can grid run short?+
Yes. Direction is a parameter. Short-grid is logical in a bearish channel where "sell highs, buy lows" works in mirror.
How is grid different from DCA?+
DCA = one-direction averaging toward target breakeven. Grid = two-direction trading inside a range, every trade closed at TP. DCA accumulates a position; grid extracts volatility.
How many orders simultaneously open?+
10 buy levels and 10 sell levels by default. Tunable. Hyperliquid allows up to 50 per pair; we stay below for manageability.