Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Autonomous trading bot for Polymarket via prob.trade. Run strategies, manage risk, scan markets. Requires the probtrade skill for API access.
Autonomous trading bot for Polymarket via prob.trade. Run strategies, manage risk, scan markets. Requires the probtrade skill for API access.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
Autonomous trading bot that uses the probtrade skill to trade on Polymarket via prob.trade. Includes built-in risk management, pluggable strategies, and dry-run mode. Requires: The probtrade skill must be installed and configured with API keys.
Install and configure the probtrade skill first (API key required) Edit {baseDir}/config.yaml to set your strategy and risk limits By default, dry_run: true โ the bot will only log, not trade
Start the autonomous trading loop. Scans markets and places orders every cycle. python3 {baseDir}/scripts/bot.py run Override strategy: python3 {baseDir}/scripts/bot.py run --strategy pair_arb
Run a single scan to see what the strategy would do, without placing orders. python3 {baseDir}/scripts/bot.py scan
Check balance, positions, open orders, and risk state. python3 {baseDir}/scripts/bot.py status
See all available strategies. python3 {baseDir}/scripts/bot.py strategies
momentum โ Contrarian momentum / mean reversion. Buys markets where YES price dropped significantly in 24h, betting on reversion. pair_arb โ Async pair cost arbitrage. Finds markets where YES + NO price < $0.95, buys the cheaper side for guaranteed profit on resolution.
Create a file in {baseDir}/lib/strategies/ (e.g. my_strategy.py) Implement a class that extends Strategy: from lib.strategy_base import Strategy, Signal, get_yes_price, get_price_change class MyStrategy(Strategy): name = "my_strategy" def initialize(self, config): self.threshold = config.get("my_param", 0.15) def scan(self, markets, positions, balance): signals = [] for m in markets: if should_buy(m): signals.append(Signal( market=m["condition_id"], side="BUY", outcome="Yes", order_type="LIMIT", amount=5, price=get_yes_price(m), confidence=0.8, reason="My reason" )) return signals Set strategy: my_strategy in config.yaml Test: python3 {baseDir}/scripts/bot.py scan --strategy my_strategy
The bot enforces risk limits defined in config.yaml: max_position_size: Maximum USDC per single order max_daily_spend: Total USDC allowed per day max_open_positions: Maximum concurrent positions max_drawdown_pct: Circuit breaker โ halts all trading if portfolio drops by this % max_consecutive_losses: Circuit breaker trigger after N losses in a row
Override config values via env vars: DRY_RUN=true โ force dry run mode STRATEGY=pair_arb โ override strategy LOOP_INTERVAL=60 โ override scan interval PROBTRADE_SKILL_PATH=/path/to/probtrade/lib โ custom path to probtrade skill lib
All commands output structured data (JSON or formatted text) for easy parsing by AI agents.
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.