Tools · simulator

Grid Bot Range Simulator

Grid bots buy low and sell high across a pre-set price range. Profitability depends on how many fills the price action triggers and how tight your grid is. This simulator gives you a first-pass estimate: per-fill profit, fills per cycle at 100% range use, and an annualized net return assuming fair number of cycles. Good for deciding if a pair is worth configuring before you commit capital.

Grid setup

Simulation

Estimated APR17.9%at 12 full cycles / year
Per-cycle profit$148.7519 fills
Per-fill profit$7.831.566% net
Grid spacing1.646%geometric
Capital / grid$500.00
Range36.4%min to max

How the math works

  • Spacing = (max_price / min_price)^(1/(grids - 1))
  • Per-fill profit % = spacing − 1 − 2 × taker_fee
  • Capital per grid = total / grids
  • Per-fill USD profit = capital_per_grid × per_fill_pct
  • Annualized = per_fill × fills_per_year

Real grid bots also pay funding if held on perps (not modeled here), and you'll miss fills during extended trends. Use this as the best-case ceiling, expect 40-70% of the theoretical number in practice.

Related

DCA backtester
Lump-sum vs DCA comparison
Position sizer
R-based sizing
Funding arb calc
Cross-exchange spread