介绍
# Polymarket Analysis
通过多模态分析识别 Polymarket 预测市场中的交易优势。
**范围:** 仅包含分析与机会识别。不执行交易。
## 模式
| 模式 | 描述 | 参考 | |------|-------------|-----------| | **Analyze** | 一次性市场分析 | 本文件 | | **Monitor** | 7x24 市场监控 | `references/market-monitoring-setup.md` | | **Profile** | 追踪用户钱包持仓 | `scripts/fetch-polymarket-user-profile.py` |
## 脚本
```bash # Monitor market for alerts python3 scripts/monitor-polymarket-market.py <market_url_or_id>
# Fetch user profile/positions python3 scripts/fetch-polymarket-user-profile.py <wallet_address> [--trades] [--pnl] ```
## 快速开始
### 市场分析 1. 从用户处获取市场 URL 2. 通过 `https://gamma-api.polymarket.com/markets?slug={slug}` 获取 3. 运行多策略分析
### 用户资料 ```bash # From profile URL: polymarket.com/profile/0x... python3 scripts/fetch-polymarket-user-profile.py 0x7845bc5e15bc9c41be5ac0725e68a16ec02b51b5 ```
## 核心策略
| 策略 | 描述 | 参考 | |----------|-------------|-----------| | Pair Cost Arbitrage | YES+NO < $1.00 | `references/pair-cost-arbitrage.md` | | Momentum | RSI, MA 信号 | `references/momentum-analysis.md` | | Whale Tracking | 大额交易 | `references/whale-tracking.md` | | Sentiment | 新闻/社交媒体 | `references/sentiment-analysis.md` |
## 告警阈值
| 事件 | 阈值 | |-------|-----------| | 价格变化 | 1小时内 ±5% | | 大额交易 | >$5,000 | | Pair cost | <$0.98 | | 成交量激增 | >2倍均值 |
## APIs
| API | 基础 URL | 用途 | |-----|----------|-----| | Gamma | `gamma-api.polymarket.com` | 市场、价格 | | Data | `data-api.polymarket.com` | 用户持仓、交易、盈亏 | | CLOB | `clob.polymarket.com` | 订单簿、交易 |
完整端点参考请见 `references/polymarket-api.md`。
## 参考资料
- `references/polymarket-api.md` - API 端点 - `references/market-monitoring-setup.md` - 7x24 定时任务监控 - `references/pair-cost-arbitrage.md` - 套利检测 - `references/momentum-analysis.md` - 技术分析 - `references/whale-tracking.md` - 智能资金追踪 - `references/sentiment-analysis.md` - 情绪聚合