← 返回 Skills 市场
64
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install test-trading
功能描述
Trades a market when your estimated probability diverges from the live market price, with dry-run by default, context checks, reasoning tags, and optional li...
安全使用建议
Before installing: 1) Verify the clawhub.json vs registry metadata discrepancy (AION_API_KEY is declared in the repo but missing from the top-level metadata). 2) Treat AION API keys and any private keys as highly sensitive — do not store them in shared logs; avoid following example snippets that print credentials. 3) Confirm you trust the aion-sdk package source and review that package before installing. 4) Because the skill is configured to run on a cron (every 15 minutes) via automaton.managed, disable or review scheduled runs until you are comfortable with dry-run behavior; ensure automation does not pass --live unintentionally. 5) Test only in a sandbox account, use least-privilege API credentials, and rotate keys after initial tests. 6) If you need full assurance, ask the author to remove credential-printing examples and to explain why Kalshi/Solana private key usage is necessary for your expected venue.
功能分析
Type: OpenClaw Skill
Name: test-trading
Version: 1.0.0
The skill is an automated trading bot for prediction markets (Polymarket/Kalshi) that handles highly sensitive credentials, including AION API keys and wallet private keys. While its behavior aligns with the stated purpose, SKILL.md contains explicit instructions for the AI agent to perform high-risk actions automatically, such as signing and submitting on-chain approval transactions without user confirmation. Furthermore, SKILL.md includes extensive code fragments and logic that provide the agent with capabilities beyond the main divergence_trader.py script, increasing the potential for unintended financial loss or unauthorized account configuration.
能力标签
能力评估
Purpose & Capability
The SKILL.md and divergence_trader.py implement an AION market divergence trader and require an AION API key and the aion-sdk package — which is appropriate for a trading skill. However the top-level registry summary claimed no required environment variables while clawhub.json lists AION_API_KEY as primaryEnv and requires the aion-sdk pip package; this metadata mismatch is unexpected and should be reconciled.
Instruction Scope
Instructions and example snippets go beyond simple decision logic: they show deriving/registering exchange API credentials, printing wallet and API key values to stdout, and mention SOLANA_PRIVATE_KEY for Kalshi flows. Printing secrets and asking operators to place private keys in environment variables increases the risk of credential exposure in logs. The runtime script itself only uses the AION API key and calls AionClient methods (get_market_context, trade, auto_redeem), which is coherent with trading, but the prose encourages behaviors (deriving creds, printing them, storing private keys in .env) that may leak secrets.
Install Mechanism
There is no platform install script, but clawhub.json lists pip dependencies (aion-sdk, python-dotenv). Requiring a third-party pip package is a moderate-risk install pattern but expected for a Python SDK client. No remote download URLs or arbitrary archives are present in the repo.
Credentials
Declared envs in clawhub.json (AION_API_KEY, optional AIONMARKET_API_KEY, MARKET_ID, MY_PROBABILITY, VENUE) are appropriate for trading. However SKILL.md also suggests SOLANA_PRIVATE_KEY / userPublicKey for Kalshi flows and shows code that prints derived API credentials to stdout — these are sensitive and the skill's documentation actively encourages exposing them. The registry header omission of required envs (AION_API_KEY) is an additional red flag about metadata accuracy.
Persistence & Privilege
clawhub.json includes a cron schedule (*/15 * * * *) and automaton.managed: true with entrypoint divergence_trader.py. That means the skill is intended to be run periodically by the platform. While the script defaults to dry-run and requires an explicit --live flag to execute trades, a scheduled/autonomously-invoked skill that has access to trading credentials increases blast radius and operational risk. There is no always:true, but cron + managed automation should be considered a significant persistence/privilege factor.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install test-trading - 安装完成后,直接呼叫该 Skill 的名称或使用
/test-trading触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
AION Market Divergence Trader skill, initial release:
- Publishes a trading template that acts on probability divergence between your estimate and live market price.
- Safely executes trades on venues like Polymarket or Kalshi, defaulting to dry-run unless explicitly run live.
- Enforces context checks, risk alerts, trade threshold, and operator-style output for every decision.
- Supports customizable parameters (trade size, minimum edge, live/dry run, venue, reasoning tags).
- Built-in logic for required credentials, market context validation, and avoiding flip-flop trades.
元数据
常见问题
Test Trading 是什么?
Trades a market when your estimated probability diverges from the live market price, with dry-run by default, context checks, reasoning tags, and optional li... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 64 次。
如何安装 Test Trading?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install test-trading」即可一键安装,无需额外配置。
Test Trading 是免费的吗?
是的,Test Trading 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Test Trading 支持哪些平台?
Test Trading 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Test Trading?
由 ssj124(@ssj124)开发并维护,当前版本 v1.0.0。
推荐 Skills