Agent skill

Openmm Grid Trading

by LeoYeAI in LeoYeAI/openclaw-master-skills

Create and manage grid trading strategies with OpenMM. An agent skill from LeoYeAI/openclaw-master-skills.

MITAuto-check passedBusiness, Finance & HR

Install Openmm Grid Trading

skills CLI
$ npx skills add LeoYeAI/openclaw-master-skills --skill openmm-grid-trading -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LeoYeAI/openclaw-master-skills openmm-grid-trading --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/openmm/skills/grid-trading .claude/skills/openmm-grid-trading && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openmm-grid-trading
GitHub stars
2.2k
Token cost
~1.8k tokens
SKILL.md length
607 words
Files
1
Skills in repo
1,235
Repo updated
First seen
Licence
MIT

At a glance

Create and manage grid trading strategies with OpenMM. An agent skill from LeoYeAI/openclaw-master-skills.

  • Works in 4 steps: Dry Run First (Always!) → Start Grid with Defaults → Custom Configuration → …
  • Tasks that involve Trading and backtesting
  • SKILL.md covers What is Grid Trading?, When to Use, Quick Start and Command Options, plus 8 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Openmm Grid Trading is an agent skill from LeoYeAI/openclaw-master-skills. Create and manage grid trading strategies with OpenMM. Automated buy/sell around center price.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Business, Finance & HR, covering Trading and backtesting. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.

When your agent uses it

  • Tasks that involve Trading and backtesting

Example prompts

  • “/openmm-grid-trading”

Requirements

  • A credential in MEXC_API_KEY
  • A credential in GATEIO_API_KEY

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Dry Run First (Always!)
  2. Start Grid with Defaults
  3. Custom Configuration
  4. Stop the Strategy

What it can do on your machine

Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Openmm Grid Trading loads about 1.8k tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 607 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 607 words, ~1,831 tokens.

Download SKILL.mdSave it as .claude/skills/openmm-grid-trading/SKILL.md (or your agent's skills folder).
name
openmm-grid-trading
description
Create and manage grid trading strategies with OpenMM. Automated buy/sell around center price.
version
0.1.0
tags
openmm, grid, trading, strategy, automation

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!)
bash
openmm trade --strategy grid --exchange mexc --symbol INDY/USDT --dry-run
2. Start Grid with Defaults
bash
openmm trade --strategy grid --exchange mexc --symbol INDY/USDT
3. Custom Configuration
bash
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—
Volatility Parameters
ParameterDescriptionDefault
--volatilityEnable volatility-based spread adjustmentoff
--volatility-low <decimal>Low volatility threshold0.02
--volatility-high <decimal>High volatility threshold0.05

Spacing Models

Linear (default): Equal spacing between all levels.

With --spacing 0.02 and 5 levels:
Level 1:  2% from center
Level 2:  4% from center
Level 3:  6% from center
Level 4:  8% from center
Level 5: 10% from center

Geometric: Tighter spacing near center, wider gaps at outer levels.

bash
openmm trade --strategy grid --exchange kraken --symbol BTC/USD \
  --levels 5 --spacing 0.005 --spacing-model geometric --spacing-factor 1.5
Level 1: 0.50% from center
Level 2: 1.25% from center
Level 3: 2.38% from center
Level 4: 4.06% from center
Level 5: 6.59% from center

Custom: Define exact spacing offsets per level using a grid profile JSON file.

Show full SKILL.md (228 more words)Show less

Size Models

Flat (default): All levels get equal order sizes.

Pyramidal: Larger orders near center price where fills are more likely, tapering at outer levels.

bash
openmm trade --strategy grid --exchange mexc --symbol INDY/USDT \
  --levels 5 --size 50 --size-model pyramidal

Grid Profiles

JSON files for complete grid configuration:

