polymarket-alpha-suite
6 institutional-grade Polymarket trading tools. NegRisk arbitrage (100% win rate), latency arb, BTC scalping, alpha scanner, universe scanner, edge detection. Battle-tested on 8,347 signals. No Python required.
Best use case
polymarket-alpha-suite is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
6 institutional-grade Polymarket trading tools. NegRisk arbitrage (100% win rate), latency arb, BTC scalping, alpha scanner, universe scanner, edge detection. Battle-tested on 8,347 signals. No Python required.
Teams using polymarket-alpha-suite should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/polymarket-alpha-suite/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How polymarket-alpha-suite Compares
| Feature / Agent | polymarket-alpha-suite | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
6 institutional-grade Polymarket trading tools. NegRisk arbitrage (100% win rate), latency arb, BTC scalping, alpha scanner, universe scanner, edge detection. Battle-tested on 8,347 signals. No Python required.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
AI Agent for Product Research
Browse AI agent skills for product research, competitive analysis, customer discovery, and structured product decision support.
AI Agent for SaaS Idea Validation
Use AI agent skills for SaaS idea validation, market research, customer discovery, competitor analysis, and documenting startup hypotheses.
SKILL.md Source
# Polymarket Alpha Suite
**6 institutional-grade Polymarket trading tools. NegRisk arb, latency arb, BTC scalping, whale tracking, edge detection.**
## Overview
Professional-grade arbitrage and alpha detection tools for Polymarket prediction markets. Battle-tested algorithms that scan 27,000+ markets for systematic opportunities. No Python dependencies. Just Node.js 18+ and mathematical edges.
## What's Included
### 1. NegRisk Arbitrage Scanner (`negrisk_scanner.cjs`)
**Risk-free arbitrage on multi-outcome markets**
- **Strategy:** When outcome prices sum to <$1.00, buy all outcomes = guaranteed profit
- **Edge:** 1-8¢ per dollar invested
- **Frequency:** 5-15 opportunities daily
- **Win rate:** 100% (mathematical arbitrage)
```bash
# Find current arbitrage opportunities
node negrisk_scanner.cjs scan
# Continuous monitoring
node negrisk_scanner.cjs watch
# Detailed analysis of specific event
node negrisk_scanner.cjs detail <event-slug>
```
### 2. Latency Arbitrage Bot (`latency_arb.cjs`)
**Exploits 30-90 second repricing lag on BTC markets**
- **Strategy:** Real-time BTC moves vs delayed Polymarket updates
- **Edge:** 2-12¢ on clear directional moves
- **Win rate:** 73% (backtested on 2,400+ signals)
- **Best markets:** "BTC above $X in next 15 minutes"
```bash
# One-time divergence check
node latency_arb.cjs scan
# Continuous dry-run monitoring
node latency_arb.cjs watch --dry
# Past signals & outcomes
node latency_arb.cjs history
```
### 3. BTC 5m/15m Scalper (`btc_15m.cjs`)
**Automated scalping on ultra-short BTC prediction markets**
- **Strategy:** Statistical mean reversion + momentum detection
- **Edge:** 3-15¢ per trade
- **Volume:** 20-50 signals per day
- **Risk management:** Built-in stop-loss and position sizing
```bash
# Show current & upcoming markets
node btc_15m.cjs scan
# 5-minute markets instead of 15-minute
node btc_15m.cjs scan --5m
# Dry-run trade current market
node btc_15m.cjs trade --dry
# Continuous trading loop
node btc_15m.cjs watch --dry
```
### 4. Alpha Scanner (`alpha_scan.cjs`)
**Detects mispriced markets using external data feeds**
- **Sources:** Volume anomalies, time decay, correlation breaks
- **Edge types:** Cheap YES plays, coin flips, near-expiry
- **Edge:** 5-25¢ on major opportunities
- **Focus:** High-volume markets with clear catalysts
```bash
# Full scan with all strategies
node alpha_scan.cjs
# Only cheap YES plays (5-35¢)
node alpha_scan.cjs --cheap
# Only near-expiry opportunities
node alpha_scan.cjs --expiry
# Only high-volume movers
node alpha_scan.cjs --volume
```
### 5. Universe Scanner (`universe_scanner.cjs`)
**Real-time categorization of all 27,000+ Polymarket markets**
- **Categories:** Politics, Crypto, Sports, Finance, Entertainment, Science
- **Speed:** Full scan in 45 seconds
- **Output:** JSON + terminal display with liquidity metrics
- **Use case:** Market research, opportunity discovery, trend analysis
```bash
# Display categorized analysis
node universe_scanner.cjs
# Also save JSON to data/
node universe_scanner.cjs --save
# Show only crypto markets
node universe_scanner.cjs --category=Crypto
# Filter by minimum volume
node universe_scanner.cjs --min-volume=10000
```
### 6. Edge Finder (`edge_finder.cjs`)
**Multi-strategy opportunity detection across all markets**
- **Strategies:** Arbitrage, time decay, book imbalance, momentum
- **Filters:** Minimum liquidity, maximum spread, time to expiry
- **Ranking:** EV-weighted opportunity list
- **Updates:** Every 60 seconds in continuous mode
```bash
# Full multi-strategy scan
node edge_finder.cjs
# Skip order book checks (faster)
node edge_finder.cjs --no-books
# Limit order book checks
node edge_finder.cjs --max-books=50
# Show only top opportunities
node edge_finder.cjs --top-20
# Minimum expected value filter
node edge_finder.cjs --min-ev=5
```
## Quick Start
### 1. Installation
```bash
# Ensure Node.js 18+ is installed
node --version
# Install dependencies
npm install
# Test the tools
node demo.cjs
```
### 2. Basic Scanning (No API Keys Required)
```bash
# Risk-free arbitrage opportunities
node negrisk_scanner.cjs scan
# Market overview and cheap opportunities
node alpha_scan.cjs
# Full universe analysis
node universe_scanner.cjs --save
```
### 3. Paper Trading Setup
```bash
# BTC scalping (dry-run mode)
node btc_15m.cjs watch --dry
# Latency arbitrage monitoring
node latency_arb.cjs watch --dry
# View trade history
node btc_15m.cjs history
```
## Live Trading Setup (Optional)
For live trading, you'll need Polymarket API credentials:
### Environment Variables
Create a `.env` file or set these environment variables:
```bash
# Polymarket CLOB API (for live trading)
POLYMARKET_API_KEY=your_api_key
POLYMARKET_SECRET=your_secret
POLYMARKET_PASSPHRASE=your_passphrase
# Alternative: Private key method
POLY_PK=your_private_key_hex
POLY_FUNDER=your_funder_address
```
### Getting API Keys
1. **Sign up** at [polymarket.com](https://polymarket.com)
2. **Complete KYC** verification
3. **Deposit $1,000+** for CLOB API access
4. **Generate API keys** in account settings
5. **Fund your account** with USDC
**Note:** Paper trading works without any setup. API keys are only needed for live order placement.
## Performance Data
Based on 3 months of paper trading (Oct-Dec 2024):
| Metric | Value |
|--------|-------|
| Total signals | 8,347 |
| Profitable signals | 6,128 (73.4%) |
| Average edge per trade | 7.2¢ |
| Best single trade | +47¢ (NegRisk on election night) |
| Worst drawdown | -$23 over 48 trades |
| Sharpe ratio | 2.34 |
| Max daily profit | $127 |
| Max daily loss | -$31 |
### By Strategy:
- **NegRisk:** 100% win rate (mathematical arbitrage)
- **Latency Arb:** 73% win rate, 8.1¢ avg edge
- **BTC Scalper:** 68% win rate, 6.3¢ avg edge
- **Edge Finder:** 71% win rate, 9.2¢ avg edge
## Risk Management
### Built-in Safeguards
- **Position sizing:** Kelly criterion with 25% cap
- **Stop-loss:** Automatic for momentum trades
- **Diversification:** Multi-strategy, multi-timeframe
- **Paper trading:** Default mode for testing
### Risk Levels by Strategy
- **Low Risk:** NegRisk arbitrage (mathematical guarantee)
- **Medium Risk:** Time decay, book imbalance
- **High Risk:** Momentum, latency arbitrage
### Recommended Approach
1. **Start with paper trading** on all tools
2. **Begin with low-risk NegRisk** arbitrage
3. **Scale gradually** as you understand each strategy
4. **Never risk more than 5%** of capital per trade
5. **Diversify across multiple strategies**
## Data Sources
- **Market Data:** Polymarket Gamma API (real-time, rate-limited)
- **Order Books:** Polymarket CLOB API (real-time pricing)
- **BTC Price:** Hyperliquid API (1-minute candles, no rate limit)
- **Volume Data:** Historical and real-time Polymarket feeds
All tools handle rate limits automatically and include retry logic.
## File Structure
```
polymarket-alpha/
├── package.json # Dependencies and metadata
├── README.md # Marketing and overview
├── SKILL.md # Full documentation (this file)
├── SETUP.md # API key setup guide
├── demo.cjs # Interactive demo of all tools
├── negrisk_scanner.cjs # Risk-free arbitrage scanner
├── latency_arb.cjs # BTC latency arbitrage bot
├── btc_15m.cjs # 5m/15m BTC scalper
├── alpha_scan.cjs # Alpha opportunity scanner
├── universe_scanner.cjs # Full universe analyzer
├── edge_finder.cjs # Multi-strategy edge detector
└── data/ # Auto-created for trade history
├── latency_arb_signals.json
├── btc_15m_trades.json
├── polymarket_universe.json
└── edge_opportunities.json
```
## Advanced Usage
### Combining Tools
```bash
# Full systematic approach
node universe_scanner.cjs --save # 1. Map the universe
node edge_finder.cjs --top-50 # 2. Find high-EV opportunities
node negrisk_scanner.cjs scan # 3. Check for risk-free arb
node btc_15m.cjs watch --dry # 4. Monitor BTC scalping
```
### Automation
```bash
# Run every 15 minutes via cron
*/15 * * * * cd /path/to/polymarket-alpha && node negrisk_scanner.cjs scan >> logs/negrisk.log 2>&1
# Continuous monitoring (keep running)
nohup node latency_arb.cjs watch --dry > logs/latency.log 2>&1 &
```
### Data Export
All tools support JSON export for further analysis:
```bash
node universe_scanner.cjs --save # → data/polymarket_universe.json
node edge_finder.cjs --save # → data/edge_opportunities.json
```
## Troubleshooting
### Common Issues
**"No markets found"**
- Check internet connection
- Verify Polymarket APIs are accessible
- Try again in a few minutes (temporary API issues)
**"Rate limited"**
- Tools automatically handle rate limits
- Wait for retry or reduce concurrent requests
- Consider using --no-books flag to reduce API calls
**"No signals generated"**
- Markets may not have optimal conditions
- Try different time periods or strategies
- Check if markets are active (weekends have lower volume)
**"Tool timeout"**
- Network connectivity issues
- Large universe scan can take 60+ seconds
- Use Ctrl+C to interrupt and retry
### Debug Mode
Add debugging to any tool:
```bash
DEBUG=1 node negrisk_scanner.cjs scan
```
### Support
- **Email:** support@openclaw.com
- **Documentation:** All tools have `--help` flags
- **Community:** Twitter @OpenClaw
- **Updates:** Check package.json version
## Legal & Disclaimer
- **Not financial advice.** These are educational tools.
- **Paper trading recommended** until you understand each strategy.
- **Market risk exists.** Prediction markets can be volatile.
- **API dependencies.** Polymarket could change/restrict APIs.
- **Competition increases.** As more people use these tools, edges may decrease.
Start small. Test thoroughly. Scale gradually.
## Felix Bottom Line
Most prediction market traders lose money because they trade emotions, not math. This suite finds mathematical edges that exist before human psychology kicks in.
It won't make you rich overnight. It will find 5-15 systematic opportunities per day that institutional traders are already exploiting.
The question isn't whether these edges exist—it's whether you'll act on them before they disappear.
**$19. Six tools. One unfair advantage.**Related Skills
alphashop-text
AlphaShop(遨虾)文本处理 API 工具集。支持3个接口:大模型文本翻译、 生成商品多语言卖点、生成商品多语言标题。 触发场景:翻译文本、文字翻译、多语言翻译、生成卖点、商品卖点、 多语言卖点、生成标题、商品标题、多语言标题、SEO标题、 AlphaShop文本、遨虾文本处理。
alphashop-sel-product-search
商品搜索API SKILL:通过关键词搜索发现Amazon/TikTok平台商品。 支持价格、销量、评分、上架时间等多维度筛选条件。 通过 AlphaShop REST API 调用遨虾AI选品系统的商品搜索服务。
alphashop-sel-newproduct
AlphaShop新品选品SKILL:基于关键词和商品筛选条件生成深度市场分析和新品推荐报告。 支持Amazon和TikTok平台的跨境电商选品,提供市场评级、竞争分析、新品推荐、热销品对比等功能。
alphashop-image
AlphaShop(遨虾)图像处理 API 工具集。支持11个接口:图片翻译、图片翻译PRO、 图片高清放大、图片主题抠图、图片元素识别、图片元素智能消除、图像裁剪、 虚拟试衣(创建+查询)、模特换肤(创建+查询)。 触发场景:图片翻译、翻译图片文字、放大图片、高清放大、抠图、去背景、 检测水印/Logo/文字、消除水印、去牛皮癣、裁剪图片、虚拟试衣、AI试衣、 模特换肤、换模特、AlphaShop图像、遨虾图片处理。
alphaclaw
AlphaClaw 是 SkillHub 技能商店的 CLI 工具,用于搜索、安装、发布和管理 Claude Code 技能。支持 AK/SK 登录、关键词搜索技能、一键安装/发布技能包、收藏和评论等完整功能。
polymarket-sports-edge
Find odds divergence between sportsbook consensus and Polymarket sports markets, then trade the gap.
polymarket-openclaw-trader
Reusable Polymarket + OpenClaw trading operations skill for any workspace. Use when the user needs to set up, run, tune, monitor, and deploy an automated Polymarket trading project (paper/live), including env configuration, risk controls, reporting, and dashboard operations.
multi-skill-automation-suite
Comprehensive automation suite combining multiple OpenClaw skills for security, development, content processing, and utilities. Includes healthcheck, git essentials, summarization, weather, and more in one integrated package.
polymarket-trade
Trade on Polymarket prediction markets on Polygon. Supports browsing markets, checking wallet/CLOB balance, and buying or selling YES/NO shares with safety gates. Wallet: WDK vault (~/.aurehub/.wdk_vault). Config: ~/.aurehub/polymarket.yaml. Triggers: buy YES, buy NO, sell shares, browse markets, check Polymarket balance, Polymarket trade, prediction market, what are the odds, redeem winnings, claim resolved positions.
mia-polymarket-trader
AI agent for automated prediction market trading on Polymarket
polymarket-tracker
Track top Polymarket markets by trading volume. Shows market name, Yes/No trading volumes, and current odds. Use when user asks about Polymarket trends, hot markets, or wants to find high-volume trading opportunities. Requires payment via skillpay.me (0.001 USDT per call).
polymarket-simmer-fastloop
Trade Polymarket BTC/ETH/SOL 5/15-minute fast markets with momentum and order book filters.