ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

openmm-grid-trading

Create and manage grid trading strategies with OpenMM. Automated buy/sell around center price.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/adacapo21/openmm-grid-trading
Or

OpenMM Grid Trading

Create automated grid trading strategies that profit from market volatility.

What is Grid Trading?

Grid trading places multiple buy and sell orders at preset price intervals around the current center price. As price oscillates, the bot automatically:

  • Buys low — places buy orders below the center price
  • Sells high — places sell orders above the center price
  • Profits from volatility — each complete cycle captures the spread

The grid uses levels per side and spacing to distribute orders. With 5 levels and 2% spacing (linear), orders are placed at 2%, 4%, 6%, 8%, 10% from center on both sides (10 total orders).

When to Use

Good for:

  • Sideways/ranging markets
  • High volatility pairs
  • Passive income generation
  • 24/7 automated trading

Avoid when:

  • Strong trending markets (risk of holding losing positions)
  • Low liquidity pairs
  • High fee environments

Quick Start

1. Dry Run First (Always!)

openmm trade --strategy grid --exchange mexc --symbol INDY/USDT --dry-run

2. Start Grid with Defaults

openmm trade --strategy grid --exchange mexc --symbol INDY/USDT

3. Custom Configuration

openmm trade --strategy grid --exchange mexc --symbol INDY/USDT \
  --levels 5 \
  --spacing 0.02 \
  --size 50 \
  --max-position 0.6 \
  --safety-reserve 0.3

4. Stop the Strategy

Press Ctrl+C to gracefully stop. The system will:

  1. Cancel all open orders
  2. Disconnect from exchange
  3. Display final status

Command Options

Required Parameters

  • --strategy grid — Specifies grid trading strategy
  • --exchange <exchange> — Exchange to trade on (mexc, bitget, gateio, kraken)
  • --symbol <symbol> — Trading pair (e.g., INDY/USDT, SNEK/USDT, ADA/EUR)

Grid Parameters

ParameterDescriptionDefault
--levels <number>Grid levels each side (max: 10, total = levels x 2)5
--spacing <decimal>Base price spacing between levels (0.02 = 2%)0.02
--size <number>Base order size in quote currency50
--confidence <decimal>Minimum price confidence to trade0.6
--deviation <decimal>Price deviation to trigger grid recreation0.015
--debounce <ms>Delay between grid adjustments2000
--max-position <decimal>Max position size as % of balance0.8
--safety-reserve <decimal>Safety reserve as % of balance0.2
--dry-runSimulate without placing real orders

Dynamic Grid Parameters

ParameterDescriptionDefault
--spacing-model <model>linear, geometric, or customlinear
--spacing-factor <number>Geometric spacing multiplier per level1.3
--size-model <model>flat, pyramidal, or customflat
--grid-profile <path>Load grid config from a JSON profile file

Metadata

Author@adacapo21
Stars2387
Views0
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-adacapo21-openmm-grid-trading": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#openmm#grid#trading#strategy#automation
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.