Polymarket Macro Risk Regime Trader

v0.0.2

Detects macro risk regimes (risk-on vs risk-off) by scanning ALL Polymarket categories simultaneously. When crypto drops, geopolitical escalation rises, and...

0· 143·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-risk-regime-trader.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Polymarket Macro Risk Regime Trader" (diagnostikon/polymarket-macro-risk-regime-trader) from ClawHub.
Skill page: https://clawhub.ai/diagnostikon/polymarket-macro-risk-regime-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-risk-regime-trader

ClawHub CLI

Package manager switcher

npx clawhub@latest install polymarket-macro-risk-regime-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 match the implementation: the code discovers Polymarket markets, classifies them into categories, computes category scores, detects a regime, and sizes/executess trades. The only required credential (SIMMER_API_KEY) and the pip dependency (simmer-sdk) are proportional to a trading integration and are declared in the metadata.
Instruction Scope
SKILL.md and trader.py focus on market discovery, classification, regime detection, and trading. Instructions and code do not read unrelated files or request unrelated environment variables, and paper trading is the default. There are no instructions to exfiltrate data or contact unknown endpoints outside the Simmer/Polymarket flow.
Install Mechanism
No install script is included; clawhub.json declares a pip dependency on 'simmer-sdk' which is expected for this integration. Pip dependencies are moderate risk by nature — verify the simmer-sdk package provenance before installing.
Credentials
Only one secret credential is required: SIMMER_API_KEY (trading authority). All other tunables are non-secret environment variables declared in clawhub.json. The requested environment access is proportionate to the stated purpose.
Persistence & Privilege
autostart is false and always is false, so the skill will not run automatically by default. automaton/entrypoint is set but autostart disabled; the skill does not modify other skills or system-wide settings. Autonomous invocation by the agent is allowed (platform default) but does not create unusual privileges.
Assessment
This skill appears internally consistent and behaves like a trading bot. Before installing: (1) verify the simmer-sdk package source (pip package owner / repository) to ensure it’s legitimate; (2) keep SIMMER_API_KEY limited in scope and use a test/sandbox account or paper-mode key initially; (3) run the skill in paper mode (default) to validate behavior before using --live; (4) review the trader.py source yourself (or have a trusted reviewer) if you plan to enable live trading; (5) rotate and revoke the API key if you stop using the skill. If you’re not comfortable verifying the simmer-sdk package or providing a trading API key, do not install or provide credentials.

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

latestvk97ckw1gy8gs11a7s04tq9x8pd852qv7
143downloads
0stars
3versions
Updated 1w ago
v0.0.2
MIT-0

Macro Risk Regime Trader

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

Strategy Overview

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.

Edge

Cross-category regime detection captures repricing lag that single-category skills miss:

  1. Multi-signal confirmation -- A single category moving could be noise; three categories moving in the same risk direction is a macro regime shift
  2. Repricing lag -- When crypto drops 10% and geopolitical risk spikes, sports and weather markets that are tangentially affected take hours to reprice
  3. Retail compartmentalization -- Polymarket traders specialize in categories; a crypto trader may not watch geopolitical markets and vice versa, creating cross-category information gaps
  4. Regime persistence -- Once a risk-off regime is established, it tends to persist for days, giving lagging markets time to converge

Signal Logic

  1. Discover ALL active markets via get_markets(limit=200) (primary) + keyword find_markets() (supplement)
  2. Classify each market into a category: crypto, geopolitics, commodity, sports, weather, other
  3. Compute category sentiment scores:
    • crypto_score: average probability of BTC/ETH "Up or Down" markets (>0.5 = bullish)
    • geo_risk_score: average probability of escalation markets (higher = more risk)
    • commodity_stress: average probability of oil/commodity threshold markets (higher = more stress)
  4. Determine regime:
    • RISK-OFF: crypto_score < 0.45 AND geo_risk > 0.60 AND commodity_stress > 0.50
    • RISK-ON: crypto_score > 0.55 AND geo_risk < 0.40
    • NEUTRAL: mixed signals -- no trades
  5. In risk-off: find non-driving-category markets at YES >= 62% that should be lower -- sell NO
  6. In risk-on: find non-driving-category markets at YES <= 38% that should be higher -- buy YES
  7. Conviction scales with distance from threshold; size = max(MIN_TRADE, conviction * MAX_POSITION)

Remix Signal Ideas

  • VIX overlay: Wire real-time VIX index into regime detection -- VIX > 25 confirms risk-off even if Polymarket categories are ambiguous
  • Treasury yield curve: Inverted yield curve + risk-off regime = stronger conviction on downside trades
  • Funding rate divergence: If crypto perpetual funding rates are deeply negative while Polymarket crypto markets haven't fully repriced, conviction increases
  • Regime transition speed: Track how fast the regime shifted -- a sudden regime change (within 2 hours) creates larger repricing gaps than a gradual one

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_REGIME_CRYPTO_THRESHOLD0.45Crypto score below this = bearish signal for regime
SIMMER_REGIME_GEO_THRESHOLD0.60Geo risk score above this = elevated risk signal
SIMMER_REGIME_COMMODITY_THRESHOLD0.50Commodity stress above this = stress signal

Edge Thesis

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.

Dependency

simmer-sdk by Simmer Markets (SpartanLabsXyz)

Comments

Loading comments...