Signal-Execution-Labs

Mexc Future Agent — Development skill for Claude Code

Development community

MEXC crypto trading tools for Claude Code and OpenAI Codex, based on official MEXC API , with support for spot trading, futures trading, getting information about account, REST API, and WebSockets.

How to install Mexc Future Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Signal-Execution-Labs/mexc-future-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Mexc Future Agent does

MEXC crypto trading tools for Claude Code and OpenAI Codex, based on official MEXC API , with support for spot trading, futures trading, getting information about account, REST API, and WebSockets.

Alternatives in Development

  • Imagegen — Generate and edit images using OpenAI's Image API for projects 14.6k ★
  • Gcli2api — 将 GeminiCLI 和 Antigravity 转换为 OpenAI 、GEMINI 和 Claude API 接口 4.6k ★
  • Vibe Research — Vibe-Research: Your Personal Trading Research Agent · A股/美股/港股 的个人投研 Agent:每日复盘、资讯雷达、个股数据、板块中心、我的持仓、研究记录、回测 2.5k ★

README

MEXC futures trading bot

TypeScript Node CLI for rule-based automation on MEXC USDT-margined perpetual contracts (`contract.mexc.com`). Ships with moving-average crossover and grid strategies, dry-run mode, and notional risk caps.

Requirements

  • Node.js 20+
  • MEXC futures account with either Open API credentials (MEXC_API_KEY + MEXC_API_SECRET) or a web session key/cookie pair
  • Sufficient USDT margin for the configured symbol and leverage

Setup

cp .env.sample .env
npm install

Commands

Command Description
npm run bot Long-running strategy loop (BOT_DRY_RUN=true recommended first).
npm run build Emit dist/.
npm run typecheck tsc --noEmit.

Strategies

  • ma-cross (default): 9/21 SMA crossover filtered by RSI; closes on opposite cross.
  • grid: Places conceptual buy bands below spot and takes profit toward upper grid levels.

Set `BOT_STRATEGY=grid` or `ma-cross` in `.env`.

Safety

Always start with `BOT_DRY_RUN=true`. Perpetual futures carry liquidation risk—`RISK_MAX_POSITION_USDT` and `RISK_RISK_PERCENT` cap sizing but do not guarantee profitability.

See [`docs/architecture.md`](docs/architecture.md) for request flow notes.

License

MIT — see [`LICENSE`](LICENSE).