Polymarket Macro Fear Index Trader

v0.0.3

Builds a custom fear index from ALL Polymarket markets by aggregating geopolitical escalation, falling crypto, extreme weather, and rising disease signals in...

0· 162·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-fear-index-trader.

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

ClawHub CLI

Package manager switcher

npx clawhub@latest install polymarket-macro-fear-index-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
The skill claims to aggregate Polymarket 'ALL' markets but both SKILL.md and the code reference a bounded retrieval (get_markets(limit=200)). Required pieces (SIMMER_API_KEY, simmer-sdk) are appropriate for trading on Polymarket via the Simmer platform.
Instruction Scope
SKILL.md and trader.py stick to market discovery, classification, scoring, and trading. The runtime instructions and code only reference declared SIMMER_ env vars and the SIMMER_API_KEY. The skill defaults to paper trading and only executes real trades with an explicit --live flag.
Install Mechanism
No custom install script is included; clawhub.json lists a pip dependency (simmer-sdk). This is a standard, expected install vector for an SDK-backed trading skill (moderate trust in the package source is assumed).
Credentials
Only SIMMER_API_KEY and SIMMER_ prefixed tunables are used. These are proportional to a trading agent that needs authority to query markets and place orders. No unrelated credentials or system paths are requested.
Persistence & Privilege
always:false and autostart:false; autonomous invocation is allowed by platform default but the skill is safe-by-default (paper mode) and requires explicit --live to place real trades. The skill does not request elevated system-wide privileges.
Assessment
This skill appears coherent for building a fear index and trading via Simmer/Polymarket. Before installing: 1) Verify the simmer-sdk package source and review its permissions (pip packages can contain arbitrary code). 2) Treat SIMMER_API_KEY as a real trading credential — prefer a key with limited scope and start in paper mode to validate behavior. 3) Note the documentation mismatch: it says 'ALL' markets but the implementation fetches a limited set (e.g., limit=200) — if you expect exhaustive coverage, ask the author or audit the code. 4) Keep autostart disabled and require explicit --live to avoid accidental real trades; consider rotating/revoking the API key after testing. If you want extra assurance, have a trusted developer review simmer-sdk usage and the remainder of trader.py (the file was truncated in the package preview).

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

latestvk9731vetck7c1grt9tnfpwpxp985pk8c
162downloads
0stars
4versions
Updated 3h ago
v0.0.3
MIT-0

Macro Fear Index Trader

This is a template. The default signal aggregates four fear dimensions from Polymarket market probabilities -- remix it with VIX data, credit default swap spreads, or social media sentiment scores. The skill handles all the plumbing (market discovery, fear scoring, regime detection, trade execution, safeguards). Your agent provides the alpha.

Strategy Overview

Markets overreact to fear. When geopolitical tensions spike, crypto crashes, disease outbreaks emerge, and extreme weather hits simultaneously, traders panic-sell across ALL categories -- even markets that have nothing to do with the fear catalyst. This creates oversold opportunities.

This skill builds a custom fear index from Polymarket's own markets:

  • Geopolitical fear (weight: 0.35): escalation probability, military action, nuclear risk
  • Crypto fear (weight: 0.30): inverse of BTC/ETH bullish market probabilities
  • Health fear (weight: 0.20): disease outbreak, case count escalation probabilities
  • Weather fear (weight: 0.15): extreme weather event probabilities

When the composite fear index exceeds the PANIC threshold, the skill finds ALL markets below YES_THRESHOLD and buys the most oversold ones -- these have been pushed too low by indiscriminate fear selling.

Signal Logic

Step 1: Scan and Classify

All markets from get_markets(limit=200) are classified into fear categories:

CategoryKeywordsFear direction
Geowar, invasion, escalation, nuclear, missile, sanctionsHigh P(escalation) = high fear
Cryptobitcoin, ethereum, solana, above/belowLow P(BTC above X) = high fear
Healthmeasles, pandemic, outbreak, cases, virusHigh P(cases > X) = high fear
Weatherhurricane, tornado, flood, wildfire, earthquakeHigh P(extreme event) = high fear