json
{
  "name": "balanced-geometric",
  "description": "Geometric spacing with pyramidal sizing",
  "levels": 10,
  "spacingModel": "geometric",
  "baseSpacing": 0.005,
  "spacingFactor": 1.3,
  "sizeModel": "pyramidal",
  "baseSize": 50
}
bash
openmm trade --strategy grid --exchange gateio --symbol SNEK/USDT \
  --grid-profile ./profiles/balanced-geometric.json

Volatility-Based Spread Adjustment

When enabled, the grid automatically widens during volatile conditions and tightens when the market calms. Tracks price changes over a 5-minute rolling window.

  • Below low threshold (default 2%): Normal spacing (1.0x)
  • Between thresholds: Elevated spacing (1.5x)
  • Above high threshold (default 5%): Wide spacing (2.0x)
bash
openmm trade --strategy grid --exchange mexc --symbol INDY/USDT \
  --levels 10 \
  --spacing 0.005 \
  --spacing-model geometric \
  --spacing-factor 1.3 \
  --size-model pyramidal \
  --size 5 \
  --volatility

Trading Examples

Conservative
bash
openmm trade --strategy grid --exchange bitget --symbol SNEK/USDT \
  --levels 2 \
  --spacing 0.02 \
  --size 20
Active
bash
openmm trade --strategy grid --exchange mexc --symbol BTC/USDT \
  --levels 7 \
  --spacing 0.005 \
  --size 25
Dynamic (Geometric + Pyramidal)
bash
openmm trade --strategy grid --exchange kraken --symbol SNEK/EUR \
  --levels 10 \
  --spacing 0.005 \
  --spacing-model geometric \
  --spacing-factor 1.5 \
  --size-model pyramidal \
  --size 5

Risk Management

  • --max-position — Maximum % of balance used for trading (default: 80%)
  • --safety-reserve — % of balance kept as reserve (default: 20%)
  • --confidence — Minimum price confidence required (default: 60%)
  • Grid is automatically recreated when orders are filled
  • Adjusts to significant price movements (configurable via --deviation)

Exchange-Specific Notes

MEXC/Gate.io: Minimum order value 1 USDT per order Bitget: Minimum 1 USDT. Requires API key, secret, and passphrase. 6 decimal price precision for SNEK/NIGHT pairs. Kraken: Minimum 5 EUR/USD per order. Supports major fiat pairs (EUR, USD, GBP).

Tips for Agents

  1. Always dry-run first — show user the plan before executing
  2. Check balance — verify sufficient funds with openmm balance --exchange <ex>
  3. Check current price — use openmm ticker --exchange <ex> --symbol <sym>
  4. Respect minimum order values — ensure --size divided by --levels meets exchange minimums
  5. Use Ctrl+C to stop — graceful shutdown cancels all open orders

© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/openmm/skills/grid-trading of LeoYeAI/openclaw-master-skills.

Open the folder on GitHubat commit e5199b5

Compare with similar skills

Openmm Grid Trading next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openmm Grid Trading compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openmm Grid Trading this skillLeoYeAI/openclaw-master-skills2.2k—~1.8kAutomated safety check: PassMIT
Tushare Datazillionare/zillionare3222 repos~2.3kAutomated safety check: PassNone
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Digital Oraclekomako-workshop/digital-oracle878—~5.9kAutomated safety check: PassMIT
Polyclawchainstacklabs/polyclaw3591 repos~2kAutomated safety check: PassApache-2.0
Markdownfacioquo/stock-indicators-dotnet1.2k—~812Automated safety check: PassApache-2.0

