polymarket-macro-fear-index-trader

Builds a custom fear index from ALL Polymarket markets by aggregating geopolitical escalation, falling crypto, extreme weather, and rising disease signals into a composite score. When fear is extreme markets OVERREACT and everything gets sold -- this skill buys the most oversold markets pushed below YES_THRESHOLD by panic, not fundamentals. When fear is too low (complacency), it sells overpriced markets.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "polymarket-macro-fear-index-trader" with this command: npx skills add Diagnostikon/polymarket-macro-fear-index-trader

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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

Trading Analyzer

Multi-source trading analyzer (`/drunk-trading-analyzer`) combining crypto data (TradingView), stock data (Alpha Vantage), and market intelligence (Yahoo Finance) into unified analysis reports with price trends, technical indicators, and sentiment analysis.

Registry SourceRecently Updated
1.6K2baoduy
Web3

PayLobster

Agent payment infrastructure on Base. Trustless escrow, agent treasury, token swaps, cross-chain bridges, fiat on/off ramp, on-chain identity & reputation, s...

Registry SourceRecently Updated
Web3

Claw Earn

Modular prediction market trading platform for OpenClaw bots. Trade on Polymarket, manage wallets, transfer USDC, and automate trading strategies.

Registry SourceRecently Updated
Web3

Solpaw

Launch Solana tokens on Pump.fun via the SolPaw platform. 0.1 SOL one-time fee. Your wallet is the onchain creator.

Registry SourceRecently Updated