← 返回
数据分析 Key 中文

Polymarket Climate Trader

Trades Polymarket prediction markets on weather extremes, climate milestones, natural disasters, and agricultural outcomes. Use when you want to capture alph...
在Polymarket预测市场交易天气极端事件、气候里程碑、自然灾害和农业收成。用于捕捉Alpha信息。
diagnostikon
数据分析 clawhub v0.0.3 2 版本 99870.1 Key: 需要
★ 0
Stars
📥 769
下载
💾 22
安装
2
版本
#latest

概述

Climate & Weather Trader

> This is a template.

> The default signal is keyword discovery + NOAA/weather API data alignment — remix it with ForecastEx climate oracle feeds, satellite NDVI data for agriculture, or ensemble weather model outputs.

> The skill handles all the plumbing (market discovery, trade execution, safeguards). Your agent provides the alpha.

Strategy Overview

Climate prediction markets are one of the fastest-growing underserved categories. Polymarket has 151+ active climate markets but most are basic. This skill captures alpha on:

  • Temperature extremes — record highs, heatwaves, frost events
  • Natural catastrophes — hurricane counts, earthquake magnitudes, wildfire acreage
  • Climate milestones — CO2 ppm thresholds, Arctic sea ice minimums
  • Agricultural impacts — wheat yields, drought-driven crop failures, water allocations

Climate markets are uniquely suited for quantitative trading: the data sources are public, verifiable, and highly structured (NOAA, ECMWF, NASA).

Signal Logic

Default Signal: Conviction-Based Sizing with Seasonal Bias

  1. Discover active climate/weather markets on Polymarket
  2. Compute base conviction from distance to threshold (0% at boundary → 100% at p=0/p=1)
  3. Apply season_bias() multiplier based on current month and event type in the question
  4. Size = max(MIN_TRADE, conviction × bias × MAX_POSITION) — capped at MAX_POSITION
  5. Skip markets with spread > MAX_SPREAD or fewer than MIN_DAYS to resolution

Seasonal Bias (built-in, no API required)

Climate events follow documented seasonal cycles. season_bias() boosts conviction when the current month aligns with peak season, and dampens it off-season:

Event typePeak seasonIn-season multiplierOff-season multiplier
------------
Hurricane / cycloneJune–November1.4x0.6x
Sea ice / ArcticJuly–September1.4x0.7x
El Niño / La Niña / ENSODecember–February1.3x0.9x
Wildfire / fire seasonJuly–October1.3x0.8x
Heatwave / droughtJune–September1.3x0.8x
Snowfall / blizzardNovember–March1.3x0.7x

Example: a hurricane market at 25% in October → conviction 34% × 1.4x bias = 48% → $12 position. Same market in January → 34% × 0.6x = 20% → $5 (floor).

Remix Ideas

  • ECMWF ensemble: Replace market.current_probability with model consensus probability — trade the divergence between forecast and market
  • NOAA ENSO index: Feed ONI values directly to boost/reduce season_bias() for El Niño markets
  • Insurance cat bond pricing: Use ILS spreads as implied probability benchmarks for hurricane markets
  • Copernicus climate data: Real-time European climate services for local/regional temperature markets

Market Categories Tracked

KEYWORDS = [
    'hurricane', 'tropical storm', 'cyclone', 'tornado', 'flood',
    'drought', 'wildfire', 'earthquake', 'CO2', 'sea ice', 'Arctic',
    'El Niño', 'La Niña', 'ENSO', 'snowfall', 'heatwave', 'heat wave',
    'temperature record', 'crop yield', 'wheat', 'harvest', 'glacier',
    'rainfall', 'water shortage', 'climate', 'emissions', 'carbon',
]

Risk Parameters

ParameterDefaultNotes
---------------------------
Max position size$20 USDCPer market
Min market volume$3,000Climate markets are less liquid
Max bid-ask spread12%Wider allowed for niche markets
Min days to resolution14Weather requires sufficient lead time
Max open positions8Diversify across events

Key Data Sources

  • NOAA Climate Data Online: https://www.ncdc.noaa.gov/cdo-web/
  • Open-Meteo API: https://open-meteo.com/ (free, no key required)
  • Copernicus C3S: https://cds.climate.copernicus.eu/
  • ForecastEx: https://forecastex.com/

Installation & Setup

clawhub install polymarket-climate-trader

Requires: SIMMER_API_KEY environment variable. Optional: OPENMETEO_API_KEY.

Cron Schedule

Runs every 30 minutes (/30 *). Weather data updates every 1–6 hours; no need to poll faster.

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. Do not place a live-capable key in any environment where automated code could call --live.

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_POSITION25Max USDC per trade (reached at 100% conviction)
SIMMER_MIN_VOLUME3000Min market volume filter (USD)
SIMMER_MAX_SPREAD0.12Max bid-ask spread (0.12 = 12%)
SIMMER_MIN_DAYS14Min days until market resolves
SIMMER_MAX_POSITIONS8Max concurrent open positions
SIMMER_YES_THRESHOLD0.38Buy YES if market price ≤ this value
SIMMER_NO_THRESHOLD0.62Sell NO if market price ≥ this value
SIMMER_MIN_TRADE5Floor for any trade (min USDC regardless of conviction)

Dependency

simmer-sdk is published on PyPI by Simmer Markets.

  • PyPI: https://pypi.org/project/simmer-sdk/
  • GitHub: https://github.com/SpartanLabsXyz/simmer-sdk
  • Publisher: hello@simmer.markets

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

版本历史

共 2 个版本

  • v0.0.3 当前
    2026-05-03 03:51 安全 安全
  • v1.0.0
    2026-03-19 14:14 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 162 📥 59,660
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 366 📥 139,944
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,843