home / skills / openclaw / skills / polymarket-whale-copier

polymarket-whale-copier skill

/skills/cassh100k/polymarket-whale-copier

This skill helps you automatically mirror profitable polymarket whale bets with configurable risk controls and no API keys.

npx playbooks add skill openclaw/skills --skill polymarket-whale-copier

Review the files below or copy the command above to add this skill to your agents.

Files (9)
SKILL.md
2.9 KB
---
name: polymarket-whale-copier
version: 1.0.0
description: Copy trade winning Polymarket wallets automatically. Track whale wallets, mirror their bets at configurable percentages, with built-in risk management. No API keys needed.
author: nix
tags: [polymarket, trading, copy-trading, whale, prediction-markets, automation]
---

# πŸ‹ Polymarket Whale Copier

**Automatically copy trade winning Polymarket wallets.**

Track any wallet, mirror their bets, profit from their alpha.

## Features

- 🎯 **Copy Any Wallet** β€” Just paste their address
- πŸ“Š **Configurable Size** β€” Copy 1-100% of their position
- πŸ›‘οΈ **Risk Controls** β€” Min/max trade limits, BUY-only mode
- πŸ“ **Full Logging** β€” Every trade documented
- πŸ”„ **Auto-Redemption** β€” Claims winning positions automatically
- πŸ’° **No API Keys** β€” Uses public Polymarket APIs

## Quick Start

```bash
# 1. Set your Polymarket private key
export POLYMARKET_KEY="0xYourPrivateKey"

# 2. Run the copier
python3 scripts/copy_trader.py --target 0xWhaleWallet --percent 10
```

## Configuration

Edit `config.json`:

```json
{
  "target_wallet": "0x...",
  "copy_percent": 10,
  "min_trade_usd": 5,
  "max_trade_usd": 50,
  "buy_only": true,
  "check_interval_sec": 60,
  "dry_run": false
}
```

## Commands

```bash
# Start copy trading (background)
./scripts/start.sh

# Check status
./scripts/status.sh

# Stop trading
./scripts/stop.sh

# View recent trades
./scripts/logs.sh

# Auto-redeem winning positions
python3 scripts/auto_redeem.py
```

## Finding Whale Wallets

1. Go to [Polymarket Leaderboard](https://polymarket.com/leaderboard)
2. Click on top traders
3. Copy their wallet address from the URL
4. Paste into config or `--target` flag

## Risk Management

| Setting | Default | Description |
|---------|---------|-------------|
| `copy_percent` | 10% | % of whale's position to copy |
| `min_trade_usd` | $5 | Skip trades smaller than this |
| `max_trade_usd` | $50 | Cap maximum trade size |
| `buy_only` | true | Only copy BUYs (safer) |

## How It Works

1. **Monitor** β€” Polls target wallet every 60 seconds
2. **Detect** β€” Identifies new trades via Polymarket API
3. **Filter** β€” Applies your risk settings
4. **Execute** β€” Places matching orders on your account
5. **Log** β€” Records everything for analysis

## Example Output

```
πŸš€ POLYMARKET COPY TRADER STARTING
🎯 Target: 0x4ffe49ba...609f71
πŸ“Š Copy: 10% | Limits: $5-$50

πŸ”„ Monitoring cycle #42
πŸ“ˆ New trade detected!
   Whale: BUY 500 shares @ $0.35 = $175
   Copying: BUY 50 shares @ $0.35 = $17.50
βœ… Order placed: #123456789
```

## Requirements

- Python 3.8+
- Polymarket account with USDC
- Private key (for signing trades)

## Safety Notes

⚠️ **Never share your private key**
⚠️ **Start with small amounts**
⚠️ **Use dry_run mode first**
⚠️ **Past performance β‰  future results**

## Support

Issues? Questions? Open a GitHub issue or find us on Discord.

---

*Built by Nix πŸ”₯ | Not financial advice*

Overview

This skill automates copy-trading of successful Polymarket wallets so you can mirror winning bets without manual monitoring. It tracks a target wallet, places proportional trades according to configurable percentages, and includes built-in risk controls and logging. No external API keys are required; it uses public Polymarket endpoints and your signing key to execute trades.

How this skill works

The tool polls a chosen wallet at regular intervals, detects new trade actions via the Polymarket API, and applies your configured filters (copy percent, min/max trade size, buy-only mode). When a trade passes filters, the skill places a matching order on your account scaled to your chosen percent and logs the transaction. It can also auto-redeem winning positions and supports a dry-run mode for safe testing.

When to use it

  • You want to mirror high-performing Polymarket wallets without manual intervention.
  • You prefer copying a controlled fraction of a whale’s position rather than full exposure.
  • You need automatic redemption of winning positions to capture profits.
  • You want full trade logs and simple risk limits (min/max trade USD).
  • You want a solution that requires no third-party API keys.

Best practices

  • Start in dry_run mode to validate behavior before live trading.
  • Use small copy_percent and conservative min/max trade_usd when starting.
  • Enable buy_only if you want to avoid copying riskier SELL/short positions.
  • Keep your private key offline and never share it; use environment variables for runtime signing.
  • Monitor logs regularly and adjust settings based on performance and market conditions.

Example use cases

  • Mirror a top trader by copying 10% of their position to test their strategy with reduced exposure.
  • Auto-redeem your winning contracts nightly to realize profits without manual steps.
  • Limit daily risk by setting max_trade_usd so large whale bets don’t overexpose your account.
  • Run in dry_run to audit how a whale would have been copied over a tracking window before committing funds.
  • Follow several wallets sequentially by switching target_wallet and reviewing logs to decide long-term copying.

FAQ

Do I need API keys to run this skill?

No. It uses public Polymarket APIs for monitoring and requires your private key only for signing transactions.

How do I avoid copying very large bets?

Set copy_percent to a low value and configure max_trade_usd to cap the USD value of any copied trade.

Is this financial advice?

No. This automates trade copying but does not guarantee profits. Always start small and consider market risks.