← 返回
未分类 Key 中文

Polymarket Sol Momentum

Trades Polymarket crypto prediction markets (Solana, Bitcoin, Ethereum) using CoinGecko momentum signals. Buys YES when bullish markets are underpriced vs pr...
Trades Polymarket crypto prediction markets (Solana, Bitcoin, Ethereum) using CoinGecko momentum signals. Buys YES when bullish markets are underpriced vs pr...
chokle chokle 来源
未分类 clawhub v1.0.0 1 版本 99709.3 Key: 需要
★ 1
Stars
📥 323
下载
💾 0
安装
1
版本
#latest

概述

SOL/Crypto Momentum Trader 🔮

Scans Polymarket for Solana, Bitcoin, and Ethereum prediction markets where the current market price diverges from CoinGecko momentum signals — and trades the gap.

> This is a template. The default signal is CoinGecko 24h/7d price change — remix it with your own price feed, CEX funding rates, on-chain data, or any directional signal. The skill handles all the plumbing (market discovery, edge scoring, context checks, trade execution). Your agent provides the alpha.


Strategy

  1. Fetch 24h and 7d price change for SOL, BTC, ETH from CoinGecko (free, no API key needed)
  2. Compute a directional momentum signal: weighted blend of 24h (60%) and 7d (40%) change, normalized to ±1 at ±20% move
  3. Scan active Polymarket markets matching solana, bitcoin, ethereum, crypto
  4. Detect whether each market's question is bullish or bearish framing
  5. Score divergence: edge = |expected_prob − market_prob|
  6. Buy YES or NO on markets where edge exceeds threshold (default 8%)
  7. Check Simmer context before each trade — skip on flip-flop warnings, high slippage, or HOLD recommendation
  8. Tag all trades with skill_slug for per-skill volume attribution on Simmer

Requirements

  • SIMMER_API_KEY — your Simmer agent API key
  • simmer-sdk — installed via pip (see clawhub.json)
  • requests — for CoinGecko API calls
  • No CoinGecko API key needed (free public endpoint)

Configuration

All config via environment variables — no code edits needed:

VariableDefaultDescription
--------------------------------
SIMMER_API_KEYrequiredYour Simmer agent API key
TRADING_VENUEsimsim (paper), polymarket (real USDC), kalshi (real USD)
TRADE_AMOUNT_USD10.0USD per trade
DIVERGENCE_THRESHOLD0.08Min edge to trade (8% = 0.08)
MAX_TRADES_PER_RUN3Max trades per cron cycle

Running

# Install dependencies
pip install simmer-sdk requests

# Dry run (default — no real trades)
python strategy.py

# Live trading
python strategy.py --live

The script defaults to dry-run mode. Pass --live explicitly to execute real trades. When run via ClawHub automaton, set TRADING_VENUE=polymarket (or sim) in your environment — the --live flag is handled automatically by the automaton entrypoint.


Remix Ideas

Swap the signal source:

  • Replace CoinGecko with Binance/Bybit REST API for real-time price + funding rate
  • Use on-chain Solana data (epoch rewards, validator stake changes) as a signal
  • Pull sentiment from Twitter/Reddit via a simple keyword count API

Tune the strategy:

  • Lower DIVERGENCE_THRESHOLD to 5% to trade more aggressively
  • Increase TRADE_AMOUNT_USD once you've validated edge on Simmer ($SIM)
  • Add a volume filter to skip illiquid markets

Extend asset coverage:

  • Add "sui", "bnb", "matic" to the COINGECKO_IDS mapping
  • Point at Kalshi crypto markets: set venue="kalshi" and import markets first

Layer signals:

  • Run the script twice per cycle with different signals, average the outputs
  • Add a momentum confirmation filter (only trade if 1h and 24h align)

Safety Rails

Built-in safeguards (via Simmer context endpoint):

  • Flip-flop detection — skips markets where your agent has been reversing positions
  • Slippage check — skips markets where estimated slippage > 15%
  • Edge analysis — respects HOLD recommendations from Simmer's context engine
  • Simmer default limits — $100/trade, $500/day, 50 trades/day (configurable via dashboard)

Volume Attribution

All trades are tagged with source="sdk:polymarket-sol-momentum" and skill_slug="polymarket-sol-momentum". This attributes trade volume to this skill on Simmer and qualifies for the 2% creator fee on LMSR markets you've imported.


Links

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 15:07 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,085 📥 813,497
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 325,728
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,383 📥 320,833