Skip to content

Continued Grid Mode

Continued Grid Mode lets QuantFin Bot “pick up where it left off,” maintaining ever-increasing order sizes and skipping already-filled grid levels—then cycling back once all levels have been consumed.

How It Works

  1. Initial Grid Build
  2. Bot computes a set of price levels around the live midpoint (or entry price clamp).
  3. Bot computes an array of quantities for each level (using dynamic distribution or fixed grid).
  4. All levels are placed as limit orders.

  5. Tracking Filled Levels

  6. After fills, the bot sums through your saved quantities until the cumulative total exceeds your current position.
  7. That index becomes first_unfilled_level_index—levels below it are considered “filled.”

  8. Subsequent Grid Placement

  9. On each refresh, bot recomputes all prices and all quantities (never shrinking below the largest-ever–placed size).
  10. It then skips levels 0…first_unfilled_level_index−1 and places only the remaining suffix.

  11. Wrap & Repeat

  12. Once first_unfilled_level_index equals the total number of levels, the bot resets it to 0 and starts a fresh cycle—quantities still respect the maximums you’ve already reached.

Configuring Continued Grid Mode

  1. Open the Frontend
    Navigate to quantfin.dexalgo.org and connect your SUI wallet.

  2. Select a Symbol
    In the Trading Symbols panel, click on your symbol (e.g., SUI-PERP).

  3. Open Update Config
    Scroll to the Update Config panel in the sidebar.

  4. Enable Continued Grid Mode

  5. Under the Grid tab, toggle Continued Grid Mode on.
  6. Optionally adjust Grid Levels, Level Step, Grid Span, and Order Qty to suit your strategy.

  7. Save & Restart

  8. Click Update Config.
  9. If the bot is running, click Stop Bot, then Start Bot to apply changes.

Example

  • Grid Levels: 8
  • Level Step: 1%
  • Order Qty: 1.0
  • Continued Grid Mode: On

  • Bot places 8 buy orders at progressively lower prices, each for 1.0 units.

  • You fill levels 0–2 (cumulative ~3.0).
  • Next refresh, first_unfilled_level_index = 3 → bot places levels 3–7 only.
  • After filling through level 7, index wraps to 0 → a fresh 8-level grid is placed around the new midpoint.

Monitoring Continued Grid Mode

  • Console Logs panel: look for entries like