Polymarket Macro Crypto Geopolitics Trader

v0.0.2

Trades the lag between geopolitical escalation markets and crypto price threshold markets on Polymarket. When Iran military action probability rises, BTC thr...

0· 154·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for diagnostikon/polymarket-macro-crypto-geopolitics-trader.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Polymarket Macro Crypto Geopolitics Trader" (diagnostikon/polymarket-macro-crypto-geopolitics-trader) from ClawHub.
Skill page: https://clawhub.ai/diagnostikon/polymarket-macro-crypto-geopolitics-trader
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install polymarket-macro-crypto-geopolitics-trader

ClawHub CLI

Package manager switcher

npx clawhub@latest install polymarket-macro-crypto-geopolitics-trader
Security Scan
Capability signals
CryptoRequires sensitive credentials
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (geo vs crypto trading on Polymarket) matches the code and declared requirements. The skill only requires SIMMER_API_KEY and a simmer-sdk dependency which are appropriate to discover markets and submit trades via the Simmer API.
Instruction Scope
SKILL.md and trader.py describe market discovery, classification, divergence detection, and trade execution. Instructions default to paper trading and only do live trades with an explicit --live flag. There are no instructions to read unrelated files or exfiltrate data.
Install Mechanism
This is instruction + code; clawhub.json lists pip: simmer-sdk as a dependency. No arbitrary downloads or archive extraction occur. The pip dependency is reasonable for interacting with the Simmer runtime but you should vet the simmer-sdk package (source, maintainers) before installing.
Credentials
Only one environment credential is required (SIMMER_API_KEY), which is appropriate and documented in SKILL.md/clawhub.json. No unrelated credentials, config paths, or broad system secrets are requested.
Persistence & Privilege
Skill is not always-enabled, autostart is false, and model invocation is not disabled (normal). The skill does not request elevated system privileges or modify other skills' configurations. It calls apply_skill_config if available (limited to its own config).
Assessment
This skill appears coherent and limited to trading on Polymarket via the Simmer SDK, but take these precautions before installing or running live: - Treat SIMMER_API_KEY as a high-value credential: confirm its scope and use a key with least privilege and an expiration where possible. - Run in paper mode first (default) and only use --live after thorough testing. - Inspect or verify the simmer-sdk package source and maintainers before pip installing (supply-chain risk). If possible, pin a known-good version. - Review the code yourself (or have a trusted reviewer) for any network calls or logging the skill might perform that are not obvious; the provided trader.py appears straightforward, but dependencies can add behavior. - Understand financial risk and compliance implications of automated trading, and rotate/revoke the SIMMER_API_KEY if you stop using the skill.

Like a lobster shell, security has layers — review code before you run it.

latestvk97bymkh8nx9m3rexf1ebwb54s8533w9
154downloads
0stars
3versions
Updated 1w ago
v0.0.2
MIT-0

Crypto-Geopolitics Lag Trader

This 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.

Strategy Overview

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.

Edge

Geo-crypto divergence captures a structural information asymmetry:

  1. Community segregation -- Geopolitics traders and crypto traders are largely separate populations on Polymarket; they watch different news feeds and react to different catalysts
  2. Causal chain delay -- The Iran escalation -> oil spike -> crypto drop chain has multiple links; each link adds repricing delay
  3. Anchoring bias -- Crypto traders anchor to recent BTC price levels and are slow to update threshold market probabilities in response to geopolitical events
  4. Inverse correlation in crisis -- The BTC-geopolitical risk inverse correlation is strongest during acute crises, which is exactly when the lag is largest

Signal Logic

  1. Discover ALL active markets via get_markets(limit=200) (primary) + keyword find_markets() (supplement)
  2. Classify markets:
    • Geopolitical escalation: Iran, Israel, military, war, attack, strike, missile, escalation
    • Geopolitical de-escalation: ceasefire, peace, truce, negotiation (inverted for heat calc)
    • Crypto threshold: Bitcoin above $X, Bitcoin price, BTC above, ETH above
  3. Compute geo_heat: weighted average of escalation market probabilities (de-escalation inverted)
    • Higher geo_heat = more conflict expected
  4. Compute crypto_optimism: average of crypto threshold market probabilities
    • Higher crypto_optimism = market expects crypto to stay above thresholds
  5. Detect divergence:
    • crypto_lagging_high: geo_heat > 0.60 (hot) but crypto_optimism > 0.50 (still bullish) -- crypto should be lower
    • crypto_lagging_low: geo_heat < 0.40 (calming) but crypto_optimism < 0.50 (still bearish) -- crypto should be higher
    • Minimum divergence of CRYPTO_LAG (default 0.10) required to trade
  6. Trade crypto threshold markets in the lagging direction:
    • crypto_lagging_high: sell NO on high crypto thresholds (p >= 62%)
    • crypto_lagging_low: buy YES on low crypto thresholds (p <= 38%)
  7. Conviction scales with distance from threshold; size = max(MIN_TRADE, conviction * MAX_POSITION)

Remix Signal Ideas

  • Oil futures overlay: Wire Brent crude price data into the signal -- if oil spiked 5%+ in the last hour alongside geo heat, conviction doubles on crypto downside trades
  • Crypto funding rates: Negative perpetual funding rates confirm bearish sentiment has reached derivatives markets; if funding is still positive during geo heat, the crypto lag is even larger
  • Defense ETF flows: Rising inflows to defense ETFs (ITA, XAR) during geo escalation confirm institutional risk-off positioning
  • Historical lag measurement: Track how long crypto took to reprice after previous geo shocks to calibrate the CRYPTO_LAG parameter

Safety & Execution Mode

The skill defaults to paper trading (venue="sim"). Real trades only with --live flag.

ScenarioModeFinancial risk
python trader.pyPaper (sim)None
Cron / automatonPaper (sim)None
python trader.py --liveLive (polymarket)Real USDC

autostart: false and cron: null mean nothing runs automatically until configured in Simmer UI.

Required Credentials

VariableRequiredNotes
SIMMER_API_KEYYesTrading authority. Treat as a high-value credential.

Tunables (Risk Parameters)

All declared as tunables in clawhub.json and adjustable from the Simmer UI.

VariableDefaultPurpose
SIMMER_MAX_POSITION40Max USDC per trade at full conviction
SIMMER_MIN_TRADE5Floor for any trade
SIMMER_MIN_VOLUME5000Min market volume filter (USD)
SIMMER_MAX_SPREAD0.08Max bid-ask spread
SIMMER_MIN_DAYS3Min days until resolution
SIMMER_MAX_POSITIONS8Max concurrent open positions
SIMMER_YES_THRESHOLD0.38Buy YES only if market probability <= this
SIMMER_NO_THRESHOLD0.62Sell NO only if market probability >= this
SIMMER_GEO_HOT0.60Geo heat threshold for "hot" conflict detection
SIMMER_CRYPTO_LAG0.10Minimum geo-crypto divergence required to trade

Edge Thesis

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.

Dependency

simmer-sdk by Simmer Markets (SpartanLabsXyz)

Comments

Loading comments...