Set the right grid count to balance capture and risk

Trading Bot How Many Grids to Use

In brief

Use a grid count you can fund at an order size that meets exchange minimums, with spacing that leaves room for fees. More grids are useful only if the smaller price moves they target justify the cost and capital required. There is no single best count: start with market movement, trading costs and your available budget, then compare configurations under the same conditions.

A closer look

How count affects spacing depends on the bot. In a fixed-range grid, more levels within the same upper and lower boundaries mean tighter intervals. Standard Gunbot Gridbots uses separate controls: Steps % sets spacing, while Max grid orders (MAX_GRID_ORDERS) sets the maximum active buy orders and sell orders on each side. Choose the spacing first, then decide how many orders your cash and coin inventory can support.

Dashboard in the Gunbot Live preview workspace
Gunbot Live preview workspace. Market data, orders and results are simulated.

How Many Grids Should You Use in Trading Bots?

Work backward from the funding each order needs. For example, five buy orders at 20 USDT each reserve 100 USDT before fees. Funding roughly five full-size sells also needs about 100 USDT worth of coin at the funding price; exact quantities depend on sell prices. Keep fees and your cash reserve separate. These figures illustrate funding, not recommended settings. If Use rebalance is enabled, an inventory purchase can spend order size multiplied by MAX_GRID_ORDERS at once, so budget for that purchase as well as the buy ladder. Available balances and buy/sell permissions can leave fewer active orders than your configured maximum.

Choose Spacing Around Costs

Tighter intervals target smaller moves but leave less room for fees and execution costs. Wider intervals require larger moves between levels; extra fills alone are not a reason to tighten them.

Check Per-Order Funding

Buy orders reserve cash; sell orders reserve coin. Check both exchange minimums and available balances before increasing the active maximum.

Separate Count from Exposure

MAX_GRID_ORDERS limits active orders per side, not lifetime buys or total exposure. Further buys can follow fills. Review investment limits and remaining holdings separately.

Map Spacing to Gunbot

Steps % accepts a positive percentage for manual spacing or auto for Average True Range (ATR) spacing. The ladder follows the market; the standard editor has no user-defined upper and lower range boundaries.

More active orders need funding. Tighter spacing needs enough price movement to cover costs. Test those two choices separately.

Trading chart and order history in the Gunbot Live preview workspace
Gunbot Live preview workspace. Market data, orders and results are simulated.

How to Compare Grid Counts Fairly

Keep the market, dates, starting balances, per-order size and fees the same when comparing active order counts. In standard Gunbot Gridbots, hold Steps % constant and change MAX_GRID_ORDERS first; fewer active orders do not automatically widen spacing. Then test a spacing change separately. Include sideways, rising and falling periods: repeated reversals can produce fills, while a sustained decline can accumulate coin and a sustained rise can sell down inventory. Compare wallet value, drawdown, fees and remaining holdings alongside trade count. Profitable sells can coexist with unrealized losses, and no grid count guarantees profit. Follow the GridBot setup guide below for funding controls and current backtesting limitations.

Been using Gunbot for 3 years now! 💎 Huge thanks to the Gunbot team for creating such an amazing bot and consistently delivering awesome updates. Keep up the great work! ❤

IMMD
Trader

The most effective crypto trading software is Gunbot; I tested several other platforms, and none matched its performance—yes, I tried the others during a bull run and still got not the best result as with Gunbot!

AL2021
Trader

I’m a rocky in this world and very surprise that I’m on the leaderboard must I say. I tried other platforms but Gunbot is the best because there is a very helpful community and developers. I tried some strats and at the end I’m very happy with MFrider for a mid / longterm.

Darkpapa
Trader
Gunbot Unlimited

Full Gunbot access. One subscription.

Full access to every Gunbot feature, with ongoing updates.

  • The full Gunbot toolkitBuilt-in strategies, DeFi, BitRage arbitrage, visual backtesting and Gunbot Replay.
  • Built for active tradersAutomate, test, analyze, and manage multiple bots from one modern workspace.
  • Always up to dateGet ongoing product improvements, security updates, and new Unlimited features as they ship.
Legacy license holdersAlready own a lifetime Gunbot license?

See your upgrade offer for Gunbot Unlimited.

For existing registered lifetime owners only.
View upgrade offer
Bot runs on your own deviceMonthly or prepaid billingWindows, Mac, and Linux
Full access
Subscription

Gunbot Unlimited

€ 29/month
Full access to every Gunbot feature, with ongoing updates.
  • ✓Spot, futures, DeFi, and arbitrage
    Use the complete Gunbot trading toolkit across centralized and decentralized markets.
  • ✓Unlimited exchange access
    Trade on all supported exchanges with unlimited API keys and exchange connections.
  • ✓Multi bot workspace. Cloud or self hosted.
    Easily manage trading bots through a single, modern interface. Use our hosted version, or run it from your own hardware.
  • ✓Large trading strategy library
    Use the full library of built-in spot, futures, grid, DCA, trend, and custom strategy workflows.
  • ✓AI agents for strategy development and bot review
    Review bot activity, prepare settings drafts and develop custom JavaScript. Connect your own AI provider; API usage may incur separate charges.
  • ✓MetaTrader 4/5 & NinjaTrader 8 integrations
    Run Gunbot automated trading strategies with either platform. Broker, platform and market-data access are separate.
  • ✓Advanced backtesting toolkit
    Backtest strategies with historical market data, trade-path charts, and performance metrics before deploying live.
  • ✓Arbitrage and risk management
    Access arbitrage workflows plus capital controls, stop limits, DCA safeguards, and automated risk rules.
  • ✓For Windows, Mac, Linux
    Runs locally on all major desktop systems.
Get Gunbot Unlimited

Secure payments. Cancel anytime.

Have questions on configuring trading bot grid settings?

Reach out to us

Explore advanced settings and customization options

Further Resources on Grid and Strategy Customization

Use the standard Gunbot Gridbots setup guide for the actual editor controls, funding behavior and limitations, then validate changes before running live.