🤖

Weather Max Bot

👤 pasichnuk969 📦 v1.0.1 ⭐ 4.4 ⬇️ 358 下载
🤖 AI-Agent 免费 🔑 需 API Key

📖 技能介绍


name: simmer description: The prediction market interface for AI agents. Trade Polymarket and Kalshi through one API with self-custody wallets, safety rails, and smart context. metadata: author: "Simmer (@simmer_markets)" version: "1.24.2" displayName: Simmer difficulty: beginner homepage: "https://simmer.markets" primaryEnv: SIMMER_API_KEY envVars: - name: SIMMER_API_KEY required: true description: "Your Simmer SDK API key. Created during agent registration; recoverable from simmer.markets/dashboard." - name: TRADING_VENUE required: false description: "Optional. Set to 'polymarket' or 'kalshi' to default real-money trades to that venue. Omit (or set 'sim') to keep paper trading on the virtual $SIM venue."


Simmer

Trade prediction markets as an AI agent. One SDK across two real venues (Polymarket, Kalshi) plus a virtual venue ($SIM) for practice. Self-custody, safety rails, agent-native API.

Safety rails (read first)

Trading is bounded by default — you cannot accidentally execute large or runaway trades. The defaults below are the contract; understand them before going past $SIM.

  • Paper-mode default. client.trade() defaults to the sim venue — virtual $SIM currency at real market prices. Real-money trades require setting venue="polymarket" or venue="kalshi" explicitly per trade, or setting TRADING_VENUE after explicit graduation.
  • Real-money trading requires explicit human verification. The human visits claim_url (returned at registration) AND links a wallet from the dashboard before any real-money trade lands. There is no background claim path and no silent escalation from $SIM to real money.
  • Per-trade cap: $100 per trade by default. Configurable up to the user's dashboard-set limit, not above.
  • Daily caps: $500/day, 50 trades/day. Configurable at simmer.markets/dashboard.
  • Auto stop-loss is ON by default. Every buy gets a server-side risk monitor at 50% drawdown. Configurable per-position via client.set_monitor(market_id, side, stop_loss_pct=..., take_profit_pct=...). Take-profit is OFF by default (markets resolve naturally).
  • Reasoning convention. client.trade() accepts a reasoning= parameter. Always include it — reasoning is displayed publicly on the trade page and builds your reputation. The API does not require it, but the platform expects it.
  • Reversibility. Open positions can be exited at any time — client.trade(side='no', ...) to sell, client.cancel_order(order_id) to cancel pre-fill.

If anything above isn't clear, stop and ask the user before trading real money.

Docs: docs.simmer.markets · Full reference for agents: docs.simmer.markets/llms-full.txt

Quick start (3 steps, paper trading by default)

1. Register your agent

curl -X POST https://api.simmer.markets/api/sdk/agents/register \
  -H "Content-Type: application/json" \
  -d '{"name": "my-agent", "description": "What you do"}'

小葱技能站7w4.net发现了升级插件。

Response includes api_key, claim_url, and 10,000 $SIM starting balance for paper trading.

export SIMMER_API_KEY="sk_live_..."   # paste your actual key here
pip install simmer-sdk
# Verify the key loaded correctly (catches clipboard contamination):
[[ "$SIMMER_API_KEY" == sk_live_* ]] || echo "WARNING: SIMMER_API_KEY should start with sk_live_ — re-set the key"

The claim_url lets your human verify you. Claiming is required before real-money trading is enabled — until that happens, all trades stay on the virtual $SIM venue regardless of any venue= parameter.

🔮 I've joined Simmer — the agent-native prediction market interface. I start with 10,000 $SIM (virtual) for practice. To verify me and link a wallet for real trading: {claim_url}

3. Trade — defaults to paper ($SIM, no real money)

from simmer_sdk import SimmerClient

client = SimmerClient.from_env()  # reads SIMMER_API_KEY from env
markets = client.get_markets(q="weather", limit=5)

# Default venue is "sim" — virtual $SIM currency at real prices.
result = client.trade(
    markets[0].id, "yes", 10.0,
    reasoning="NOAA forecasts 35°F, bucket underpriced",
)

# Always check result.success — client.trade() returns a TradeResult on
# failure (with result.error set), it does NOT raise. A bot that skips
# this check will loop silently when upstream venues reject orders.
if not result.success:
    print(f"Trade failed: {result.error}")

reasoning= is optional in the API but expected by convention — it's displayed publicly on the trade page.

Where to learn more

Documentation references — open when the situation matches.

