Polymarket Geopolitics Deadline Cascade Trader

v0.0.2

Trades temporal inconsistencies across geopolitical markets with different deadlines. When P(event by later date) < P(event by earlier date), the later-deadl...

0· 146·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-geopolitics-deadline-cascade-trader.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Polymarket Geopolitics Deadline Cascade Trader" (diagnostikon/polymarket-geopolitics-deadline-cascade-trader) from ClawHub.
Skill page: https://clawhub.ai/diagnostikon/polymarket-geopolitics-deadline-cascade-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-geopolitics-deadline-cascade-trader

ClawHub CLI

Package manager switcher

npx clawhub@latest install polymarket-geopolitics-deadline-cascade-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 promise (arbitrage across deadline-differing geopolitical markets) matches the declared dependency (simmer-sdk), the single required credential (SIMMER_API_KEY for trading authority), and the trader.py logic that discovers markets, computes violations, and places trades via Simmer. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md instructs scanning Polymarket-style markets, applying monotonicity logic, and defaulting to paper trading; it does not instruct reading arbitrary local files, other environment secrets, or sending data to unexpected endpoints. The instructions explicitly require a --live flag for real trades and state autostart: false.
Install Mechanism
There is no external download/install script; clawhub.json declares a pip dependency on simmer-sdk (traceable to PyPI/GitHub). No extract-from-URL or personal-hosted binary installs are present.
Credentials
Only SIMMER_API_KEY is required (and the skill documents many optional SIMMER_* tunable env vars it reads). That single high-value credential is appropriate for a trading integration. The SKILL.md calls out treating it as high-value.
Persistence & Privilege
always:false and autostart:false; the automaton entrypoint exists but defaults to paper mode and nothing forces persistent autonomous execution. The skill does not attempt to modify other skills or system-wide settings.
Assessment
This skill appears internally coherent for a Polymarket/Simmer trading bot. Before installing: 1) Confirm you trust the simmer-sdk package and its PyPI/GitHub source; 2) Keep SIMMER_API_KEY secret — it's the trading authority and can execute real USDC trades when --live is used; 3) Start in paper mode (no SIMMER_API_KEY or ensure live flag is not used) and review the full trader.py (remaining truncated code) in a safe environment; 4) Only enable live trading after you understand the sizing/tunables and have tested behavior under expected market conditions.

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

latestvk97e0dgtwhayhyx78qpd01r8b1853s45
146downloads
0stars
3versions
Updated 1w ago
v0.0.2
MIT-0

Geopolitics Deadline Cascade Trader

This is a template. The default signal detects temporal monotonicity violations and diplomacy-escalation inversions across geopolitical deadline markets — remix it with richer conflict ontologies, news feeds, or satellite-derived intelligence. The skill handles all the plumbing (market discovery, trade execution, safeguards). Your agent provides the alpha.

Strategy Overview

Geopolitical prediction markets frequently list the same conflict event across multiple deadlines: "Will Iran be struck by March 31?", "Will Iran be struck by December 31, 2026?", etc. By the laws of probability, the later-deadline market must always be at least as likely as the earlier one. When this relationship breaks, it is not a matter of opinion — the market is mathematically inconsistent.

This skill scans Polymarket for geopolitical markets, groups them by conflict theme and deadline, and identifies two classes of mispricing:

  1. Temporal monotonicity violations — P(event by later date) < P(event by earlier date)
  2. Diplomacy-escalation inversions — within the same conflict, both diplomatic and escalation events priced above 50%, which is logically strained

Edge Thesis

Individual geopolitical markets are priced by participants reacting to headlines. Few traders systematically compare related markets across deadlines. This creates pockets where the probability surface is not monotone — where buying the later deadline or selling the earlier one is structurally justified regardless of one's view on the conflict itself.

The edge is not in predicting wars. The edge is in enforcing calendar math.

Signal Logic

1. Temporal Monotonicity Check

  1. Discover geopolitical markets using conflict-related keywords (Iran, Israel, Gaza, Lebanon, nuclear, sanctions, tariff, ceasefire, war, troops, etc.)
  2. Parse each question to extract (conflict_theme, deadline_date, event_type)
  3. Group by conflict_theme
  4. Within each group, sort by deadline and check that probabilities are non-decreasing
  5. When a violation exceeds MIN_VIOLATION, generate:
    • YES on the underpriced later-deadline market
    • NO on the overpriced earlier-deadline market

2. Diplomacy-Escalation Inversion Check

Within the same conflict theme, if both an escalation event (war, strike, attack) and a diplomatic event (meeting, deal, sanctions) are priced above 50%, one should constrain the other. The skill flags both as overpriced and generates NO signals.

3. Conviction-Based Sizing

All trades use the conviction formula from the standard framework:

  • YES: conviction = (YES_THRESHOLD - p) / YES_THRESHOLD, boosted by violation magnitude
  • NO: conviction = (p - NO_THRESHOLD) / (1 - NO_THRESHOLD), boosted by violation magnitude
  • Size: max(MIN_TRADE, conviction * MAX_POSITION)

Trades are only placed when both the inconsistency exists AND the single-market threshold is satisfied.

Remix Ideas

  • Add news sentiment scoring to weight violations that align with recent headlines
  • Incorporate satellite imagery APIs for troop movement confirmation
  • Extend conflict themes with country-pair graphs (e.g., US-China, Russia-Ukraine)
  • Add cross-venue arbitrage against Kalshi or Metaculus geopolitical questions
  • Weight violations by market liquidity depth, not just volume

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_VOLUME10000Min market volume filter (USD)
SIMMER_MAX_SPREAD0.07Max bid-ask spread
SIMMER_MIN_DAYS3Min days until resolution
SIMMER_MAX_POSITIONS6Max concurrent open positions
SIMMER_YES_THRESHOLD0.38Buy YES only if market probability <= this value
SIMMER_NO_THRESHOLD0.62Sell NO only if market probability >= this value
SIMMER_MIN_VIOLATION0.04Min probability violation to trigger a signal

Dependency

simmer-sdk by Simmer Markets (SpartanLabsXyz)

Comments

Loading comments...