Automated OKX trading skill with dual-grid strategies, auto-rescaling, and risk controls for managing orders and monitoring account performance.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install okx-trader或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install okx-trader⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/okx-trader/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
A 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:
Supports multiple instruments (e.g., BTC-USDT, ETH-USDT) via named configurations in grid_settings.json.
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. Automatically detects all configured instruments from grid_settings.json and reports per-grid statistics.
okx_grid_maintainThe core execution tool that maintains the grid structure. Supports any number of grid configurations (e.g., main, micro, eth_micro).
okx_snapshotRecords a daily account snapshot including balances, prices, 24h trading summary, and day-over-day equity comparison. Data is saved to okx_data/snapshots/YYYY-MM-DD.json.
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 代理能够管理网格交易策略、监控账户表现,并具备内置安全协议的行情执行能力。
代理同时运行两种策略:
支持多交易对(如 BTC-USDT、ETH-USDT),通过 grid_settings.json 中的命名配置管理。
技能会自动检测市场价格何时偏离活跃网格区间。它执行“Rescale”操作:
grid_settings.json。maxPosition 限制,防止在持续下跌趋势中过度加仓。okx_report生成高度压缩的损益(PnL)和状态报告。自动从 grid_settings.json 检测所有已配置的交易对,按网格分别统计。
okx_grid_maintain维护网格结构的核心执行工具。支持任意数量的网格配置(如 main、micro、eth_micro)。
okx_snapshot记录每日账户快照,包括余额、价格、24h 交易汇总及逐日权益对比。数据保存至 okx_data/snapshots/YYYY-MM-DD.json。
需要在 /root/.openclaw/workspace/okx_data/ 中存在以下本地文件:
config.json: API 凭据。grid_settings.json: 策略参数。加密货币交易涉及巨大风险。本技能按“原样”提供,不作任何保证。
OKX_IS_SIMULATION=true)。安装 OKX Trader 后,可以对 AI 说这些话来触发它
Help me get started with OKX Trader
Explains what OKX Trader does, walks through the setup, and runs a quick demo based on your current project
Use OKX Trader to automated OKX trading skill with dual-grid strategies, auto-rescali...
Invokes OKX Trader with the right parameters and returns the result directly in the conversation
What can I do with OKX Trader in my finance & investment workflow?
Lists the top use cases for OKX Trader, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/okx-trader/ 目录(个人级,所有项目可用),或 .claude/skills/okx-trader/(项目级)。重启 AI 客户端后,用 /okx-trader 主动调用,或让 AI 根据上下文自动发现并使用。
OKX Trader 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
OKX Trader 可免费安装使用。请查阅仓库了解许可证信息。
Automated OKX trading skill with dual-grid strategies, auto-rescaling, and risk controls for managing orders and monitoring account performance.
OKX Trader 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using OKX Trader
Identifies repetitive steps in your workflow and sets up OKX Trader to handle them automatically