Core Pages
Grid Bot
9 min read
What it is
Places N buy and sell orders at evenly-spaced price levels across a range. As price oscillates inside the range, each grid line crossed locks in a small profit. Four variants — Spot (buy-low/sell-high on real spot inventory), Futures (leveraged), Infinity (no upper bound, accumulation mode), Reverse (sells the bounces). Real CCXT execution, no simulation.
How to think about it
Grid Bot is the platform's flagship "set-and-forget" tool for SIDEWAYS markets. It does NOT work in strong trends — price walks out of your range, leaving you either holding all base (bad) or all quote (worse). Pick the range carefully and Grid is one of the most consistently profitable retail bots. Pick it wrong and you bleed slowly.
Step-by-step
-
Variant Selector (top of form) — pick the right kind of grid
SPOT = classic, buy-low/sell-high on real inventory. FUTURES = leveraged version (5-20× typical). INFINITY = no upper bound, only buys grids below current price as price drops; ideal for accumulation. REVERSE = inverts; sells bounces in a downtrend.
-
TradingView chart (top of form)
Use the chart to pick your range. Identify the recent SUPPORT (your lowPrice) and RESISTANCE (your highPrice). The range MUST be one price has actually visited and bounced within over the last 7-30 days.
-
Exchange + Pair
Select which connected CEX runs the bot. Pair search by substring (BTC, ETH/USDC). Each exchange has different pair availability — Binance ~2000+, Coinbase ~600, Kraken ~500. Pick a pair with HIGH 24h volume (>$10M) for tight spreads.
-
Range — Low price + High price
The two ends of your grid. Buy orders sit between lowPrice and current; sell orders between current and highPrice. Range should be a CHART RANGE that has actually held over the last 1-4 weeks. Auto-preview updates a few seconds after you change these.
-
Grid count (default 20)
How many lines to spread across the range. More grids = smaller per-grid moves needed to profit, but smaller profit per crossing and more exchange fees. Fewer grids = bigger profit per crossing but needs bigger moves. Sweet spot: 15-30 grids for most pairs.
-
Total amount (USD)
Capital allocated to the bot. Half is held as base (BTC), half as quote (USDC) at start, then rebalances as grids fire. Start with $100-500 for your first grid — you want to see how it behaves before scaling.
-
Mode — Arithmetic vs Geometric
ARITHMETIC: grids are EQUALLY SPACED in absolute price ($1k, $1.1k, $1.2k, ...). GEOMETRIC: grids are EQUALLY SPACED in PERCENT (1k, 1.1k, 1.21k = +10% each). Geometric is mathematically better for crypto (matches its multiplicative nature) but Arithmetic is more intuitive. Pick Geometric if unsure.
-
Futures-only: Leverage + Margin Mode
Only shown when Futures or Reverse variant is selected. Leverage 1-25× typical (anything >25× is dangerous for grids — small adverse moves liquidate). Margin mode: ISOLATED (cap loss to position margin) or CROSS (use whole account; ONE bad position can wipe everything).
-
Preview panel
Auto-updates after you finish typing range + count + amount. Shows: estimated grid spacing, capital per grid line, expected profit per crossing, max drawdown if price hits range edge. Use this to validate your config makes sense BEFORE deploying.
-
Deploy
Places all N orders on the exchange via CCXT. Page switches to Live tab. Bot starts running immediately — first orders should sit on the book within seconds.
-
Live Bots tab
List of running grids with status (running / stopped / failed), unrealized P&L, realized P&L from grids crossed, fills count. Click any bot for the detail panel: full order ladder, realized P&L per grid line, drift banner (warns when exchange-side balance disagrees with platform-side tracking).
-
Stop a grid
Cancels all open orders. Any inventory you currently hold (base + quote) stays in your exchange wallet. Stopping does NOT close positions — it stops new trades from firing.
Tips & pitfalls
- Grid bots WORK in sideways markets (ranging) and FAIL in strong trends. Check Market Trends + Forecasting before deploying. If Trend Direction is "Bullish" or "Bearish" with strength >60%, do NOT deploy a grid yet.
- Pick the range FROM THE CHART, not from feelings. The right range is one where price has bounced multiple times over the last 1-4 weeks. Use TradingView's ruler tool to confirm bounces happened at those levels.
- Range that's too wide → grids never fire (price stays in middle). Range that's too narrow → price walks out fast. Aim for a range covering 1-2 standard deviations of recent price (roughly the visible high-low of the last 7-14 days).
- Geometric mode beats arithmetic on volatile crypto pairs because the grid spacing matches price's natural multiplicative behavior. Use Geometric unless you specifically want arithmetic and have a reason.
- 20 grids × $100 total = $5 per grid line. At a 1% spacing, each crossing nets ~$0.025 after fees. Sounds small — but a volatile pair crossing 50+ grids per day adds up. Track the realized P&L card.
- Infinity grids never sell above current price — they only accumulate cheaper as price drops. Use them when you WANT to accumulate (e.g. BTC during a bear market) but worry that DCA Safety won't fire often enough.
- Reverse grids sell into bounces during downtrends — useful for trimming a position you already hold while it bleeds. Most users don't need this; skip unless the downside hedge is what you want.
- Futures variant with leverage doubles your profit/loss per crossing but ALSO multiplies your liquidation risk. Use 2-3× leverage max for grids; 10×+ on grids is a common way new users blow up accounts.
- When in doubt, paper-trade the grid for a week first via Paper Trading. The simulation runs against real OHLCV so you see how often grids actually fire vs your expectation.