Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

polymarket-btc-up-down-trader

БесплатноЗапускает вложенные скриптыНе проверен

Trade Polymarket BTC daily and weekly UP/DOWN markets with empirically-anchored exit discipline. Enters on CEX momentum divergence; exits automatically on…

SpartanLabsXyzот SpartanLabsXyz★ 57 звёзд на GitHub

Об этом скилле

Polymarket BTC Up-Down Trader

Trade Polymarket's BTC daily and weekly UP/DOWN markets with built-in exit discipline. Enters on Binance momentum signals, exits automatically before resolution tail risk bites.

🚨 Framework, not a production trading system. Read DISCLAIMER.md before connecting to a wallet with real funds.

Polymarket only. All trades execute on Polymarket with real USDC. Use --live for real trades; default is dry run.

Not for fast (5m/15m) markets. Use polymarket-fast-loop for those. This skill targets daily and weekly BTC direction markets with hours-to-days of duration.

What's New in v1.2.3

  • Removed the "Oracle-Engineering Halt Gate" section. This skill never called that detector, and it does not trade the ≤5-minute markets the gate targets. No code change.

What's New in v1.2.2

  • Live NO entry is YES-scale. avg_cost is the held-side price. A NO bought at 0.30 now stores entry 0.70 so target_hit can fire. Replay rows have no avg_cost and were already correct.

What's New in v1.2.1

  • Exit monitor reads real Position objects. client.get_positions() returns dataclasses, not dicts. Replay rows have shares + cost_basis only. Side, size, and YES-scale entry are derived. A missing sources list under replay is this skill.

What's New in v1.2.0

  • Replay plane (SIM-5442). Under simmer backtest (SIMMER_REPLAY=1) discovery, prices, and the clock come from the existing replay harness — same SIMMER_REPLAY / SIMMER_REPLAY_NOW pattern as weather. Live Gamma and CLOB midpoint stay dark. Candles were already replay-safe. The exit monitor reads SDK Position objects and replay share-rows (no .get crash after the first fill).
  • Keep / kill / fix for this path is in Troubleshooting. Do not add a second capital lane until a full-tape run can produce an honest KEEP or KILL.

Dated Polymarket DeFi fees. Before 2026-11-20T23:59:00Z, crypto uses coefficient 0.07. At and after that instant, BTC 5-minute and 15-minute up/down markets use 0.05; other crypto uses 0.01. The fee remains shares × coefficient × p × (1-p), or notional × coefficient × (1-p). At 50¢, these cost 3.5%, 2.5%, and 0.5% of spend respectively. These coefficients are not flat percentages of notional. See the official November schedule.

Makers pay no platform trading fee. Before the cutoff, crypto contributes 20% of collected taker fees to a daily market pool; an individual maker's payout depends on their share of filled fee-equivalent volume. Afterward, known 30-day maker weighted-volume tiers pay 0/3/7/10/15% of the taker fees generated by eligible fills. Unknown volume or tier means unknown rebate. No rebate is assumed in this skill's fee estimate. Bronze/Silver taker tiers and category volume multipliers end at the cutoff; price weighting remains. Mechanism tests do not establish trading edge.

Setup Flow

  1. Install the Simmer SDK

    pip install simmer-sdk
    
  2. Set your API key

    • Get from simmer.markets/dashboard → SDK tab
    • export SIMMER_API_KEY="your-key-here"
  3. Set wallet private key (required for live trading)

    • export WALLET_PRIVATE_KEY="0x..."
    • Not needed for dry-run or managed wallets.
  4. Configure exit discipline (optional — defaults are well-tuned)

    python strategy.py --config
    

Quick Start

# Dry run — see what would happen
python strategy.py

# Go live
python strategy.py --live

# Monitor-only (check exits without new entries)
python strategy.py --live --monitor

# Quiet mode for cron
python strategy.py --live --quiet

How to Run on a Loop

Linux crontab:

# Every 30 minutes
*/30 * * * * cd /path/to/skill && python strategy.py --live --quiet

OpenClaw native cron:

openclaw cron add \
  --name "BTC Up-Down Trader" \
  --cron "*/30 * * * *" \
  --session isolated \
  --message "Run BTC up-down trader: cd /path/to/skill && python strategy.py --live --quiet"

Configuration

All settings configurable via config.json, environment variables, or --set:

python strategy.py --set exit_before_resolution_hours=2.0
python strategy.py --set volume_spike_exit_multiplier=4.0
python strategy.py --set target_hit_capture_pct=0.75

Exit Discipline Knobs

Setting Default Env Var Description
exit_before_resolution_hours 1.0 SIMMER_BTCUD_EXIT_BEFORE_RESOLUTION_HOURS Close position this many hours before scheduled resolution. Disable with 0.
volume_spike_exit_multiplier 3.0 SIMMER_BTCUD_VOLUME_SPIKE_MULTIPLIER Exit when 10-minute CLOB volume hits N× the rolling baseline. Disable with 0.
target_hit_capture_pct 0.85 SIMMER_BTCUD_TARGET_HIT_CAPTURE_PCT Exit when position has captured 85% of the theoretical max gain.
Полный SKILL.md на GitHub

Установить polymarket-btc-up-down-trader в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

CHANGELOG.mdDISCLAIMER.mdclawhub.jsonstrategy.py

FAQ

Что делает скилл polymarket-btc-up-down-trader?

Trade Polymarket BTC daily and weekly UP/DOWN markets with empirically-anchored exit discipline. Enters on CEX momentum divergence; exits automatically on time cap, volume spike, or target capture. Use when the user wants to trade BTC direction markets (hours/days duration), not fast 5-minute markets.

Как установить скилл polymarket-btc-up-down-trader?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл polymarket-btc-up-down-trader запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить polymarket-btc-up-down-trader с