ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

cex-trader

Unified CEX trading capability layer for AI agents. Supports OKX and Binance spot and futures trading, account balance queries, order management, position queries, leverage settings, margin mode configuration, and guided API key setup flow. MCP tools: cex-spot-place-order, cex-spot-cancel-order, cex-futures-place-order, cex-futures-cancel-order, cex-futures-get-positions, cex-futures-set-leverage, cex-futures-close-position, cex-account-get-balance, cex-account-get-info, cex-setup-check, cex-setup-save, cex-setup-verify. Supports action semantics (open_long/open_short/close_long/close_short) and native side+posSide parameters. Built-in idempotency check, rate limiting, and risk controls (margin monitoring, position limits). Supports OKX and Binance exchanges. Swap tokens, buy crypto, sell crypto, CEX trade, exchange order, spot order, futures order, perpetual contract, leverage trading, close position, binance trade, okx trade.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/bevanding/cex-trader
Or

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

ToolDescription
cex-setup-checkCheck if API credentials are configured
cex-setup-saveSave API credentials for OKX or Binance
cex-setup-verifyVerify credentials via a test API call

Spot Tools

ToolDescription
cex-spot-place-orderPlace spot market or limit order
cex-spot-cancel-orderCancel spot order
cex-account-get-balanceQuery account balance

Futures Tools

ToolDescription
cex-futures-place-orderPlace futures order (action semantics or native params)
cex-futures-cancel-orderCancel futures order
cex-futures-get-positionsQuery open positions
cex-futures-set-leverageSet leverage (1-20x)
cex-futures-close-positionClose position
cex-account-get-infoGet 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

Metadata

Author@bevanding
Stars4473
Views1
Updated2026-05-01
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-bevanding-cex-trader": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.

Related Skills

walletconnect-requester

Secure WalletConnect integration for AI agents. Connect to user wallets as a DApp (Proposer) without ever handling private keys. Request transactions and signatures - users approve everything in their wallet. Zero custody, maximum security. Use when you need to interact with user wallets securely via WalletConnect v2.

bevanding 4473

deerflow

Deep research and async task execution via DeerFlow LangGraph engine. Submit multi-step research tasks through a lightweight API-only Docker deployment (no frontend). Triggers: /deerflow, deep research, async research, deerflow.

bevanding 4473

transaction-receipt

Human-readable on-chain transaction receipt. Resolve tx status, fees, and intent: simple transfers, swaps/trades, token approvals, DeFi staking-style calls, and NFT mint/transfer. Optional Tokenview API key; falls back to public read-only sources when unset or invalid. Timeouts, rate limits, and response validation included.

bevanding 4473

eth-payment

Generate EIP-681 Ethereum payment links and QR codes for any EVM chain. Zero configuration, instant setup for receiving ETH and ERC-20 payments. Use when you need to create payment requests, invoices, donation links, or any on-chain payment request. Supports Base, Ethereum, Arbitrum, Optimism, Polygon.

bevanding 4473

antalpha-ai-setup

Install and configure the Antalpha Skills MCP server. Provides 76 Web3 tools for DEX swaps, smart money tracking, Polymarket prediction markets, Hyperliquid perpetuals, CEX trading, Bitcoin mining, and DeFi analytics.

bevanding 4473