Install
openclaw skills install @diagnostikon/polymarket-macro-risk-regime-traderDetects macro risk regimes (risk-on vs risk-off) by scanning ALL Polymarket categories simultaneously. When crypto drops, geopolitical escalation rises, and commodity stress increases, the regime is risk-off. Trades markets in other categories that have not repriced to the new regime yet.
openclaw skills install @diagnostikon/polymarket-macro-risk-regime-traderThis is a template. The default signal classifies all markets into categories, computes cross-category sentiment scores, and trades lagging markets that haven't repriced to the detected regime -- remix it with VIX data, treasury yields, or funding rates. The skill handles all the plumbing (market discovery, category classification, regime detection, trade execution, safeguards). Your agent provides the alpha.
Markets across Polymarket are interconnected but reprice at different speeds. When a macro shock hits (war escalation, oil spike, crypto crash), the directly affected categories move first while markets in other categories lag behind. This skill reads the "regime" from three indicator categories -- crypto, geopolitics, and commodities -- and then trades markets in OTHER categories that are still priced for the old regime.
Cross-category regime detection captures repricing lag that single-category skills miss:
get_markets(limit=200) (primary) + keyword find_markets() (supplement)max(MIN_TRADE, conviction * MAX_POSITION)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 | 3 | Min days until resolution |
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_REGIME_CRYPTO_THRESHOLD | 0.45 | Crypto score below this = bearish signal for regime |
SIMMER_REGIME_GEO_THRESHOLD | 0.60 | Geo risk score above this = elevated risk signal |
SIMMER_REGIME_COMMODITY_THRESHOLD | 0.50 | Commodity stress above this = stress signal |
Polymarket categories are siloed by trader specialization. Crypto traders watch crypto, geopolitics traders watch conflict markets, but very few traders monitor ALL categories simultaneously. When a macro regime shift occurs -- crypto drops, geopolitical escalation rises, commodities stress -- the directly affected categories reprice within minutes. But markets in other categories (sports, weather, elections) that have subtle correlations to macro risk take hours or days to adjust. This skill acts as a cross-category radar, detecting the regime from the fast-moving indicator categories and trading the slow-moving laggards before they converge. The edge is structural: as long as Polymarket traders remain category-specialized, cross-category repricing lag will persist.
simmer-sdk by Simmer Markets (SpartanLabsXyz)