/install cex-trader
cex-trader
v2.0.2 · Unified CEX Trading Capability Layer for AI Agents
⚠️ Risk Warning: Futures trading involves high leverage and may result in significant losses. Only use funds you can afford to lose.
Overview
cex-trader is a unified CEX trading MCP server that enables AI agents to trade on
centralized exchanges (OKX, Binance) through a consistent interface.
Supported Exchanges
- OKX — Spot + Futures (MVP-α, production ready)
- Binance — Spot + Futures (MVP-β, production ready)
MCP Tools (12 total)
Setup Tools
| Tool | Description |
|---|---|
cex-setup-check |
Check if API credentials are configured |
cex-setup-save |
Save API credentials for OKX or Binance |
cex-setup-verify |
Verify credentials via a test API call |
Spot Tools
| Tool | Description |
|---|---|
cex-spot-place-order |
Place spot market or limit order |
cex-spot-cancel-order |
Cancel spot order |
cex-account-get-balance |
Query account balance |
Futures Tools
| Tool | Description |
|---|---|
cex-futures-place-order |
Place futures order (action semantics or native params) |
cex-futures-cancel-order |
Cancel futures order |
cex-futures-get-positions |
Query open positions |
cex-futures-set-leverage |
Set leverage (1-20x) |
cex-futures-close-position |
Close position |
cex-account-get-info |
Get account config and summary |
Changelog
v2.0.2 (2026-04-14)
- Fix: Corrected MCP server URL from mcp.antalpha.com/cex-trader to mcp-skills.ai.antalpha.com/mcp in mcp.url and MCP_SERVER_URL description
v2.0.1 (2026-04-14)
- Docs: Declared required env vars (CEX_OKX_, CEX_BINANCE_, MCP_SERVER_URL) in SKILL.md metadata
- Docs: Clarified credential transmission path (env vars → MCP server; ~/.trader/config.toml stores risk params only)
- Docs: Aligned MCP_SERVER_URL default (localhost:3000) with hosted URL in SKILL.md
v2.0.0 (2026-04-13)
- Added: Full Binance exchange support (Spot + Futures, MVP-β)
- Added: ExchangeRouter, BinanceClientService (HMAC-SHA256 signing)
- Added: cex-setup-check / cex-setup-save / cex-setup-verify onboarding tools
- Fixed: BINANCE_ERROR_MAP error code mappings
- Fixed: closePosition dual-side mode handling
- All original tools now accept exchange parameter (defaults to okx, backward-compatible)
v1.0.0 (2026-04-10)
- Initial release: OKX spot + futures trading (MVP-α)
- 9 MCP tools, action semantics, idempotency, risk controls
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cex-trader - 安装完成后,直接呼叫该 Skill 的名称或使用
/cex-trader触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Cex Trader 是什么?
Unified CEX trading capability layer for AI agents. Supports OKX and Binance spot and futures trading, account balance queries, order management, position qu... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 98 次。
如何安装 Cex Trader?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cex-trader」即可一键安装,无需额外配置。
Cex Trader 是免费的吗?
是的,Cex Trader 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Cex Trader 支持哪些平台?
Cex Trader 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Cex Trader?
由 bevanding(@bevanding)开发并维护,当前版本 v2.0.2。