← Back to Skills Marketplace
64
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install test-trading
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install test-trading - After installation, invoke the skill by name or use
/test-trading - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 64 downloads so far.
How do I install Test Trading?
Run "/install test-trading" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Test Trading free?
Yes, Test Trading is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Test Trading support?
Test Trading is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Test Trading?
It is built and maintained by ssj124 (@ssj124); the current version is v1.0.0.
More Skills