What is Grid Trading?

A grid bot places buy orders at regular intervals below current price and sell orders above. As price oscillates within your range, the bot captures small profits on each completed grid level. Best for sideways/ranging markets. See our complete grid trading guide.

SIGNAL EXECUTE ● P&L: +$847 ● Trades: 142 ● Win: 67% How To Set Up Grid Trading Bot

Step-by-Step Setup

1. Choose Platform

Pionex (free built-in bots), OKX (AI-assisted parameters), Bybit (integrated bots), 3Commas (multi-exchange). For leverage grid: PrimeXBT via API with 3Commas.

2. Select Trading Pair

Best pairs for grid: BTC/USDT, ETH/USDT (high liquidity, predictable ranges). Avoid low-liquidity altcoins (slippage kills grid profits).

3. Set Price Range

Upper limit: resistance level or +10-15% from current price. Lower limit: support level or -10-15%. The range should capture the expected oscillation zone for your timeframe.

4. Configure Grid Levels

More grids = smaller profit per trade but more trades. Fewer grids = larger profit per trade but fewer opportunities. 20-50 grids is typical for BTC/USDT on a 10% range. Each grid profit should exceed your fee costs (minimum ~0.2% grid spacing on most exchanges).

5. Set Investment Amount

The bot splits your capital across all grid levels. $1,000 across 20 grids = $50 per grid level. Ensure each level is large enough to justify the fees.

6. Monitor and Adjust

Check daily: is price within your grid range? If price breaks above — your capital is fully in USDT (missed upside). If price breaks below — your capital is fully in the asset (unrealized loss). Adjust range when market conditions change.

What Is Grid Trading?

Grid trading is a strategy that places multiple buy and sell orders at pre-set price intervals within a defined range. Imagine a ladder of orders: the bot buys when price drops to each rung and sells when it rises back up. Every completed buy-sell cycle captures profit equal to the grid spacing, regardless of the overall market direction.

Grid bots work best in sideways (ranging) markets where price oscillates within a band. In trending markets (strong up or strong down), grids can accumulate heavy positions on the wrong side. Understanding when to deploy and when to shut off a grid bot is the key to profitability.

Grid Trading: Real Numbers Example

Let us walk through a concrete example with BTC/USDT:

ParameterValue
BTC current price$65,000
Grid lower bound$60,000
Grid upper bound$70,000
Number of grids20
Grid spacing$500 (= $10,000 range / 20 grids)
Investment per grid$250
Total investment$5,000
Profit per completed grid$1.92 (0.77% per cycle)

Every time BTC drops $500, the bot buys $250 worth. Every time it rises $500 from a buy, the bot sells. If BTC oscillates 5 times within the $60K-70K range, you complete multiple grid cycles and accumulate profit regardless of where BTC ends up — as long as it stays within the range.

Step-by-Step: Setting Up on Bybit

  1. Log in to Bybit and navigate to Trading Bots section.
  2. Select "Grid Bot" and choose the trading pair (e.g., BTC/USDT).
  3. Set the price range. Use recent support as lower bound and resistance as upper bound. Check the 4H chart for the clearest range. A good starting range is the 30-day high/low.
  4. Choose the number of grids. More grids = more trades but smaller profit per trade. For BTC: 10-20 grids for a $10K range. For altcoins: 15-30 grids for a 20-40% range.
  5. Set investment amount. Start small ($200-500) while you learn. The bot divides this equally across all grid levels.
  6. Choose arithmetic or geometric grid. Arithmetic: equal dollar spacing between grids. Geometric: equal percentage spacing. Geometric is better for volatile assets where you want wider grids at higher prices.
  7. Launch the bot. Monitor daily, not hourly. The bot handles all trading.

Best Platforms for Grid Trading

PlatformGrid Bot FeeMax GridsAI SuggestionBacktestingBest For
BybitStandard trading fees200YesYes (7-day)Best all-around, good UI
OKXStandard fees200YesYesAdvanced settings, grid+DCA combo
BitgetStandard fees150YesYesCopy top grid traders
3Commas$29-99/month + exchange feesUnlimitedYesYes (extensive)Multi-exchange, most customization
Pionex0.05% per trade150YesYesLowest fees, grid-first platform

Grid Trading Parameters: How to Choose

Price Range Selection

The most important decision. Too narrow = frequent trades but bot stops working when price breaks out. Too wide = infrequent trades and capital inefficiency. Rules of thumb:

  • BTC: Use the 30-60 day range. BTC typically fluctuates 15-25% within 30 days during sideways markets.
  • ETH: Slightly wider range (20-35% of current price). ETH is more volatile than BTC.
  • Altcoins: Use 30-50% range. Alt volatility is extreme.

Number of Grids

More grids = more trades = more fees. Fewer grids = fewer trades = more profit per trade. The optimal number depends on the range width and expected volatility. For BTC in a $10K range: 15-20 grids is optimal. For a $5K range: 8-12 grids.

When to Stop the Bot

Stop the grid bot immediately if:

  • Price breaks decisively below your lower bound (you are accumulating a losing position)
  • A major market event changes the trend direction (Fed rate decision, major hack, regulation news)
  • The bot has been running for 30+ days with declining performance (the market range shifted)

Advanced Grid Strategies

Grid + DCA (Dollar Cost Average)

Run a grid bot for regular income while DCA-ing a portion of profits into a long-term hold. Example: grid bot on BTC/USDT generates $50/week profit. Auto-invest 50% of that profit into a separate ETH hold. You are using active trading income to build passive positions.

Multi-Grid Setup

Run separate grids on uncorrelated pairs. BTC/USDT + SOL/USDT + a stablecoin pair. If BTC drops and breaks your BTC grid, the stablecoin grid may still be profitable. Diversification reduces the risk of all grids failing simultaneously.

Futures Grid (Advanced)

Grid trading on futures allows leverage (2-5x recommended maximum for grids) and the ability to profit from downward grids (short grids). More capital efficient but dramatically higher risk. Only for experienced traders who understand liquidation. Never use more than 3x leverage on a futures grid.

Realistic Expectations

Grid trading is not a money printer. Realistic annual returns in a sideways market: 15-40% for BTC grids, 25-60% for altcoin grids (higher risk). In a strong trending market, a grid bot can lose money: if BTC drops from $65K to $45K, your grid bot bought all the way down and is sitting on unrealized losses. Grid trading requires active monitoring and market condition assessment — it is semi-passive, not fully passive.

Free Calculator
Crypto Tax Calculator
Calculate crypto capital gains and tax obligations with FIFO/LIFO methods.
Calculate Tax →

Frequently Asked Questions

How much money do I need to start grid trading?

Minimum $100-200 on most platforms. However, with too little capital, trading fees eat into profits. $500-1,000 is a practical starting amount for BTC grids. For altcoin grids, $200-500 works.

Is grid trading profitable?

In ranging markets: yes, consistently. In trending markets: it can lose money. The skill is identifying when the market is ranging versus trending, and only running grids during sideways conditions. Most profitable grid traders run bots 60-70% of the time and sit out during strong trends.

Grid trading vs. holding — which is better?

In a strong bull market, holding outperforms grid trading (the grid sells too early). In a sideways market, grid trading outperforms holding (it captures oscillation profits). In a bear market, both lose money, but a well-managed grid with stop-loss limits the downside. Many traders hold BTC/ETH for long-term and run grid bots on a separate capital allocation.

Risk Disclaimer: Crypto trading involves significant risk. Contains affiliate links.