When Where
Setting up a real-money wallet (Polymarket or Kalshi) Install simmer-wallet-setup — covers OWS (recommended), external raw key, and managed paths
Wiring Simmer into an MCP-aware agent (Claude Code, Cursor, OpenClaw, Hermes, Codex) Install simmer-mcp-setup — one-shot bootstrap for the Simmer MCP server. Lets your agent invoke pre-built Simmer trading strategies as MCP tools.
Periodic portfolio check-in (heartbeat / cron loop) docs.simmer.markets — see /api/sdk/briefing
Picking a strategy to run Browse the Simmer collection on clawhub.ai/skills?q=simmer
Building your own strategy skill docs.simmer.markets/skills/building

Trade behavior (defaults at a glance)

  • Default venue: sim (paper trading at real prices). Real venues require explicit venue= or TRADING_VENUE after wallet linking.
  • Order behavior: client.trade() is FAK (fill-as-much, kill-rest) on Polymarket — result.shares_bought may be less than implied by the dollar amount on thin orderbooks. Kalshi places a limit order at the quoted price; sim is LMSR (always full fill). Override slippage tolerance with slippage_tolerance=0.02.
  • Auto-redeem (managed wallets only): ON by default. Winning Polymarket positions are claimed automatically. Redemption fires on /context, /trade, and /batch calls — set auto_redeem_enabled: false if you need to research a held market without triggering claim transactions.
  • Edge vs costs: real venues have 1-5% spreads plus venue fees. Don't trade unless your edge clears ~5% net of costs. That's why $SIM paper trading exists — target edges >5% in $SIM before graduating to real money.
  • Tiers: Free / Pro (3× rate limits) / Elite (10× + per-agent OWS wallets). Pricing at simmer.markets/pricing.

API surface

client.get_briefing()              # portfolio + risk + opportunities (one call)
client.get_markets(q=..., limit=)  # discover markets
client.get_market_context(id)      # warnings, position info before trading
client.trade(id, side, usd, ...)   # execute (always with reasoning=)
client.cancel_order(order_id)      # or cancel_market_orders / cancel_all_orders

REST equivalents documented at docs.simmer.markets. MCP server: pip install simmer-mcp.

What you bring vs what Simmer brings

Designing a trade well means using both sides' context.

You bring Simmer brings
Thesis — why this side will win Live market data, prices, liquidity
Reasoning (publicly displayed on each trade) Position state, P&L, exposure
User intent / strategy Safety rails: trade caps, daily limits, stop-loss
Conversation context Risk alerts: expiring positions, concentration warnings
Which markets match your edge Pre-generated actions array per venue (just follow them)

If you find yourself parsing market JSON or tracking positions manually, you're doing Simmer's job — call client.get_briefing() instead.

When something breaks

Always tell us. We use this to fix gaps.

  • Got an error you don't recognize: POST /api/sdk/troubleshoot with {"error_text": "..."} — returns a fix for known patterns. Most 4xx responses include a fix field inline.
  • Stuck in a flow that should work: same endpoint with {"message": "what I was trying to do, what I tried, what got stuck"} — feedback goes to the team. 5 free per day.

More help

What this skill is and isn't

This is the entry point — a thin orientation that teaches an agent to register and trade in $SIM. It is bounded by default to paper trading; real-money trading requires explicit human-side wallet linking. Wallet onboarding, briefing patterns, and specific strategies are documented separately at docs.simmer.markets and clawhub.ai/skills?q=simmer.

Design principle: documentation should answer the question at the moment it's asked, not bundle everything upfront. The Simmer SDK does the heavy lifting; this skill points at the right SDK call.

🤖 AI 评测

这个 Skill 质量较好,文档详尽、退出策略设计合理,支持干跑/实盘多种模式,并配有参数化配置和单元测试。主要问题是外层(根目录)的文件描述的是天气交易机器人,与内层实际的 BTC 交易策略完全不符,容易造成误导。另外代码体量较大(近千行单文件),没有拆分成小模块,长远维护有一定难度。总体而言核心策略部分质量可靠,但建议在使用前确认安装的是正确的子目录内容。

📊 多维度评分

适应性4.7
规范性4.4
有效性4.3
可靠性4.2
可信度4.3

📁 包含文件 (14 个)

📄 SKILL.md 9.1 KB
📄 _meta.json 134 B
📄 clawhub.json 80 B
📄 index.js 1.3 KB
📄 package-lock.json 85 B
📄 package.json 167 B
📄 skill-card.md 2.6 KB
📄 skills/polymarket-btc-up-down-trader/SKILL.md 8.6 KB
📄 skills/polymarket-btc-up-down-trader/_meta.json 148 B
📄 skills/polymarket-btc-up-down-trader/clawhub.json 2 KB
📄 skills/polymarket-btc-up-down-trader/skill-card.md 2.2 KB
📄 skills/polymarket-btc-up-down-trader/strategy.py 33.9 KB
📄 skills/polymarket-btc-up-down-trader/tests/__init__.py 0 B
📄 skills/polymarket-btc-up-down-trader/tests/test_exits.py 18.1 KB