Step 2: Compute Fear Index

Each market's probability is converted to a fear score (0-1), then averaged within its category. The composite fear index is a weighted average:

fear_index = 0.35 * geo_fear + 0.30 * crypto_fear + 0.20 * health_fear + 0.15 * weather_fear

Step 3: Regime Detection and Trading

RegimeConditionAction
PANICfear_index > 0.65Buy YES on most oversold markets (lowest P first)
COMPLACENCYfear_index < 0.30Sell NO on most overpriced markets (highest P first)
NEUTRALBetween thresholdsFall back to standard conviction signals

Conviction Scaling

In PANIC regime:

  • Base conviction from distance below YES_THRESHOLD: (threshold - p) / threshold
  • Fear multiplier: 1 + min(0.5, (fear_index - FEAR_THRESHOLD) / (1 - FEAR_THRESHOLD))
  • More extreme fear = more conviction that it's an overreaction

In COMPLACENCY regime:

  • Base conviction from distance above NO_THRESHOLD: (p - threshold) / (1 - threshold)
  • Complacency multiplier: 1 + min(0.5, (COMPLACENCY_THRESHOLD - fear_index) / COMPLACENCY_THRESHOLD)

Remix Ideas

  • VIX integration: Replace or supplement crypto_fear with real-time VIX levels
  • Twitter/X sentiment: Feed social media panic metrics into the geo or health fear scores
  • Credit spreads: Use HY-IG spread as a financial fear component
  • Google Trends: Surge in searches for "recession", "crash", "war" as additional fear signal

Risk Parameters

ParameterDefaultNotes
Max position size$40 USDCPer market, reached at max conviction
Min market volume$3,000Liquidity filter
Max bid-ask spread10%Avoid illiquid panic-widened spreads
Min days to resolution7Need time for fear to subside
Max open positions10Spread across many oversold markets

Installation & Setup

clawhub install polymarket-macro-fear-index-trader

Requires: SIMMER_API_KEY environment variable.

Cron Schedule

Runs on demand or via automaton. Cron is set to null -- configure it in the Simmer UI when ready.

Safety & Execution Mode

The skill defaults to paper trading (venue="sim"). Real trades only execute when --live is passed explicitly.

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

The automaton cron is set to null -- it does not run on a schedule until you configure it in the Simmer UI. autostart: false means it won't start automatically on install.

Required Credentials

VariableRequiredNotes
SIMMER_API_KEYYesTrading authority -- keep this credential private.

Tunables (Risk Parameters)

All risk parameters are declared in clawhub.json as tunables and adjustable from the Simmer UI without code changes. They use SIMMER_-prefixed env vars so apply_skill_config() can load them securely.

VariableDefaultPurpose
SIMMER_MAX_POSITION40Max USDC per trade (reached at 100% conviction)
SIMMER_MIN_TRADE5Floor for any trade (min USDC regardless of conviction)
SIMMER_MIN_VOLUME3000Min market volume filter (USD)
SIMMER_MAX_SPREAD0.10Max bid-ask spread (0.10 = 10%)
SIMMER_MIN_DAYS7Min days until market resolves
SIMMER_MAX_POSITIONS10Max concurrent open positions
SIMMER_YES_THRESHOLD0.38Buy YES if market price <= this value
SIMMER_NO_THRESHOLD0.62Sell NO if market price >= this value
SIMMER_FEAR_THRESHOLD0.65Fear index above this = PANIC regime
SIMMER_COMPLACENCY_THRESHOLD0.30Fear index below this = COMPLACENCY regime
SIMMER_GEO_WEIGHT0.35Weight for geopolitical fear component
SIMMER_CRYPTO_WEIGHT0.30Weight for crypto fear component
SIMMER_HEALTH_WEIGHT0.20Weight for health fear component
SIMMER_WEATHER_WEIGHT0.15Weight for weather fear component

Dependency

simmer-sdk is published on PyPI by Simmer Markets.

Review the source before providing live credentials if you require full auditability.

Comments

Loading comments...