Install
openclaw skills install polymarket-48h-price-curve-arb-traderTrades structural mispricings in crypto price-threshold markets by reconstructing the implied probability distribution curve across multiple strike levels and detecting mathematical violations such as monotonicity breaks and range-sum inconsistencies.
openclaw skills install polymarket-48h-price-curve-arb-traderThis is a template. The default signal is implied-CDF violation detection across crypto price-threshold markets — remix it with additional assets, curve-fitting models, or cross-venue price feeds. The skill handles all the plumbing (market discovery, curve construction, trade execution, safeguards). Your agent provides the alpha.
Polymarket lists dozens of price-threshold markets for the same asset and date:
Retail trades each market as an isolated bet. But together, these markets form an implied probability distribution curve — a CDF of where the market thinks the price will be.
This skill reconstructs that curve and finds where it is mathematically broken.
In options markets, quant traders analyze the implied volatility surface across strikes to find mispriced options. This is the prediction market equivalent.
The probability of being above a lower price must always be greater than or equal to being above a higher price:
P(BTC > $68k) >= P(BTC > $70k) >= P(BTC > $74k)
If a higher strike is priced above a lower strike, the curve is broken.
A "between" market's price must equal the difference of two "above" markets:
P($68k < BTC < $70k) == P(BTC > $68k) - P(BTC > $70k)
If the market prices the range at 54% but the above-markets imply 48%, that's 6% of mathematical arbitrage.
YES_THRESHOLD / NO_THRESHOLD)The skill defaults to paper trading (venue="sim"). Real trades only with --live flag.
| Scenario | Mode | Financial risk |
|---|---|---|
python trader.py | Paper (sim) | None |
| Cron / automaton | Paper (sim) | None |
python trader.py --live | Live (polymarket) | Real USDC |
autostart: false and cron: null mean nothing runs automatically until configured in Simmer UI.
| Variable | Required | Notes |
|---|---|---|
SIMMER_API_KEY | Yes | Trading authority. Treat as a high-value credential. |
All declared as tunables in clawhub.json and adjustable from the Simmer UI.
| Variable | Default | Purpose |
|---|---|---|
SIMMER_MAX_POSITION | 40 | Max USDC per trade at full conviction |
SIMMER_MIN_TRADE | 5 | Floor for any trade |
SIMMER_MIN_VOLUME | 5000 | Min market volume filter (USD) |
SIMMER_MAX_SPREAD | 0.08 | Max bid-ask spread |
SIMMER_MIN_DAYS | 0 | Min days until resolution (0 = allow same-day) |
SIMMER_MAX_POSITIONS | 8 | Max concurrent open positions |
SIMMER_YES_THRESHOLD | 0.38 | Buy YES only if market probability <= this |
SIMMER_NO_THRESHOLD | 0.62 | Sell NO only if market probability >= this |
SIMMER_MIN_VIOLATION | 0.04 | Min curve violation magnitude to trigger a trade |
Traditional options markets have market makers who enforce curve consistency (no-arbitrage pricing). Polymarket has no such mechanism — each market is priced by its own order book with its own liquidity pool. This creates systematic micro-inconsistencies in the implied distribution, especially when:
This skill treats the strike ladder as a probability lattice and trades the repair.
simmer-sdk by Simmer Markets (SpartanLabsXyz)