Similar skills

  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    322 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Tradingview MCP

    atilaahmettaner/tradingview-mcp

    AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…

    5k GitHub stars~1.3k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Digital Oracle

    komako-workshop/digital-oracle

    Answer prediction questions using market trading data, not opinions.

    878 GitHub stars~5.9k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Polyclaw

    chainstacklabs/polyclaw

    Trade on Polymarket via split + CLOB execution. An agent skill from chainstacklabs/polyclaw.

    359 GitHub starsUsed in 1 repo~2k tokens
    Business, Finance & HRAuto-check passed
  • Markdown

    facioquo/stock-indicators-dotnet

    Format and lint Markdown in this repository against GitHub Flavored Markdown and its markdownlint-cli2 configuration — headers, lists, code fences, callouts (VitePress containers on docs-site pages…

    1.2k GitHub stars~812 tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Openmobius Skill

    MobiusQuant/OpenMobius-skill

    Provides multi-school trading Q&A, chart/OHLCV analysis, annotation, and fresh-market workflows covering ICT/SMC, ChanLun, Wyckoff, Price Action, Order Flow, VSA, and Elliott Wave.

    697 GitHub stars~7.2k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed

More from LeoYeAI/openclaw-master-skills

All 1,200 skills in this repo
  • DevOps Pipeline Management

    LeoYeAI/openclaw-master-skills

    Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.

    2.2k GitHub stars~4.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Feishu Document Collaboration

    LeoYeAI/openclaw-master-skills

    Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.

    2.2k GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check passed
  • Files Memory System

    LeoYeAI/openclaw-master-skills

    Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.

    2.2k GitHub stars~3.8k tokensUpdated 2 mo ago
    Auto-check passed
  • GEO-Claw AI Visibility Agent

    LeoYeAI/openclaw-master-skills

    Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.

    2.2k GitHub stars~4.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Google Workspace CLI

    LeoYeAI/openclaw-master-skills

    Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.

    2.2k GitHub stars~2.6k tokensUpdated 2 mo ago
    Auto-check: notes
  • HealthFit Health Advisors

    LeoYeAI/openclaw-master-skills

    Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.

    2.2k GitHub stars~4.4k tokensUpdated 2 mo ago
    Auto-check passed

Questions about Openmm Grid Trading

What does Openmm Grid Trading do?

Create and manage grid trading strategies with OpenMM. An agent skill from LeoYeAI/openclaw-master-skills. Openmm Grid Trading is an agent skill from LeoYeAI/openclaw-master-skills. Create and manage grid trading strategies with OpenMM.

When should I use Openmm Grid Trading?

Openmm Grid Trading fits situations like: tasks that involve Trading and backtesting.

How do I install Openmm Grid Trading in Claude Code?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill openmm-grid-trading -a claude-code`. Or copy the skill folder (skills/openmm/skills/grid-trading in LeoYeAI/openclaw-master-skills) into .claude/skills/openmm-grid-trading in your project. Claude Code loads it when a task matches its description.

How do I install Openmm Grid Trading in Codex?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill openmm-grid-trading -a codex`. Or copy the skill folder (skills/openmm/skills/grid-trading in LeoYeAI/openclaw-master-skills) into .agents/skills/openmm-grid-trading in your project. Codex loads it when a task matches its description.

Can I use Openmm Grid Trading in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill openmm-grid-trading -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openmm-grid-trading, .gemini/skills/openmm-grid-trading, .github/skills/openmm-grid-trading and .opencode/skills/openmm-grid-trading in your project.

What does Openmm Grid Trading need to run?

SKILL.md names no scripts, command-line tools or credentials: Openmm Grid Trading is instructions for the agent only. Our summary lists: A credential in MEXC_API_KEY; A credential in GATEIO_API_KEY.

Does Openmm Grid Trading access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Openmm Grid Trading safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Openmm Grid Trading use?

Openmm Grid Trading is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Openmm Grid Trading use?

About 1.8k tokens (SKILL.md is roughly 7.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Openmm Grid Trading?

Skills that share tags, products or a category with Openmm Grid Trading: Tushare Data (zillionare/zillionare, 322 stars), Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars), Digital Oracle (komako-workshop/digital-oracle, 878 stars) and Polyclaw (chainstacklabs/polyclaw, 359 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openmm Grid Trading?

LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,161 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.

Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.