← Back to Skills Marketplace
Quant Trade
by
Long778899
· GitHub ↗
· v1.0.0
· MIT-0
96
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install okx-quant-trade
Description
Comprehensive quantitative trading skill for OKX. Use when user asks to 'analyze market', 'calculate RSI', 'check EMA', 'compute bollinger bands', 'buy BTC',...
Usage Guidance
This skill largely does what it claims (fetch public OKX market data, compute indicators, and rely on an OKX CLI for order placement), but there are important inconsistencies you should address before using it with real funds:
- Do not provide live API keys until you verify the CLI package and skill provenance. The SKILL.md asks for OKX_API_KEY / OKX_SECRET_KEY / OKX_PASSPHRASE and references ~/.okx/config.toml, but the skill metadata did not declare these — confirm this mismatch with the publisher.
- The SKILL.md instructs installing an npm package named @okx_ai/okx-trade-cli. Treat this as untrusted until you confirm it is an official OKX package: inspect the package's registry page/source repository, check maintainers, and prefer installing in a sandbox or container rather than globally (avoid npm -g initially).
- Test only against the demo profile first (explicitly use --profile demo) and verify behavior in a sandboxed environment before using real money. Create API keys with minimal permissions (trading-only, no withdrawals) and rotate/revoke them after testing.
- The included Python code (calculator.py/scheduler.py) only calls OKX public market endpoints and does not itself exfiltrate credentials; the main risk is the external 'okx' CLI and local config file usage. Inspect or vet that CLI prior to use.
If you want, I can: (a) extract the exact npm package metadata for @okx_ai/okx-trade-cli if you provide access to npm, (b) show the exact lines in SKILL.md that reference credentials/config paths, or (c) suggest a minimal, safer workflow to test this skill in demo mode.
Capability Assessment
Purpose & Capability
Name/description match the included Python calculator and scheduler (public-market data + indicator computation + order placement via OKX CLI). However, the registry metadata declares no required credentials or env vars while SKILL.md explicitly requires OKX API credentials and an OKX CLI — the metadata and runtime requirements are inconsistent.
Instruction Scope
SKILL.md instructs using the external okx CLI for authenticated order placement and refers to a config path (~/.okx/config.toml) for credential updates; these are runtime actions that touch user config and credentials but were not declared in the skill metadata. The instructions do correctly require explicit profile selection and advise not pasting credentials into chat, but they still direct the agent to run CLI commands that will use local credentials.
Install Mechanism
There is no platform-level install spec, but SKILL.md recommends installing an npm package: @okx_ai/okx-trade-cli (npm -g). Installing an external npm CLI is a moderate-risk action — the package name is not under an obviously official okx namespace and provenance isn't verifiable from the skill bundle, so verify the package source before running npm -g.
Credentials
Registry metadata lists no required env vars, yet SKILL.md requires OKX_API_KEY, OKX_SECRET_KEY, OKX_PASSPHRASE and references editing ~/.okx/config.toml. Requesting API keys is proportionate for a trading skill, but the omission from declared requires.env and the un-declared config path are inconsistent and should be corrected/confirmed.
Persistence & Privilege
always:false and no system-wide persistent installation is requested by the bundle. The scheduler is a user-invoked script that can run continuously if the user launches it, which is expected for a scheduler; the skill does not request elevated privileges or modification of other skills.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install okx-quant-trade - After installation, invoke the skill by name or use
/okx-quant-trade - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Comprehensive quantitative trading skill for OKX. Use when user asks to 'analyze market', 'calculate RSI', 'check EMA', 'compute bollinger bands', 'buy BTC', 'sell ETH', 'place order', 'long perp', 'short swap', 'set stop loss', 'set take profit', 'check positions', 'cancel order', 'set leverage', 'trailing stop', or any quantitative analysis + order execution task on OKX. Combines Python-based technical indicator computation (RSI, EMA 5/10/20, Bias, Bollinger Bands) with OKX CLI for actual order placement. Requires API credentials for trading operations. Do NOT use for grid/DCA bots (use okx-cex-bot).
Metadata
Frequently Asked Questions
What is Quant Trade?
Comprehensive quantitative trading skill for OKX. Use when user asks to 'analyze market', 'calculate RSI', 'check EMA', 'compute bollinger bands', 'buy BTC',... It is an AI Agent Skill for Claude Code / OpenClaw, with 96 downloads so far.
How do I install Quant Trade?
Run "/install okx-quant-trade" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Quant Trade free?
Yes, Quant Trade is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Quant Trade support?
Quant Trade is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Quant Trade?
It is built and maintained by Long778899 (@long778899); the current version is v1.0.0.
More Skills