
Trading Automation
simmer-resolution-tracker
Simmer Resolution Tracker and Auto-Redeemer continuously monitors Simmer agent positions (recommended poll every 5 minutes) and automates post-resolution workflows for Polymarket/Kalshi traders. Key features: fetches resolved positions from the Simmer API, matches them to your trade_journal.
Overview
Simmer Resolution Tracker and Auto-Redeemer continuously monitors Simmer agent positions (recommended poll every 5 minutes) and automates post-resolution workflows for Polymarket/Kalshi traders.
Simmer Resolution Tracker and Auto-Redeemer continuously monitors Simmer agent positions (recommended poll every 5 minutes) and automates post-resolution workflows for Polymarket/Kalshi traders. Key features: fetches resolved positions from the Simmer API, matches them to your trade_journal.jsonl and appends resolved_trades.jsonl for audit, computes P&L (wins: shares - cost; losses: -cost), posts Discord notifications (💰 win / ❌ loss), and automatically calls the Simmer/Polymarket redeem() flow for winning positions while verifying transaction hashes. It also maintains dedup lists and per-strategy cooldown tracking to detect loss streaks for risk control. Use cases include automated bookkeeping, real-time alerting, on-chain payout automation, and simple risk signaling. Setup requires SIMMER_API_KEY, WALLET_PRIVATE_KEY, and optional DISCORD_WEBHOOK, and can run manually or via cron.
Skill.md
How this skill works
Simmer Resolution Tracker and Auto-Redeemer continuously monitors Simmer agent positions (recommended poll every 5 minutes) and automates post-resolution workflows for Polymarket/Kalshi traders. Key features: fetches resolved positions from the Simmer API, matches them to your trade_journal.
Simmer Resolution Tracker and Auto-Redeemer
Monitors your Simmer positions every 5 minutes. When a market resolves, it:
- Logs the win/loss and PnL to your trade journal
- Posts a Discord alert (💰 win / ❌ loss)
- Automatically redeems winning positions on-chain (Polymarket only)
- Tracks cooldown state per strategy for loss streak detection
Built for Simmer — the AI trading agent platform for Polymarket and Kalshi.
Setup
Set these environment variables:
SIMMER_API_KEY=your_api_key # From simmer.markets/account
WALLET_PRIVATE_KEY=your_private_key # Polymarket wallet (for on-chain redemptions)
DISCORD_WEBHOOK=https://discord.com/api/webhooks/... # Optional: for alerts
Usage
Run manually:
python3 resolution_tracker.py
Or let your agent run it on a cron schedule (every 5 minutes recommended).
What It Does
- Fetches resolved positions from Simmer API (
?status=resolved) - Matches to trade journal — finds the original trade entry, updates it with outcome + PnL
- Calculates PnL —
shares - costfor wins,-costfor losses (binary market math) - Posts Discord alert — win 💰 or loss ❌ with strategy name and P&L
- Auto-redeems — calls Simmer SDK
redeem()for winning Polymarket positions, verifies tx hash - Tracks cooldowns — records win/loss per strategy for consecutive-loss detection
File Structure
The tracker reads/writes these files in your data/ directory:
| File | Purpose |
|---|---|
trade_journal.jsonl | Your trade log — updated with resolved/outcome/pnl |
resolved_trades.jsonl | Append-only log of all resolutions |
resolved_markets.json | IDs already reported (dedup) |
redeemed_markets.json | IDs already redeemed on-chain |
Environment Variables
| Variable | Required | Description |
|---|---|---|
SIMMER_API_KEY | ✅ | Your Simmer API key |
WALLET_PRIVATE_KEY | ✅ | Polymarket wallet private key for redemptions |
DISCORD_WEBHOOK | Optional | Discord webhook URL for alerts |
POLY_MODE | Optional | Set to sim for simulation mode (skips on-chain redemptions) |
DATA_DIR | Optional | Override data directory (default: ./data/live) |
Best used for
When to use it
Simmer Resolution Tracker and Auto-Redeemer continuously monitors Simmer agent positions (recommended poll every 5 minutes) and automates post-resolution workflows for Polymarket/Kalshi traders. Key features: fetches resolved positions from the Simmer API, matches them to your trade_journal.

01 · PRE-MEETING
Prepare a decision brief
Turn scattered evidence into a structured case before an investment committee meeting.

02 · TEAM WORKFLOW
Standardize handoffs
Create consistent research outputs across analysts, portfolio managers, and agents.

03 · LIVE UPDATE
Refresh the thesis
Update scenarios after a new catalyst, KPI release, or earnings result.
Community notes
Built to improve with use.
Feedback will appear here as this skill is used and reviewed.
Discover more
Related skills
View allquant-analysis
Quantitative Analysis Skill provides an end-to-end toolkit for quantitative finance research and production analysis. It automates data ingestion, interactive analysis in Jupyter (jupyter_execute,…
bankr
Bankr enables executing crypto trading and DeFi operations via natural-language commands. It offers two integration options: a batteries-included Bankr CLI and a REST API at https://api.bankr.bot,…
pine-backtester
pine-backtester provides comprehensive backtesting for Pine Script indicators and strategies. Use it to append performance metrics, analyze trades, generate equity curves, compute win rates, track…