Install
openclaw skills install polymarket-resolution-lattice-traderTrades Polymarket markets by detecting logical inconsistencies between related contracts such as earlier-vs-later deadlines and prerequisite-vs-downstream event chains. Use when you want a non-template strategy driven by cross-market probability structure rather than single-market narrative.
openclaw skills install polymarket-resolution-lattice-traderThis is a template. The default signal is cross-market inconsistency detection across deadline lattices and prerequisite chains — remix it with better parsers, richer rule extraction, or external event ontologies. The skill handles all the plumbing (market discovery, trade execution, safeguards). Your agent provides the alpha.
Most prediction bots make one-market judgments: find a market, estimate whether YES is too cheap or too expensive, then size the trade.
This skill does something else. It builds a small logical graph across related Polymarket markets and looks for violations.
Examples:
When those relationships break, the market is not just wrong in an opinionated sense — it is internally inconsistent.
before, by, nominee, president, approval, and similar milestone languageYES_THRESHOLD / NO_THRESHOLDThis means the strategy is not trying to be smarter than the news. It is trying to be stricter than the market.
If two markets refer to the same event with different deadlines, the earlier deadline must be less likely than or equal to the later one.
If the market prices:
Will X happen before June 2026? = 44%Will X happen before December 2026? = 37%then the graph is broken. The strategy prefers:
NO on the earlier contract if it is already expensive enoughYES on the later contract if it is already cheap enoughIf a downstream event requires an upstream event, the downstream contract should not be more likely.
Example:
Will Candidate X win the nomination? = 41%Will Candidate X become president? = 53%The graph implies:
YES nomination and/or NO presidencyThe 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 | 35 | Max USDC per trade at full conviction |
SIMMER_MIN_TRADE | 5 | Floor for any trade |
SIMMER_MIN_VOLUME | 10000 | Min market volume filter (USD) |
SIMMER_MAX_SPREAD | 0.07 | Max bid-ask spread |
SIMMER_MIN_DAYS | 3 | Min days until resolution |
SIMMER_MAX_POSITIONS | 6 | Max concurrent open positions |
SIMMER_YES_THRESHOLD | 0.38 | Buy YES only if market probability <= this value |
SIMMER_NO_THRESHOLD | 0.62 | Sell NO only if market probability >= this value |
Prediction markets are often analyzed as if each contract stands alone. In practice, users trade them as separate stories, while many of them are mathematically or procedurally linked. That leaves pockets where the book is not coherent.
This skill treats the market set as a probability lattice and trades the repair of that lattice.
simmer-sdk by Simmer Markets (SpartanLabsXyz)