编程

polymarket-fast-loop

试用

Trade Polymarket BTC 5-minute and 15-minute fast markets using Binance momentum signals, enhanced with TradingAgents pipeline, 50-persona swarm consensus, ACTA receipts, and Cedar governance

它能做什么

Purpose Automated trading on Polymarket BTC 5-minute and 15-minute binary markets using Binance momentum signals, enhanced with: **TradingAgents 5-layer pipeline** (Analysts → Research Debate → Trader → Risk → Portfolio Manager) **50-Persona Swarm Consensus** (Bayesian aggregation + quarter-Kelly s…

技能文档

Polymarket Fast-Loop Trading Skill

Purpose

Automated trading on Polymarket BTC 5-minute and 15-minute binary markets using Binance momentum signals, enhanced with:

  • TradingAgents 5-layer pipeline (Analysts → Research Debate → Trader → Risk → Portfolio Manager)
  • 50-Persona Swarm Consensus (Bayesian aggregation + quarter-Kelly sizing)
  • ACTA Ed25519 Receipts (IETF draft-farley-acta-signed-receipts-03 compliant)
  • Cedar Policy Governance (pre/post trade authorization)

When to Use

  • New 5-minute or 15-minute BTC market opens on Polymarket
  • Binance BTC/USDT momentum signal exceeds threshold
  • Market meets volume, spread, and fee filters

Workflow

  1. Market Discovery - Scan Polymarket for active BTC 5m/15m markets
  2. Signal Generation - Fetch Binance 1m candles, calculate momentum
  3. Filter Application - Apply volume, spread, fee, momentum thresholds
  4. Enhanced Decision - Run TradingAgents pipeline + Swarm Consensus
  5. Governance Check - Cedar policy evaluation + ACTA receipt signing
  6. Trade Execution - Place trade via Simmer SDK with Kelly sizing
  7. Position Management - Monitor until expiry, apply stop-loss/take-profit
  8. Outcome Logging - Record trade with thesis, confidence, outcome

Configuration

{
  "momentum_threshold_pct": 0.10,
  "volume_filter_usd": 10000,
  "spread_filter_pct": 0.05,
  "fee_buffer": 1.5,
  "position_size_pct": 0.05,
  "max_hold_minutes": 5
}

Integration Points

  • Uses trading_agents.pipeline.TradingAgentsPipeline for enhanced decisions
  • Uses swarm_consensus.integrate_predictive.PredictiveSwarm for swarm consensus
  • Uses veritas_receipts.VeritasReceiptSigner for ACTA receipt signing
  • Uses cedar_policy.CedarPolicyEngine for policy enforcement
  • Emits ACTA receipts for every trade decision
  • Logs to prediction-trade-journal for calibration

Environment Variables

SIMMER_API_URL=https://api.simmer.markets
SIMMER_API_KEY=
SIMMER_MOMENTUM_THRESHOLD=0.001
SIMMER_VOLUME_FILTER=10000
SIMMER_SPREAD_FILTER=0.05
SIMMER_FEE_BUFFER=1.5
SIMMER_POSITION_SIZE_PCT=0.05
SIMMER_MAX_HOLD_MINUTES=5

Governance

  • All trade decisions emit ACTA Ed25519 receipts (IETF draft-farley-acta-signed-receipts-03)
  • Cedar policy engine evaluates pre-trade authorization
  • Quarter-Kelly position sizing (max 10% bankroll per trade)
  • Hard stop-loss at 5%, take-profit at 10%
  • TRADING_VENUE=sim forced for paper trading
  • 3-gate safety: TRADING_VENUE=polymarket + --live + SIMMER_MCP_ALLOW_LIVE=true required for live

Safety

  • Only executes when BOTH pipeline and swarm agree on side
  • Position size capped at 10% bankroll
  • Hard stop-loss at 5% from entry
  • Max 3 concurrent trades per tick
  • TRADING_VENUE=sim enforced (paper only)

相关技能

在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。

作者 Iván561 次安装18 星标

以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。

作者 johnpatternai22 次安装8 星标

把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。

作者 nssa.io1.0k 次安装47 星标

从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。

作者 fly0pants4.3k 次安装296 星标

诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。

作者 Iván857 次安装69 星标