openmm-grid-trading
Create and manage grid trading strategies with OpenMM. Automated buy/sell around center price.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/adacapo21/openmm-grid-tradingOpenMM 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:
- Cancel all open orders
- Disconnect from exchange
- 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
| Parameter | Description | Default |
|---|---|---|
--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 currency | 50 |
--confidence <decimal> | Minimum price confidence to trade | 0.6 |
--deviation <decimal> | Price deviation to trigger grid recreation | 0.015 |
--debounce <ms> | Delay between grid adjustments | 2000 |
--max-position <decimal> | Max position size as % of balance | 0.8 |
--safety-reserve <decimal> | Safety reserve as % of balance | 0.2 |
--dry-run | Simulate without placing real orders | — |
Dynamic Grid Parameters
| Parameter | Description | Default |
|---|---|---|
--spacing-model <model> | linear, geometric, or custom | linear |
--spacing-factor <number> | Geometric spacing multiplier per level | 1.3 |
--size-model <model> | flat, pyramidal, or custom | flat |
--grid-profile <path> | Load grid config from a JSON profile file | — |
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-adacapo21-openmm-grid-trading": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
data-analysis-skill
数据分析技能包 - 自动抓取、清洗、可视化、生成报告。适合数据分析师、运营人员,告别 Excel 手工操作。
q-kdb-code-review
AI-powered code review for Q/kdb+ — catch bugs in the most terse language in finance
polymarket-whale-copier
Copy trade winning Polymarket wallets automatically. Track whale wallets, mirror their bets at configurable percentages, with built-in risk management. No API keys needed.
iseclaw-intel
Indonesian Web3 intelligence via Iseclaw ACP agent. Real-time market data, token signals, TGE research, and GameFi analysis from Southeast Asia's first transparent AI agent.
sharkflow
⚡ SharkFlow - 链上任务自动化,智能合约交互队列 + 多签工作流