← 返回
数据分析 Key 中文

Polymarket Supply Chain Trader

Trades Polymarket prediction markets focused on supply chain disruptions, port congestion, shipping delays, commodity prices, and logistics outcomes. Use whe...
交易Polymarket预测市场,关注供应链中断、港口拥堵、航运延误、商品价格和物流结果。使用...
diagnostikon
数据分析 clawhub v0.0.3 3 版本 99877.1 Key: 需要
★ 0
Stars
📥 813
下载
💾 45
安装
3
版本
#latest

概述

Supply Chain & Logistics Trader

> This is a template.

> The default signal is keyword-based market discovery (shipping, port, logistics, commodity, supply chain) — remix it with freight index APIs (Baltic Dry Index), satellite AIS vessel tracking data, or real-time port authority feeds.

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

Strategy Overview

Supply chain prediction markets are among the most underserved categories on Polymarket. This skill identifies and trades markets related to:

  • Port congestion — Rotterdam, Suez Canal, LA/Long Beach delays
  • Commodity prices — Brent crude, steel, lithium thresholds
  • Demand spikes — GPU/chip shortages, EV battery supply
  • Company logistics — Tesla delivery delays, Maersk shipping times, Amazon Prime SLAs

Research shows prediction markets can reduce supply chain forecasting errors by 20–50% vs traditional methods (CFTC data). This makes these markets both tradable AND informative.

Signal Logic

Default Signal: Conviction-Based Sizing with Disruption Bias

  1. Discover active supply chain markets on Polymarket
  2. Compute base conviction from distance to threshold (0% at boundary → 100% at p=0/p=1)
  3. Apply disruption_bias() — combines seasonal shipping cycles with commodity predictability
  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

Disruption Bias (built-in, no API required)

disruption_bias() multiplies conviction using two independent factors simultaneously:

Factor 1 — Seasonal Shipping Cycle

Container shipping has a well-documented Q4 crunch (Oct–Dec) driven by pre-holiday inventory builds. Congestion and delay markets are structurally more likely to resolve YES in peak season.

PeriodMultiplierWhy
---------
Q4: Oct–Dec1.25xPeak season — pre-holiday crunch, port congestion likely
Q1: Jan–Mar0.85xOff-season — lower disruption probability
Apr–Sep1.05xMild mid-year activity

Only applied when the question contains shipping/port/freight/cargo keywords.

Factor 2 — Commodity Predictability

Commodity typeMultiplierWhy
---------
Crude oil / energy / LNG1.20xMost liquid commodity — highly modeled, information-rich
Semiconductors / chips / GPU1.15xDocumented cycles, policy-driven — trackable
Lithium / cobalt / EV battery1.15xChina-concentrated supply — export data publicly trackable
Chokepoints (Suez, Red Sea, Panama)1.10xGeopolitical risk well-documented and persistent
Agricultural / grain / harvest0.85xWeather-dependent, high variance — hard to model

Combined multiplier capped at 1.40x. A Q4 container shipping market mentioning Suez would score 1.25 × 1.10 = 1.375x.

Remix Ideas

  • Baltic Dry Index: BDI weekly change as direct conviction input — rising BDI = lean into shipping disruption YES
  • AIS vessel tracking (MarineTraffic): Real vessel queue counts at LA/Long Beach as direct oracle for port congestion markets
  • USDA crop reports: Trade agricultural supply markets in the 48h window before/after report release
  • Port authority RSS feeds: Rotterdam, Singapore, Shanghai real-time congestion data as entry trigger

Market Categories Tracked

KEYWORDS = [
    'shipping', 'port', 'container', 'supply chain', 'logistics',
    'commodity', 'crude oil', 'Brent', 'natural gas', 'LNG',
    'steel price', 'lithium', 'cobalt', 'critical mineral',
    'semiconductor', 'chip shortage', 'TSMC', 'GPU',
    'delivery delay', 'Maersk', 'Rotterdam', 'Suez', 'Panama Canal',
    'Red Sea', 'freight', 'Baltic Dry', 'EV battery',
]

Risk Parameters

ParameterDefaultNotes
---------------------------
Max position size$25 USDCPer market
Min market volume$5,000Liquidity filter
Max bid-ask spread10%Slippage guard
Min days to resolution7Avoid last-minute noise
Max open positions5Concentration limit

Installation & Setup

clawhub install polymarket-supply-chain-trader

Requires: SIMMER_API_KEY environment variable.

Cron Schedule

Runs every 15 minutes (/15 *). Markets are slow-moving enough that high-frequency execution is unnecessary.

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_VOLUME5000Min market volume filter (USD)
SIMMER_MAX_SPREAD0.10Max bid-ask spread (0.10 = 10%)
SIMMER_MIN_DAYS7Min days until market resolves
SIMMER_MAX_POSITIONS5Max 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.

版本历史

共 3 个版本

  • v0.0.3 当前
    2026-05-03 03:43 安全 安全
  • v1.0.5
    2026-03-29 18:37 安全
  • v1.0.4
    2026-03-19 09:30

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

A股量化 AkShare

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

Excel / XLSX

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

Data Analysis

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