Skip to content
Back to skills

Openclaw Bot Prob Trade

ASecurity

Autonomous trading bot for Polymarket via prob.trade. Run strategies, manage risk, scan markets. Requires the probtrade skill for API access.

  • 14 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 7, 2026
ai-agentspythonbashgitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill openclaw-bot-prob-trade --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openclaw Bot Prob Trade?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Openclaw Bot Prob Trade
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-openclaw-bot-prob-trade/badge)](https://www.skillsdirectory.com/skills/modbender-openclaw-bot-prob-trade)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: probtrade-bot
version: 1.0.0
description: "Autonomous trading bot for Polymarket via prob.trade. Run strategies, manage risk, scan markets. Requires the probtrade skill for API access."
homepage: https://github.com/vlprosvirkin/openclaw-bot-prob-trade
user-invocable: true
metadata: {"openclaw":{"requires":{"bins":["python3"],"skills":["probtrade"]},"emoji":"πŸ€–","install":[{"id":"python3","kind":"brew","formula":"python@3","bins":["python3"],"label":"Install Python 3","os":["darwin","linux"]}]}}
---

# probtrade-bot β€” Autonomous Polymarket Trading Bot

Autonomous trading bot that uses the [probtrade](https://clawhub.ai/probtrade/prob-trade-polymarket-analytics) skill to trade on Polymarket via [prob.trade](https://app.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.

## Setup

1. Install and configure the `probtrade` skill first (API key required)
2. Edit `{baseDir}/config.yaml` to set your strategy and risk limits
3. By default, `dry_run: true` β€” the bot will only log, not trade

## Commands

### Run Bot
Start the autonomous trading loop. Scans markets and places orders every cycle.
```bash
python3 {baseDir}/scripts/bot.py run
```

Override strategy:
```bash
python3 {baseDir}/scripts/bot.py run --strategy pair_arb
```

### Scan Markets
Run a single scan to see what the strategy would do, without placing orders.
```bash
python3 {baseDir}/scripts/bot.py scan
```

### Bot Status
Check balance, positions, open orders, and risk state.
```bash
python3 {baseDir}/scripts/bot.py status
```

### List Strategies
See all available strategies.
```bash
python3 {baseDir}/scripts/bot.py strategies
```

## Built-in 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.

## Creating Your Own Strategy

1. Create a file in `{baseDir}/lib/strategies/` (e.g. `my_strategy.py`)
2. Implement a class that extends `Strategy`:

```python
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
```

3. Set `strategy: my_strategy` in `config.yaml`
4. Test: `python3 {baseDir}/scripts/bot.py scan --strategy my_strategy`

## Risk Management

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

## Environment Variables

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

## Output

All commands output structured data (JSON or formatted text) for easy parsing by AI agents.

Files in this skill

  • README.md8.8 KB
  • SKILL.md3.9 KB
  • config.yaml784 B
  • docs/deployment.md16.9 KB
  • docs/references.md9.5 KB
  • docs/strategies.md20.2 KB
  • lib/engine.py10.1 KB
  • lib/risk_manager.py5.6 KB
  • lib/strategies/__init__.py1.4 KB
  • lib/strategies/ensemble.py4.6 KB
  • lib/strategies/expiration_timing.py5 KB
  • lib/strategies/logic_arb.py9.5 KB
  • lib/strategies/market_making.py4.4 KB
  • lib/strategies/momentum.py3.2 KB
  • lib/strategies/pair_arb.py2.8 KB
  • lib/strategies/sentiment.py5.5 KB
  • lib/strategies/trend_breakout.py3.4 KB
  • lib/strategies/value_investor.py5.3 KB
  • lib/strategies/weather_arb.py6.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…