okx-cex-bot

Automate Grid and DCA bot management and order processing on OKX.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/erongcao/ai-model-team --skill okx-cex-bot-erongcao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: okx-cex-bot
Source: https://github.com/erongcao/ai-model-team/tree/main/skills/okx-agent-trade-kit/skills/okx-cex-bot
Command: npx skills add https://github.com/erongcao/ai-model-team --skill okx-cex-bot-erongcao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @okx_ai/okx-trade-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the management and monitoring of Grid and DCA bots on OKX, allowing for efficient and accurate trading strategies.

Core Features & Use Cases

  • Grid Bot Management: Create, stop, monitor, and manage Grid bots for spot or contract trading.
  • DCA Bot Management: Create, stop, monitor, and manage DCA bots for Spot and Contract DCA trading.
  • PnL and Order Management: Track and manage Profit and Loss (PnL), order details, and bot performance.
  • Use Case: For traders looking to automate grid and DCA trading strategies on OKX, this Skill streamlines the process with customizable bots that can be monitored and adjusted.

Quick Start

Start the okx-cex-bot to manage your bots with the command 'okx bot grid create --instId <instrument> --minPx <minPrice> --maxPx <maxPrice> --gridNum <numGrids> --quoteSz <investment>'

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 grid trading on OKX?

You can automate grid trading on OKX by creating customizable Grid bots for spot or contract instruments, specifying parameters like instrument ID, price range, grid number, and investment amount to execute and monitor automated strategies.

Can I manage DCA trading bots for spot and contract instruments?

Yes, you can create, stop, monitor, and manage DCA trading bots for both Spot and Contract DCA trading, allowing you to automate dollar-cost averaging strategies across different OKX instrument types.

How do I track PnL and order details for OKX trading bots?

You can track PnL and order details by using the bot monitoring and reporting features to evaluate bot performance, ensuring accurate management of Profit and Loss for your automated trading strategies.

Does this OKX bot management approach support contract trading?

Yes, the bot management functionality supports both spot and contract instruments, enabling you to deploy and monitor automated Grid and DCA trading strategies across OKX contract markets.

What parameters do I need to create an OKX grid bot?

To create an OKX grid bot, you need to specify the instrument ID, minimum price, maximum price, number of grids, and investment amount to configure the automated trading strategy parameters.

What are the limitations of automated DCA and grid bot management?

The bot management system is specifically designed for OKX Grid and DCA trading, meaning it handles spot and contract instruments but does not support other automated trading strategy types outside these parameters.