返回 Skill 列表
extension
分类: 其它需要 API Key

Polymarket Btc Momentum

在Polymarket的比特币5分钟冲刺市场上,依据币安实时BTC价格动量交易。BTC动量看涨买入YES,看跌买入NO。

person作者: azvn2610hubclawhub

BTC Momentum Trader

Trades Polymarket's "Bitcoin Up or Down" 5-minute sprint markets using real-time price momentum from Binance public API.

This is a template. The default signal is BTC/USDT price momentum from Binance — remix it with other CEX feeds (Coinbase, OKX, Bybit), different timeframes, or volume-weighted signals. The skill handles all the plumbing (market discovery, context checks, trade execution, safeguards). Your agent provides the alpha.

What it does

  1. Fetches live BTC price + recent candles from Binance (no API key needed)
  2. Calculates short-term momentum (EMA crossover + volume confirmation)
  3. Finds the next active "Bitcoin Up or Down" 5-min sprint market on Polymarket
  4. Checks context for slippage/flip-flop warnings
  5. Executes trade with reasoning — skips if edge < 5% or warnings present

Requirements

  • SIMMER_API_KEY — your Simmer API key
  • Python 3.8+
  • simmer-sdk, requests

Usage

# Paper trade (default)
python btc_momentum.py

# Live trade
python btc_momentum.py --live

Remixing

  • Swap Binance for another feed: change get_btc_momentum() to call your preferred CEX
  • Adjust MIN_EDGE threshold (default 0.05) for more/fewer trades
  • Change TRADE_AMOUNT (default $10) in the config block
  • Add RSI, MACD, or sentiment signals to compute_signal()