Install
openclaw skills install @diagnostikon/polymarket-macro-crypto-geopolitics-traderTrades the lag between geopolitical escalation markets and crypto price threshold markets on Polymarket. When Iran military action probability rises, BTC threshold markets should reprice lower but often lag behind. Captures the divergence before convergence.
openclaw skills install @diagnostikon/polymarket-macro-crypto-geopolitics-traderThis is a template. The default signal computes geopolitical heat and crypto optimism scores, then trades crypto threshold markets that are lagging behind geopolitical repricing -- remix it with oil futures data, crypto funding rates, or defense ETF flows. The skill handles all the plumbing (market discovery, geo/crypto classification, divergence detection, trade execution, safeguards). Your agent provides the alpha.
Iran military escalation leads to oil price spikes which lead to crypto drops -- this is the well-documented crisis inverse correlation. On Polymarket, geopolitical escalation markets (Iran, Israel, military action) and crypto price threshold markets (Bitcoin above $X) are traded by different communities. When a geopolitical shock hits, the geo markets reprice within minutes but crypto threshold markets often take hours to adjust. This skill detects that lag and trades it.
Geo-crypto divergence captures a structural information asymmetry:
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_GEO_HOT | 0.60 | Geo heat threshold for "hot" conflict detection |
SIMMER_CRYPTO_LAG | 0.10 | Minimum geo-crypto divergence required to trade |
Geopolitical escalation and crypto prices are inversely correlated during crises -- when Iran tensions spike, oil rises, risk appetite drops, and crypto falls. But on Polymarket, these asset classes are traded by different communities with different information flows. Geopolitics traders react to OSINT and defense news within minutes. Crypto traders watch on-chain metrics, exchange flows, and CT (Crypto Twitter). The causal chain from geo event to crypto repricing has multiple links: geo event -> oil market reaction -> risk sentiment shift -> crypto repricing. Each link adds delay. This skill sits at the intersection, reading the geo signal and trading the crypto lag before convergence. The edge persists because the two communities remain segregated and the causal chain is indirect enough that crypto traders don't watch geo markets in real time.
simmer-sdk by Simmer Markets (SpartanLabsXyz)