polyedge

📁 sbaker5/polyedge 📅 9 days ago
2
总安装量
2
周安装量
#66494
全站排名
安装命令
npx skills add https://github.com/sbaker5/polyedge --skill polyedge

Agent 安装分布

replit 2
openclaw 2
mcpjam 1
claude-code 1
windsurf 1
zencoder 1

Skill 文档

PolyEdge

The first x402 trading signal API for prediction markets.

Detect mispriced correlations between Polymarket events. Pay with USDC on Base, get alpha.

Quick Start

# 1. Request analysis (get 402 + payment instructions)
curl https://api.nshrt.com/api/v1/correlation?a=<slug-a>&b=<slug-b>

# 2. Pay 0.05 USDC to the wallet address on Base L2

# 3. Retry with payment proof
curl -H "X-Payment: 0x<tx_hash>" \
  "https://api.nshrt.com/api/v1/correlation?a=<slug-a>&b=<slug-b>"

Endpoints

Endpoint Price Description
GET / Free API info
GET /health Free Health check
GET /dashboard Free Activity dashboard
GET /api/v1/correlation?a=&b= $0.05 USDC Correlation analysis

Payment

  • Network: Base L2
  • Asset: USDC
  • Price: $0.05 per request
  • Protocol: x402
  • Window: 1 minute per payment

Response Format

{
  "market_a": { "question": "...", "yes_price": 0.72 },
  "market_b": { "question": "...", "yes_price": 0.45 },
  "analysis": {
    "pattern_type": "category",
    "expected_price_b": 0.61,
    "mispricing": 0.16,
    "confidence": "medium"
  },
  "signal": {
    "action": "BUY_YES_B",
    "strength": "strong",
    "reason": "Market B underpriced by 16%"
  }
}

Signal Types

  • BUY_YES_A/B – Market underpriced
  • BUY_NO_A/B – Market overpriced
  • HOLD – No significant mispricing
  • SKIP – Markets are mutually exclusive

Links