Install
openclaw skills install polymarket-divergence-traderTrades a Simmer-indexed market when your estimated probability diverges from the live market price, with dry-run on sim by default, context checks, reasoning tags, and optional live execution on Polymarket through ClawHub.
openclaw skills install polymarket-divergence-traderThis skill is a publishable Simmer trading template for ClawHub. It compares your probability estimate with the live market price, checks market context, and only places a trade when the edge clears a configurable threshold.
This is a template. The default signal is probability divergence: if your model thinks the event is more likely than the market implies, the skill buys YES; if less likely, it buys NO. Remix the signal source with your own model, API, or research. The skill handles trade discipline, operator output, and Simmer trade tagging.
Use this skill when an agent already has a probability estimate for a specific Simmer-indexed market and needs a safe execution wrapper around that signal.
This skill ships with three files:
--live is passedsdk:polymarket-divergence-traderpolymarket-divergence-traderThe skill expects:
SIMMER_API_KEYMARKET_ID for the target marketMY_PROBABILITY as a decimal between 0 and 1Optional inputs:
TRADE_SIZEMIN_EDGEREASONING_PREFIXLIVE_VENUE to override the live venue if you intentionally want something other than polymarket--live.source, skill_slug, and human-readable reasoning.HOLD when the edge is smaller than the configured threshold.edge = my_probability - market_probability.edge >= min_edge, buy YES.edge <= -min_edge, buy NO.Dry-run:
python divergence_trader.py --market-id 12345 --my-probability 0.62
Live trade:
python divergence_trader.py --market-id 12345 --my-probability 0.62 --amount 5 --live
The script prints an operator-style summary:
Skill: polymarket-divergence-trader
Venue: sim
Risk alerts:
- none
Decision:
- 12345: TRADE YES size=5.00 mode=dry-run edge=+7.0%
MY_PROBABILITY with a forecast model output.MARKET_ID from a market scanner.