What problem does it solve? Managing OKX grid and DCA (Martingale) bots normally requires navigating the exchange UI or writing raw API calls; this Skill lets an AI agent create, amend, stop, and monitor those server-side bots through the okx CLI with correct parameters, credential checks, and safety rules. ## Core Features & Use Cases - Grid Bot Management: Create spot, USDT-margined, and coin-margined contract grid bots with price ranges, grid counts, leverage, TP/SL, and amend or stop them later. - DCA Martingale Bots: Launch spot and contract DCA bots with safety orders, price-step multipliers, volume multipliers, take-profit/stop-loss ratios, and price or RSI triggers. - Monitoring & Risk Checks: Query bot PnL, positions, liquidation price estimates, and sub-order fills, with built-in rules against auto-transferring funds or fabricating algo IDs. - Use Case: A user says "Start a BTC grid bot between $90k and $100k with 10 grids and 1000 USDT" — the agent checks price and balance, creates the bot, and confirms it is active. ## Quick Start Ask the agent to create a BTC spot grid bot between two prices with a set number of grids and a USDT investment amount, and it will verify your credentials, confirm parameters, and launch the bot.