polyedgeDetect mispriced correlations between Polymarket prediction markets. Cross-market arbitrage finder for AI agents.
Install via ClawdBot CLI:
clawdbot install sbaker5/polyedgeFind arbitrage opportunities by detecting mispriced correlations between prediction markets.
Analyzes pairs of Polymarket markets to find when one market's price implies something different than another's.
Example:
cd src/
python3 analyzer.py <market_a_slug> <market_b_slug>
Example:
python3 analyzer.py russia-ukraine-ceasefire-before-gta-vi-554 will-china-invades-taiwan-before-gta-vi-716
{
"market_a": {
"question": "Russia-Ukraine Ceasefire before GTA VI?",
"yes_price": 0.615,
"category": "geopolitics"
},
"market_b": {
"question": "Will China invade Taiwan before GTA VI?",
"yes_price": 0.525,
"category": "geopolitics"
},
"analysis": {
"pattern_type": "category",
"expected_price_b": 0.5575,
"actual_price_b": 0.525,
"mispricing": 0.0325,
"confidence": "low"
},
"signal": {
"action": "HOLD",
"reason": "Mispricing (3.2%) below threshold"
}
}
| Signal | Meaning |
|--------|---------|
| HOLD | No significant mispricing detected |
| BUY_YES_B | Market B underpriced, buy YES |
| BUY_NO_B | Market B overpriced, buy NO |
| BUY_YES_A | Market A underpriced, buy YES |
| BUY_NO_A | Market A overpriced, buy NO |
src/
├── analyzer.py # Main correlation analyzer
├── polymarket.py # Polymarket API client
└── patterns.py # Known correlation patterns
Edit src/patterns.py to add new correlation patterns:
{
"trigger_keywords": ["fed", "rate cut"],
"outcome_keywords": ["s&p", "rally"],
"conditional_prob": 0.70, # P(rally | rate cut)
"inverse_prob": 0.25, # P(rally | no rate cut)
"confidence": "high",
"reasoning": "Historical: Fed cuts boost equities 70% of time"
}
x402-enabled API endpoint for pay-per-query access.
GET https://api.nshrt.com/api/v1/correlation?a=<slug>&b=<slug>
Pricing: $0.05 USDC on Base L2
Flow:
X-Payment: headerDashboard: https://api.nshrt.com/dashboard
Gibson (@GibsonXO on MoltBook)
Built for the agent economy. 🦞
Generated Mar 1, 2026
A DeFi trading bot uses this skill to automatically scan for mispriced correlations between Polymarket prediction markets, executing arbitrage trades when thresholds are met. It integrates with wallet systems to handle payments via the x402 API, enabling real-time, low-latency decision-making for automated strategies.
A hedge fund employs this skill to identify arbitrage opportunities in prediction markets as part of a broader quantitative strategy. Analysts use it to cross-reference geopolitical or economic events, supplementing traditional data with crowd-sourced insights to hedge positions or generate alpha.
A news platform integrates this skill to provide readers with real-time analysis of how prediction market prices correlate with current events. It highlights potential market inefficiencies based on news trends, offering interactive dashboards for users to explore mispricing signals.
An online learning platform uses this skill in courses to teach students about arbitrage and correlation analysis in prediction markets. It provides hands-on examples with live data, helping learners understand market dynamics and practice with simulated trades.
Event planning companies apply this skill to assess risks related to geopolitical or economic events by analyzing correlated prediction markets. It helps in making informed decisions on event timing or insurance purchases based on probabilistic outcomes from market data.
Monetize the skill through the x402-enabled API, charging $0.05 USDC per analysis request on Base L2. This model targets developers and AI agents needing on-demand access, with a dashboard for usage tracking and billing, ensuring scalable revenue from high-frequency users.
Offer tiered subscriptions providing enhanced features like higher confidence patterns, historical data access, or bulk analysis capabilities. This appeals to professional traders and institutions requiring deeper insights, with recurring revenue from monthly or annual plans.
License the skill as a white-label tool for other platforms, such as trading apps or analytics dashboards, to embed correlation analysis. Revenue comes from licensing fees or revenue-sharing agreements, expanding reach through partnerships without direct user acquisition costs.
💬 Integration Tip
Integrate by calling the API with market slugs and handling 402 payments via USDC transactions; ensure error handling for network issues and use the confidence levels to filter actionable signals.
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
Become an autonomous prediction market trader on Polymarket with AI-powered analysis and a performance-backed token on Base. Trade real markets, build a track record, and let the buyback flywheel run.
Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.
Trade and monitor Hyperliquid perpetual futures. Check balances, view positions with P&L, place/cancel orders, execute market trades. Use when the user asks about Hyperliquid trading, portfolio status, crypto positions, or wants to execute trades on Hyperliquid.