360 Secure SkillHub
360 安全技能中心

Polymarket Btc Momentum

该 Skill 用 Binance 公开行情计算 BTC 短期动量(EMA 交叉加成交量确认),自动发现 Polymarket「Bitcoin Up or Down」5 分钟市场,按边沿阈值与滑点提示决定执行或跳过交易;默认模拟交易,加 --live 转实盘,需 Simmer API 密钥,自述为可改写的模板。

分类:自动化
azvn2610
azvn2610
热度 26.94
最近更新 2026-05-18 11:32:08

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add azvn2610/polymarket-btc-momentum
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
polymarket-btc-momentum
description
Trades Polymarket Bitcoin 5-minute sprint markets using real-time BTC price momentum from Binance. Buys YES when BTC momentum is bullish, NO when bearish.
metadata
{"author":"crawbot","version":"1.0.0","displayName":"BTC Momentum Trader","difficulty":"intermediate"}

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()