Xpersona
P

Polymarket Spread Sniper

CLAWHUB · Unverified

Snipe mispriced Polymarket markets by comparing AMM price vs live CLOB orderbook midpoint. Buys the underpriced side when edge > 3% on liquid markets. Exits... Skill: Polymarket Spread Sniper Owner: prysm96 Summary: Snipe mispriced Polymarket markets by comparing AMM price vs live CLOB orderbook midpoint. Buys the underpriced side when edge > 3% on liquid markets. Exits... Tags: latest:1.3.2 Version history: v1.3.2 | 2026-04-28T12:15:11.393Z | user Fix critical bug: volume_24h=null was filtering all markets (0 candidates). Bot now correctly passes null-volume markets throug

62
Rank
84
Safety
955
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 955 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1703nr4q012yfm2qp58khd9xx83wnmy:polymarket-spread-sniper
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-prysm96-polymarket-spread-sniper/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

24,132 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: polymarket-spread-sniper
description: Snipe mispriced Polymarket markets by comparing AMM price vs live CLOB orderbook midpoint. Buys the underpriced side when edge > 3% on liquid markets. Exits via take-profit or time-stop. Pure algorithm, zero LLM, no outcome prediction needed.
metadata:
  author: "openclaw"
  version: "1.3.0"
  displayName: "Polymarket Spread Sniper"
  difficulty: "intermediate"
---

# Polymarket Spread Sniper

Buys the underpriced side when the Polymarket AMM price diverges from the live CLOB orderbook midpoint. No outcome prediction — pure spread arbitrage. Exits automatically via take-profit or time-stop.

## The Edge

Polymarket has two pricing mechanisms:
1. **AMM** — pool-based price, slower to update
2. **CLOB** — live orderbook, reflects real-money conviction

When they diverge by more than `min_edge` (default 3%), the AMM is mispriced. The skill buys the cheap side and exits when prices converge or the time window closes.

## Quick Start

```bash
export SIMMER_API_KEY=sk_live_...

# Dry run (SIM mode — safe, no real money)
python spread_sniper.py

# Live trading
python spread_sniper.py --live

# Show open positions with P&L
python spread_sniper.py --positions

# P&L summary (realized + unrealized)
python scripts/spread_pnl.py

# P&L history log
python scripts/spread_pnl.py --history
```

## Configuration

All settings can be overridden via environment variables or tuned from the Simmer dashboard.

| Setting | Env Var | Default | Description |
|---------|---------|---------|-------------|
| Min edge | `SIMMER_SPREAD_MIN_EDGE` | 0.03 | Min AMM/CLOB divergence to trade (3%) |
| Min volume | `SIMMER_SPREAD_MIN_VOLUME` | 5000 | Min 24h volume in USD |
| Max position | `SIMMER_SPREAD_MAX_POSITION` | 5.00 | Max USD per trade |
| Max trades/run | `SIMMER_SPREAD_MAX_TRADES` | 3 | Max new trades per scan |
| Min price | `SIMMER_SPREAD_MIN_PRICE` | 0.10 | Never buy below 10¢ |
| Max price | `SIMMER_SPREAD_MAX_PRICE` | 0.90 | Never buy above 90¢ |
| Max hours | `SIMMER_SPREAD_MAX_HOURS` | 24 | Skip markets resolving >24h out |
| Max CLOB spread | `SIMMER_SPREAD_MAX_CLOB_SPREAD` | 0.05 | Skip illiquid books (bid-ask > 5¢) |
| Daily spend cap | `SIMMER_SPREAD_DAILY_MAX` | 100.00 | Max USD deployed per day |
| Take-profit | `SIMMER_SPREAD_TP_PCT` | 0.60 | Exit when 60% of entry edge captured |
| Time-stop | `SIMMER_SPREAD_TS_PCT` | 0.50 | Exit when 50% of market window elapsed |
| Market exclude | `SIMMER_SPREAD_EXCLUDE` | *(68 keywords)* | Comma-separated keywords to skip |

