okx-cex-bot

okx cex bot

okx 156 ↓ 8.1k MIT updated 26d ago
Claude Code
View source ↗

What it does

  • config show --json has any profile with a non-empty apikey field → API Key mode. Proceed to Step B.
  • No API-key profile AND auth status --json returns "status":"loggedin" → OAuth mode. Proceed to Step B.
  • No API-key profile AND "status":"pending" — login is in progress, wait for it to complete.
  • No API-key profile AND "status":"notloggedin" — stop, load okx-cex-auth skill and follow login steps, wait for completion.
  • API Key users: run okx config show --json to discover available profile names and their demo settings.
  • OAuth users: omit flags for live; add --demo for simulated trading.
  • After create → run the corresponding orders command to confirm active

Requirements & configuration

  • 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.
  • config show --json has any profile with a non-empty apikey field → API Key mode. Proceed to Step B.
  • How to apply the mode depends on auth method (detected in Step A):
  • | API Key | --profile <live-profile> | --profile <demo-profile> |
  • API Key users: run okx config show --json to discover available profile names and their demo settings.

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

okx cex bot

Source

Repository: https://github.com/okx/agent-skills

okx-cex-bot FAQ

What does the okx-cex-bot skill do?

Manage Grid bots (spot/contract/coin-margined) and DCA Martingale bots (Spot DCA 现货马丁 / Contract DCA 合约马丁) on OKX. Covers create, stop, amend, monitor P&L, TP/SL, margin/investment adjustment, and AI-recommended parameters. Requires API credentials. Not for regular orders (okx-cex-trade), market data (okx-cex-market), or account info (okx-cex-portfolio). config show --json has any profile with a non-empty apikey field → API Key mode. Proceed to Step B. No API-key profile AND auth status --json returns "status":"loggedin" → OAuth mode. Proceed to Step B.

What does okx-cex-bot require?

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. config show --json has any profile with a non-empty apikey field → API Key mode. Proceed to Step B. How to apply the mode depends on auth method (detected in Step A): | API Key | --profile <live-profile> | --profile <demo-profile> | API Key users: run okx config show --json to discover available profile names and their demo settings.

How do I install okx-cex-bot?

Run: npx -y skills add https://github.com/okx/agent-skills --skill okx-cex-bot --agent claude-code — the source lives at github.com/okx/agent-skills.

Maintain okx-cex-bot?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

okx-cex-bot on getagentictools
[![okx-cex-bot on getagentictools](https://getagentictools.com/badge/skills/okx-agent-skills-okx-cex-bot.svg)](https://getagentictools.com/skills/okx-agent-skills-okx-cex-bot?ref=badge)
npx agentictools info skills/okx-agent-skills-okx-cex-bot

The second line is the CLI lookup for this page — handy in READMEs and docs.