供应链预测市场自动化交易策略
简介
专为Polymarket供应链预测市场设计的自动化交易技能,通过季节性航运周期和商品可预测性因子捕捉全球贸易流事件阿尔法,默认模拟交易保障资金安全。
原始描述
Trades Polymarket prediction markets focused on supply chain disruptions, port congestion, shipping delays, commodity prices, and logistics outcomes. Use whe...
通过你的 Agent 添加
安装目录:polymarket-supply-chain-trader/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
Supply Chain & Logistics Trader 是一款专注于Polymarket供应链预测市场的自动化交易技能。它通过关键词扫描发现港口拥堵、大宗商品价格、物流延迟等市场机会,采用信念加权头寸管理策略:基于价格与阈值距离计算基础信念值(边界0%至确定性事件100%),再叠加disruption_bias()双重因子——季节性航运周期(Q4旺季1.25x加成)与商品可预测性分级(原油1.20x、半导体1.15x等),最终头寸规模为max(MIN_TRADE, conviction × bias × MAX_POSITION),上限$25 USDC。
显著优点
- 结构化阿尔法来源:将学术研究的"预测市场可降低供应链预测误差20-50%"转化为可执行策略
- 内置市场智能:无需外部API即可应用经过验证的航运季节性与商品流动性分级
- 渐进式风险暴露:默认纸交易模式,需显式
--live参数才启用真实资金
- 灵活扩展架构:预留Baltic Dry Index、AIS船舶追踪、USDA作物报告等Remix接口
潜在局限
- 数据源依赖风险:默认策略仅依赖关键词匹配,未接入实时港口AIS或货运指数时可能滞后于市场
- 季节性因子泛化:1.25x Q4乘数基于历史统计,极端事件(如2021年长滩港危机)可能打破周期规律
- 商品分类静态:锂/钴等EV电池材料的中国供应链集中度假设可能因政策突变失效
- 流动性约束:$5,000最低成交量过滤可能错过早期高Alpha市场
适合人群
- 熟悉大宗商品、航运期货或全球贸易的中级交易者
- 希望将宏观经济判断转化为量化头寸的Polymarket用户
- 具备API接入能力、计划扩展卫星船舶追踪或货运指数数据的进阶用户
常规风险
风险类型
描述
模型风险
disruption_bias()因子基于历史规律,黑天鹅事件(苏伊士堵塞级)可能导致方向性错误
流动性风险
10%最大价差限制在低成交量市场可能阻止有利交易执行
执行延迟
15分钟Cron周期对突发新闻(港口罢工公告)反应不足
密钥安全
SIMMER_API_KEY具备交易权限,需严格隔离于--live未授权环境
平台风险
Polymarket市场解析与结算依赖中心化预言机,存在争议性决议可能
--live参数才启用真实资金- 数据源依赖风险:默认策略仅依赖关键词匹配,未接入实时港口AIS或货运指数时可能滞后于市场
- 季节性因子泛化:1.25x Q4乘数基于历史统计,极端事件(如2021年长滩港危机)可能打破周期规律
- 商品分类静态:锂/钴等EV电池材料的中国供应链集中度假设可能因政策突变失效
- 流动性约束:$5,000最低成交量过滤可能错过早期高Alpha市场
适合人群
- 熟悉大宗商品、航运期货或全球贸易的中级交易者
- 希望将宏观经济判断转化为量化头寸的Polymarket用户
- 具备API接入能力、计划扩展卫星船舶追踪或货运指数数据的进阶用户
常规风险
风险类型
描述
模型风险
disruption_bias()因子基于历史规律,黑天鹅事件(苏伊士堵塞级)可能导致方向性错误
流动性风险
10%最大价差限制在低成交量市场可能阻止有利交易执行
执行延迟
15分钟Cron周期对突发新闻(港口罢工公告)反应不足
密钥安全
SIMMER_API_KEY具备交易权限,需严格隔离于--live未授权环境
平台风险
Polymarket市场解析与结算依赖中心化预言机,存在争议性决议可能
| 风险类型 | 描述 |
|---|---|
| 模型风险 | disruption_bias()因子基于历史规律,黑天鹅事件(苏伊士堵塞级)可能导致方向性错误 |
| 流动性风险 | 10%最大价差限制在低成交量市场可能阻止有利交易执行 |
| 执行延迟 | 15分钟Cron周期对突发新闻(港口罢工公告)反应不足 |
| 密钥安全 | SIMMER_API_KEY具备交易权限,需严格隔离于--live未授权环境 |
| 平台风险 | Polymarket市场解析与结算依赖中心化预言机,存在争议性决议可能 |
技能正文
name: polymarket-supply-chain-trader
description: Trades Polymarket prediction markets focused on supply chain disruptions, port congestion, shipping delays, commodity prices, and logistics outcomes. Use when you want to capture alpha on global trade flow events, raw material price markets, and demand spike predictions.
metadata:
author: Diagnostikon
version: '1.0'
displayName: Supply Chain & Logistics Trader
difficulty: intermediate
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
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
- Discover active supply chain markets on Polymarket
- Compute base conviction from distance to threshold (0% at boundary → 100% at p=0/p=1)
- Apply
disruption_bias()— combines seasonal shipping cycles with commodity predictability - Size =
max(MIN_TRADE, conviction × bias × MAX_POSITION)— capped at MAX_POSITION - 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.
| Period | Multiplier | Why |
|---|---|---|
| Q4: Oct–Dec | 1.25x | Peak season — pre-holiday crunch, port congestion likely |
| Q1: Jan–Mar | 0.85x | Off-season — lower disruption probability |
| Apr–Sep | 1.05x | Mild mid-year activity |
Only applied when the question contains shipping/port/freight/cargo keywords.
Factor 2 — Commodity Predictability
| Commodity type | Multiplier | Why |
|---|---|---|
| Crude oil / energy / LNG | 1.20x | Most liquid commodity — highly modeled, information-rich |
| Semiconductors / chips / GPU | 1.15x | Documented cycles, policy-driven — trackable |
| Lithium / cobalt / EV battery | 1.15x | China-concentrated supply — export data publicly trackable |
| Chokepoints (Suez, Red Sea, Panama) | 1.10x | Geopolitical risk well-documented and persistent |
| Agricultural / grain / harvest | 0.85x | Weather-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
Parameter
Default
Notes
Max position size
$25 USDC
Per market
Min market volume
$5,000
Liquidity filter
Max bid-ask spread
10%
Slippage guard
Min days to resolution
7
Avoid last-minute noise
Max open positions
5
Concentration limit
Installation & Setup
clawhub install polymarket-supply-chain-trader
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
Parameter
Default
Notes
Max position size
$25 USDC
Per market
Min market volume
$5,000
Liquidity filter
Max bid-ask spread
10%
Slippage guard
Min days to resolution
7
Avoid last-minute noise
Max open positions
5
Concentration limit
Installation & Setup
clawhub install polymarket-supply-chain-trader
| Parameter | Default | Notes |
|---|---|---|
| Max position size | $25 USDC | Per market |
| Min market volume | $5,000 | Liquidity filter |
| Max bid-ask spread | 10% | Slippage guard |
| Min days to resolution | 7 | Avoid last-minute noise |
| Max open positions | 5 | Concentration limit |
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.
| Scenario | Mode | Financial risk |
|---|---|---|
python trader.py |
Paper (sim) | None |
| Cron / automaton | Paper (sim) | None |
python trader.py --live |
Live (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
Variable
Required
Notes
SIMMER_API_KEY
Yes
Trading authority — keep this credential private. Do not place a live-capable key in any environment where automated code could call --live.
Tunables (Risk Parameters)
| Variable | Required | Notes |
|---|---|---|
SIMMER_API_KEY |
Yes | Trading authority — keep this credential private. Do not place a live-capable key in any environment where automated code could call --live. |
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.
| Variable | Default | Purpose |
|---|---|---|
SIMMER_MAX_POSITION |
25 |
Max USDC per trade (reached at 100% conviction) |
SIMMER_MIN_VOLUME |
5000 |
Min market volume filter (USD) |
SIMMER_MAX_SPREAD |
0.10 |
Max bid-ask spread (0.10 = 10%) |
SIMMER_MIN_DAYS |
7 |
Min days until market resolves |
SIMMER_MAX_POSITIONS |
5 |
Max concurrent open positions |
SIMMER_YES_THRESHOLD |
0.38 |
Buy YES if market price ≤ this value |
SIMMER_NO_THRESHOLD |
0.62 |
Sell NO if market price ≥ this value |
SIMMER_MIN_TRADE |
5 |
Floor 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.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。