> This is a template.
> The default signal is geopolitical cluster consistency checking — remix it with additional constraint types, news sentiment, or satellite data feeds.
> The skill handles all the plumbing (market discovery, cluster grouping, trade execution, safeguards). Your agent provides the alpha.
Polymarket lists many geopolitical markets that form logical clusters:
These markets are logically constrained. Striking 7 countries requires striking 6 first, so P(7) <= P(6) always. Escalation in one region affects others. When retail trades these markets in isolation, the constraints break — and that is the edge.
| Market | Probability |
|---|---|
| -------- | ------------- |
| Israel strike 5 countries | 20% |
| Israel strike 6 countries | 15.9% |
| Israel strike 7 countries | 18% |
Violation: P(strike 7) = 18% > P(strike 6) = 15.9%. The 7-market is overpriced. Trade: sell NO on the 7-market (or buy YES on the 6-market).
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 | 35 | 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 cluster consistency violation to trigger a trade |
Geopolitical events are not independent coin flips. They form causal chains: escalation in one theater raises risk in adjacent theaters; striking N countries is a prerequisite for striking N+1. Prediction markets price each event individually, but the joint probability distribution must be internally consistent.
When it is not, the inconsistency is a free edge. This skill systematically detects and trades these logical violations, acting as an automated consistency enforcer for geopolitical prediction markets.
simmer-sdk by Simmer Markets (SpartanLabsXyz)
共 1 个版本