okx-cex-bot

Installation
Summary

Native OKX grid and DCA trading bot management with server-side execution.

  • Create and manage spot grid bots (price range, grid count, investment amount) and contract grid bots (long/short/neutral with leverage) — both run entirely on OKX servers
  • Contract DCA (Dollar Cost Averaging / Martingale) bots with configurable safety orders, price steps, volume multipliers, take-profit, and stop-loss
  • Monitor active bots, retrieve P&L, view individual fills and cycles, and stop bots with configurable exit strategies
  • Requires OKX API credentials configured via okx config init or environment variables; supports demo (simulated) and live (real funds) modes via --profile flag
SKILL.md

OKX CEX Bot Trading

Grid and DCA (Spot & Contract Martingale) bot management on OKX. All bots are native OKX server-side — they run on OKX and do not require a local process.

Preflight

Before running any command, follow ../_shared/preflight.md. Use metadata.version from this file's frontmatter as the reference for Step 2.

Prerequisites

npm install -g @okx_ai/okx-trade-cli
okx config init   # select site -> follow browser OAuth flow

Security: NEVER accept credentials in chat. Guide users to okx config init for setup.

Credential & Profile Check

Related skills

More from okx/agent-skills

Installs
5.5K
GitHub Stars
115
First Seen
Mar 8, 2026