## Exit Logic

Positions are checked on every scan:

- **Take-profit**: exits when CLOB has moved `take_profit_pct × entry_edge` toward fair value
- **Time-stop**: exits when `time_stop_pct` of the market's remaining window has elapsed since entry, or when <2h left regardless

## P&L Tracking

```bash
# Snapshot: realized (from Simmer resolved API) + unrealized (open positions)
python scripts/spread_pnl.py

# Full history log
python scripts/spread_pnl

_meta.json

{
  "ownerId": "kn764nqbyb8tse8aqtj4gby67n83waqy",
  "slug": "polymarket-spread-sniper",
  "version": "1.3.2",
  "publishedAt": 1777378511393
}

skill-card.md

## Description:

Scans Polymarket markets for AMM/CLOB price divergence and can buy the underpriced side, then exit via take-profit or time-stop rules.

This skill is ready for commercial/non-commercial use.

## Publisher:

[prysm96](https://clawhub.ai/user/prysm96)

### License/Terms of Use:

MIT-0

## Use Case:

External traders and automation operators use this skill to scan Polymarket markets for price-dislocation signals, execute simulated or live trades, monitor open positions, and summarize P&L.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Packaged trading settings can allow spending far above the documented limits.

Mitigation: Review and lower max_position_usd, max_trades_per_run, and daily_max_spend before installing or running live mode.

Risk: Helper scripts read a shared .env file, which may expose unrelated secrets to the runtime.

Mitigation: Use an isolated runtime environment, avoid shared .env files, and provide only a narrowly scoped SIMMER_API_KEY.

Risk: Live mode can place trades or redeem positions using the configured Simmer account.

Mitigation: Run in dry-run mode first and pin/review simmer-sdk before granting live trading authority.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/prysm96/skills/polymarket-spread-sniper)
- [Simmer API](https://api.simmer.markets)
- [Simmer Positions API](https://api.simmer.markets/api/sdk/positions)
- [Polymarket CLOB API](https://clob.polymarket.com)
- [Polymarket Gamma API](https://gamma-api.polymarket.com)

## Skill Output:

**Output Type(s):** [Text, Shell commands, Configuration, Code, Files]

**Output Format:** [Console text, JSON status reports, and local JSON/log files]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires SIMMER_API_KEY and simmer-sdk; dry run is the default unless live execution is requested.]

## Skill Version(s):

1.3.2 (source: server release evidence; artifact frontmatter says 1.3.0)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

clawhub.json

{
  "emoji": "📊",
  "requires": {
    "env": ["SIMMER_API_KEY"],
    "pip": ["simmer-sdk"]
  },
  "cron": null,
  "autostart": false,
  "automaton": {
    "managed": true,
    "entrypoint": "spread_sniper.py"
  },
  "tunables": [
    {"env": "SIMMER_SPREAD_MIN_SPREAD", "type": "number", "default": 0.04, "range": [0.01, 0.20], "step": 0.01, "label": "Min spread to trade"},
    {"env": "SIMMER_SPREAD_MIN_VOLUME", "type": "number", "default": 5000, "range": [500, 100000], "step": 500, "label": "Min 24h volume USD"},
    {"env": "SIMMER_SPREAD_MAX_POSITION", "type": "number", "default": 5.0, "range": [1.0, 25.0], "step": 0.5, "label": "Max position USD"},
    {"env": "SIMMER_SPREAD_MAX_HOURS", "type": "number", "default": 48, "range": [1, 168], "step": 1, "label": "Max hours to resolution"}
  ]
}

config.json

{
  "max_position_usd": 50.0,
  "max_trades_per_run": 3,
  "daily_max_spend": 999999.0,
  "take_profit_pct": 0.5,
  "time_stop_pct": 0.33,
  "min_volume": 50000.0,
  "max_clob_spread": 0.05
}

Sponsored

Ads related to Polymarket Spread Sniper and adjacent AI workflows.