Polymarket Soccer Shock Ladder 标志

Polymarket Soccer Shock Ladder

组织
SpartanLabsXyz
polymarket-soccer-shock-ladder

Fade sharp in-play price shocks on Polymarket soccer markets with a laddered limit-buy strategy (Roan's FIFA-quant framework). Pro skill. Currently scoped to 2026 World Cup markets. Simmer's server detects shocks in real time and emits pre-sized signals; this skill places the recovery ladder and manages the exit.

Add to TypingMind

概览

发布者SpartanLabsXyz
代码仓库simmer-sdk
技能名称polymarket-soccer-shock-ladder
星标数
56
复刻数
18
附带文件
8
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 8 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 SpartanLabsXyz 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Polymarket Soccer Shock Ladder AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/SpartanLabsXyz/simmer-sdk/tree/main/skills/polymarket-soccer-shock-ladder
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SpartanLabsXyz/simmer-sdk.git /tmp/simmer-sdk
mkdir -p .claude/skills
cp -r /tmp/simmer-sdk/skills/polymarket-soccer-shock-ladder .claude/skills/polymarket-soccer-shock-ladder
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Polymarket Soccer Shock Ladder,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Polymarket Soccer Shock Ladder。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Polymarket Soccer Shock Ladder 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

World Cup Shock Ladder

Fade sharp price shocks on Polymarket World Cup markets. When a market's price drops hard during a match, this skill places a laddered set of limit buys below the pre-shock price, betting on a partial recovery, then exits each fill at a fixed target.

The strategy follows @RohOnChain's published "Trade FIFA Like A Quant" framework. The heavy lifting (detecting the shock, classifying it, sizing the rungs from historical depth distributions) runs on Simmer's server in real time. This skill is the thin execution layer: it reads the pre-sized signal and works the orders.

🚨 Framework, not a guaranteed edge. Read DISCLAIMER.md before going live. Runs in dry-run by default. Edges depend on spreads, fees, latency, and whether shocks actually recover. Start in dry-run, then go live small.

Requires Simmer Pro. Shock signals are delivered over the Pro reactor stream. Upgrade at simmer.markets/dashboard if you hit a 402 on connect.

Polymarket only. The ladder is a CLOB limit-order strategy. $SIM (the LMSR venue) has no order book to rest bids on, so --venue sim is a plumbing smoke test only, not a real run.

How it works

A "shock" is a fast price drop on one outcome during an in-play match. Simmer's server watches every WC market's live order flow, detects the drop, and figures out how deep shocks like this one usually go (from its own accumulated history, bucketed by favoritism, order-book depth, match minute, and goal state). It emits a signal with the pre-shock price and the depth percentiles.

This skill turns that signal into Roan's ladder:

  1. Four limit BUY orders on the shocked outcome, priced at pre_price - depth for the 50th, 75th, 90th, and 95th depth percentiles. Deeper rungs only fill if the price keeps falling.
  2. Sizes weighted 10 / 20 / 30 / 40 percent of your per-shock stake (deeper rungs carry more, since bigger drops have more room to recover).
  3. As rungs fill, it places a SELL for each at the fill price plus a fixed recovery target (default 4 cents).
  4. Unfilled rungs are cancelled after a short TTL (default 60 seconds).

By default the skill only acts on moderate-favorite markets (pre-shock price 0.75 to 0.85), Roan's most profitable band. You can widen or change that.

Setup

  1. Install the Simmer SDK (0.17.0 or newer):

    bash
    pip install -U 'simmer-sdk>=0.26.0'
  2. Set your Simmer API key (Pro plan required):

    bash
    export SIMMER_API_KEY=...   # simmer.markets/dashboard → SDK tab
  3. Set your Polymarket wallet key (only for --live; not needed in dry-run):

    bash
    export WALLET_PRIVATE_KEY=0x...

    The SDK signs orders locally. External and OWS wallets work with no extra setup.

  4. Arm for shock signals (self-serve, Pro required). Shock-ladder delivery is opt-in. Turn it on for your account:

    bash
    curl -X PATCH https://api.simmer.markets/api/sdk/shock-ladder/config \
      -H "Authorization: Bearer $SIMMER_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"enabled": true}'

    You get {"shock_ladder_enabled": true} back. The server starts fanning World Cup shocks to your reactor pending feed within ~5 minutes. Check your state anytime with a GET to the same URL, and disarm with {"enabled": false}.

Running it

Dry-run is the default. It shows the exact ladder and exits it would place, without trading. Review that before going live. A dry run also skips the SDK's startup stop-loss/take-profit exits, so it never sells.

bash
# Dry-run, single poll (safe; good for a cron)
python shock_ladder_trader.py --once

# Dry-run, continuous (poll every 2s)
python shock_ladder_trader.py

# LIVE, single poll
python shock_ladder_trader.py --once --live

# LIVE, continuous
python shock_ladder_trader.py --live

Recommended: cron with --once. Shock signals are time-sensitive; a 1-minute cron gives reliable coverage even across restarts. A single --once run places a ladder and then manages its fills and exits over the TTL window before exiting, so one run fully handles one shock.

bash
# crontab
*/1 * * * * cd /path/to/skill && python3 shock_ladder_trader.py --once --live

# OpenClaw cron
openclaw cron add --name "shock-ladder" --cron "*/1 * * * *" --tz UTC --session isolated \
  --message "Run: cd /path/to/skill && python3 shock_ladder_trader.py --once --live"

Lower-latency alternative: bounded-continuous polling

The --once cron above is the simplest, most restart-proof setup, but it adds 0 to 60 seconds of entry latency: a shock that fires at second 5 of a minute waits until the next cron tick to get a ladder placed. For a shock-fade strategy (resting limit bids below the pre-shock price, betting on a recovery that plays out over minutes), faster entry improves fill quality — you rest your rungs closer to the bottom of the drop rather than after the book has already started recovering.

The continuous mode (omit --once) polls every --interval seconds (2s by default), which cuts entry latency to roughly 2 seconds. On its own, though, a long-lived process loses the restart-resilience that makes the cron pattern nice: if it hangs or dies, nothing brings it back. The fix is to bound each process to under a minute and let cron restart it every minute, so a hung process is reaped and a fresh one takes over on the next tick. You keep ~2s entry latency and restart-resilience.

bash
# crontab — start a fresh bounded-continuous run every minute
*/1 * * * * cd /path/to/skill && ./run_bounded.sh

macOS note (no GNU timeout). macOS ships without the GNU timeout binary, so the usual timeout 55s python3 ... does not work out of the box. Use a POSIX wrapper instead: background the child, sleep for the bound, then kill it. This is the real-world validated pattern (an operator ran it cleanly in dry-run at 2s polling):

bash
#!/usr/bin/env bash
# run_bounded.sh — run the continuous loop, bounded to ~55s, cron restarts it.
set -euo pipefail
cd "$(dirname "$0")"

# Dry-run by default (no --live). Add --live only once you've validated the ladder.
python3 shock_ladder_trader.py --interval 2 &
child=$!

# Bound the run so a hung process is reaped before the next cron tick.
sleep 55
kill "$child" 2>/dev/null || true
wait "$child" 2>/dev/null || true

(Linux/coreutils hosts can use the simpler timeout 55s python3 shock_ladder_trader.py --interval 2 and skip the wrapper.)

Why 2s polling is safe. Reactor signals carry a server-side TTL of 120 seconds in production. A 2s poll therefore has roughly a 60x margin against the TTL: a fresh process started on any cron tick will see any signal still within its TTL, so this pattern cannot miss a shock.

Latency vs reliability — the tradeoff:

PatternEntry latencyRestart-proofSetup
--once cron (recommended)0 to 60s✓ (cron re-runs)simplest
bounded-continuous (this section)~2s✓ (bound + cron reap)one wrapper script

Note: whether to promote bounded-continuous to the default recommendation is pending live edge-validation. For now it is documented as a lower-latency alternative; the --once cron above remains the recommended starting point.

Configuration

All parameters are skill-side (no server config). Defaults are conservative.

SettingEnv varCLI flagDefaultNotes
Per-shock stakeSHOCK_LADDER_STAKE_USD--stake15Total USDC split across the 4 rungs.
VenueSHOCK_LADDER_VENUE--venuepolymarketsim is a smoke test only.
Order TTL(CLI only)--ttl60Seconds before unfilled rungs are cancelled.
Exit target(CLI only)--exit-cents4Cents above the fill for the exit sell.
Bucket filter(CLI only)--bucketsmoderateComma-separated favoritism bands. Empty string acts on all.
Poll cadenceSHOCK_LADDER_POLL_INTERVAL_S--interval2Fill-check / loop cadence in seconds.

Favoritism bands (set with --buckets): heavy, moderate, slight, balanced, underdog. Roan's tuning favored moderate. Example, act on moderate and slight:

bash
python shock_ladder_trader.py --once --live --buckets moderate,slight

What happens per signal

  1. Poll GET /api/sdk/reactor/pending, keep only type: "shock_ladder" signals (so it never collides with copytrading signals on the same feed).
  2. Apply the bucket filter. Out-of-band, malformed, or unsizable signals are skipped and removed (never retried).
  3. Compute the 4 rung prices and sizes from pre_price and the depth percentiles.
  4. Place the rungs as GTC limit buys (or log them in dry-run).
  5. Poll fills; for each filled rung, place the exit sell at fill + target.
  6. Cancel any rung still unfilled at the TTL.
  7. Delete the signal so it is not reprocessed.

Notes and limits

  • Dry-run first, always. Confirm the laddered prices and sizes look right for a few real shocks before --live. Keep --stake small to start.
  • Partial fills. The v1 fill check treats a rung that has left the order book as filled and sizes its exit from the rung's intended shares. Exact partial-fill reconciliation is a planned refinement. Keep size small until you have watched it on live shocks.
  • In-testing. This is a Community / in-testing skill for the 2026 World Cup. Its bucket sizing sharpens as Simmer accumulates more observed shocks during the tournament.

Troubleshooting

"0 pending shock signals" every run

  • Normal between shocks. Shocks are rare and only fire during live matches.
  • Confirm you are armed: a GET https://api.simmer.markets/api/sdk/shock-ladder/config (with your SIMMER_API_KEY) should return {"shock_ladder_enabled": true}. If not, re-run Setup step 4. Pro plan required.
  • Pre-tournament there are no in-play shocks; expect signals once matches start.

402 on connect

  • The reactor stream is Pro-gated. Upgrade at simmer.markets/dashboard.

Orders rejected in --live

  • Check WALLET_PRIVATE_KEY is set and the wallet holds USDC on Polymarket.
  • Thin books right after a shock can reject; the resting limit design tolerates this better than a market order, but very thin markets may still not fill.

"venue=sim" warning

  • Expected. The ladder needs a CLOB; $SIM cannot run it. Use --venue polymarket.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Polymarket Soccer Shock Ladder AI 技能有什么作用?

Fade sharp in-play price shocks on Polymarket soccer markets with a laddered limit-buy strategy (Roan's FIFA-quant framework). Pro skill. Currently scoped to 2026 World Cup markets. Simmer's server detects shocks in real time and emits pre-sized signals; this skill places the recovery ladder and manages the exit.

为什么在 TypingMind 中使用 Polymarket Soccer Shock Ladder?

因为您只需安装一次,就能搭配任何模型使用。Polymarket Soccer Shock Ladder 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Polymarket Soccer Shock Ladder?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/SpartanLabsXyz/simmer-sdk/tree/main/skills/polymarket-soccer-shock-ladder。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Polymarket Soccer Shock Ladder?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Polymarket Soccer Shock Ladder 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Polymarket Soccer Shock Ladder 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Polymarket Soccer Shock Ladder AI 技能免费吗?

是的。SpartanLabsXyz 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