okx-traderAutomated OKX trading skill with dual-grid strategies, auto-rescaling, and risk controls for managing orders and monitoring account performance.
Install via ClawdBot CLI:
clawdbot install esojourn/okx-traderA professional-grade automated trading agent skill for OKX. This skill enables the AI agent to manage grid trading strategies, monitor account performance, and handle market execution with built-in safety protocols.
The agent operates two concurrent strategies:
The skill automatically detects when the market price drifts outside the active grid range. It performs a "Rescale" operation:
grid_settings.json.maxPosition limits to prevent over-leveraging during extended downtrends.okx_reportGenerates a highly condensed PnL and status report.
okx_grid_maintainThe core execution tool that maintains the grid structure.
Requires the following local files in /root/.openclaw/workspace/okx_data/:
config.json: API credentials.grid_settings.json: Strategy parameters.Trading cryptocurrencies involves significant risk. This skill is provided "as is" without warranties.
OKX_IS_SIMULATION=true before using real funds.一个专为 OKX 交易所设计的专业级自动化交易技能。该技能使 AI 代理能够管理网格交易策略、监控账户表现,并具备内置安全协议的行情执行能力。
代理同时运行两种策略:
技能会自动检测市场价格何时偏离活跃网格区间。它执行“Rescale”操作:
grid_settings.json。maxPosition 限制,防止在持续下跌趋势中过度加仓。okx_report生成高度压缩的损益(PnL)和状态报告。
okx_grid_maintain维护网格结构的核心执行工具。
需要在 /root/.openclaw/workspace/okx_data/ 中存在以下本地文件:
config.json: API 凭据。grid_settings.json: 策略参数。加密货币交易涉及巨大风险。本技能按“原样”提供,不作任何保证。
OKX_IS_SIMULATION=true)。Generated Mar 1, 2026
Individual investors use the skill to automate grid trading on OKX, diversifying their crypto holdings across major and minor market movements. It helps capture profits from both long-term trends and short-term volatility without constant manual oversight, reducing emotional trading decisions.
Small-scale investment funds or trading groups deploy this skill to execute dual-grid strategies on OKX, optimizing returns in volatile crypto markets. The auto-rescale logic adapts to price shifts, while risk management features protect capital from excessive losses during downtrends.
Market makers utilize the skill to provide liquidity on OKX by running micro-grid strategies for high-frequency scalping. This enhances order book depth and earns spreads, with order throttling preventing API rate limits and ensuring efficient execution in fast-moving markets.
Trading academies or educational platforms integrate the skill with simulation mode to teach students about automated grid trading strategies on OKX. Learners can practice risk management and strategy adjustments in a risk-free environment before applying real funds.
Crypto-based businesses, such as exchanges or payment processors, use the skill to hedge their exposure by automating grid trades on OKX. It helps manage inventory and mitigate price fluctuations, with cost basis guard ensuring profitable exits to protect operational margins.
Offer the skill as a premium service with monthly or annual subscriptions, providing users with regular updates, priority support, and advanced features like custom grid settings. Revenue is generated from recurring fees, appealing to active traders seeking reliable automation tools.
Partner with investors to deploy the skill on their OKX accounts, taking a percentage of the profits generated from successful trades. This aligns incentives with performance, attracting users who prefer a results-based fee structure over upfront costs.
License the skill to other trading platforms or financial institutions for integration into their own systems, charging a one-time or ongoing licensing fee. This expands market reach by allowing partners to rebrand and customize the tool for their clientele.
💬 Integration Tip
Ensure API keys are configured with trade-only permissions and test thoroughly in simulation mode before live deployment to mitigate risks.
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag,...
Essential Docker commands and workflows for container management, image operations, and debugging.
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security, working with containers, writing shell scripts, or asks 'what tool should I use for X'. Source: github.com/trimstray/the-book-of-secret-knowledge
Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access.
Monitor topics of interest and proactively alert when important developments occur. Use when user wants automated monitoring of specific subjects (e.g., product releases, price changes, news topics, technology updates). Supports scheduled web searches, AI-powered importance scoring, smart alerts vs weekly digests, and memory-aware contextual summaries.