okx-cex-bot

Manage OKX CEX grid and DCA trading bots with the okx CLI.

160|26|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/okx/agent-skills --skill okx-cex-bot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: okx-cex-bot
Source: https://github.com/okx/agent-skills/tree/main/skills/okx-cex-bot
Command: npx skills add https://github.com/okx/agent-skills --skill okx-cex-bot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation, management, and monitoring of OKX CEX's native Grid and DCA trading bots, simplifying complex trading strategies and saving users time and effort.

Core Features & Use Cases

  • Grid Bot Management: Create, stop, and monitor both spot and contract grid bots with customizable parameters like price range, grid count, and investment size.
  • DCA Bot Management: Set up and manage contract-only DCA (Dollar Cost Averaging) bots, including leverage, take-profit, stop-loss, and advanced trigger strategies.
  • Use Case: A user wants to automate a BTC/USDT grid trading strategy on OKX. They can use this Skill to quickly set up a bot with their desired parameters, monitor its performance, and stop it when necessary, all through simple natural language commands.

Quick Start

Use the okx-cex-bot skill to create a spot grid bot for BTC-USDT with a lower price of 90000, an upper price of 100000, 10 grids, and an investment of 1000 USDT.

Frequently Asked Questions about okx-cex-bot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate OKX grid trading bots?

You can automate OKX grid trading bots by using this Skill to create, stop, and monitor both spot and contract bots with customizable parameters like price range, grid count, and investment size through natural language commands.

Can I set up a DCA trading bot for OKX contracts?

Yes, you can set up a DCA trading bot for OKX contracts by configuring leverage, take-profit, stop-loss, and advanced trigger strategies directly through the Skill's management interface.

Do I need the okx CLI tool to manage CEX trading bots?

Yes, you need the okx CLI tool installed and authenticated, as the Skill requires it to execute operations for managing and monitoring your automated CEX trading strategies.

What parameters can I configure for an OKX spot grid bot?

You can configure parameters for an OKX spot grid bot including the lower and upper price limits, grid count, and the total investment amount in USDT to automate your spot trading strategy.

How do I track P&L and status for automated trading bots?

You can track P&L and status for automated trading bots by using this Skill to monitor bot performance, check current running states, and review profit and loss metrics for your active OKX strategies.