返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
s

simmer-resolution-tracker

Monitors your Simmer positions for resolutions, logs wins/losses to your trade journal, and automatically redeems winning positions on-chain. Built for Simmer agents trading on Polymarket. Sends Discord webhook alerts on every resolution. Runs every 5 minutes via cron.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.0
安全检测
已通过
449
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

simmer-resolution-tracker

# Simmer Resolution Tracker Every trade you place either wins or loses. This skill makes sure you find out immediately — logs the outcome, posts the alert, redeems the winnings on-chain — automatically, every 5 minutes. Set it up once and forget it. > **This is a template.** Point it at your trade journals, set your Discord webhook, and the skill watches for you. It polls Simmer for resolved positions, matches them back to your journal entries, computes PnL, and handles on-chain redemptions. You bring the trades — it closes the loop. ## Setup ### 1. Install dependencies ```bash pip install simmer-sdk ``` ### 2. Set environment variables ```bash export SIMMER_API_KEY=your_api_key export WALLET_PRIVATE_KEY=your_wallet_key export DISCORD_WEBHOOK=https://discord.com/api/webhooks/... # optional ``` ### 3. Run it ```bash python resolution_tracker.py ``` That's it. Cron handles the rest — every 5 minutes, automatically. ## Configuration | Variable | Required | Default | Description | |----------|----------|---------|-------------| | `SIMMER_API_KEY` | ✅ | — | Your Simmer API key | | `WALLET_PRIVATE_KEY` | ✅ | — | Polymarket wallet private key for on-chain redemptions | | `DISCORD_WEBHOOK` | No | — | Discord webhook URL for win/loss alerts | | `POLY_MODE` | No | `live` | Set to `sim` to skip on-chain redemptions | | `DATA_DIR` | No | `./data/live` | Override data directory path | ## Quick Commands ```bash # Run once manually python resolution_tracker.py # Dry run (no redemptions) POLY_MODE=sim python resolution_tracker.py # Custom data directory DATA_DIR=./data/backtest python resolution_tracker.py ``` ## Example Output ``` [2026-03-14 04:10 UTC] Checking positions... Found 2 newly resolved markets ✅ WIN btc_momentum — Will BTC close above $85k today? Outcome: YES | Shares: 147.3 | PnL: +$18.42 Redeemed on-chain: 0xabc...def Discord alert sent ✓ ❌ LOSS eth_midcandle — Will ETH hit $3,800 this week? Outcome: NO | Cost: $12.00 | PnL: -$12.00 Discord alert sent ✓ Processed: 2 resolutions | 1 redeemed | 0 errors ``` ## Troubleshooting **Trade not matched in journal** — The resolution ran before the trade was logged. Not an error — the tracker will retry on the next run and match it then. **WALLET_PRIVATE_KEY not set** — Redemptions will fail. The tracker still logs resolutions and posts Discord alerts — you just won't get automatic on-chain redemptions. **Discord webhook errors** — Check the URL is valid and the webhook hasn't been deleted. Alerts are best-effort — webhook failures don't block resolution processing. **POLY_MODE=sim** — Skips all on-chain redemptions. Use this for testing or when you want resolution tracking without touching the chain.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 simmer-resolution-tracker-1776288375 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 simmer-resolution-tracker-1776288375 技能

通过命令行安装

skillhub install simmer-resolution-tracker-1776288375

下载

⬇ 下载 simmer-resolution-tracker v1.1.0(免费)

文件大小: 15.85 KB | 发布时间: 2026-4-16 17:40

v1.1.0 最新 2026-4-16 17:40
**Simmer Resolution Tracker v1.1.0**

- Improved documentation: New README.md and an overhauled SKILL.md with clearer setup, usage instructions, and troubleshooting.
- Added persistent storage for resolved and redeemed markets with new data files (`resolved_markets.json`, `redeemed_markets.json`).
- Enhanced configuration options and environment variable documentation.
- Minor code and structure updates to support new file tracking and configuration features.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部