Polymarket Analysis 用于在 Polymarket 预测市场中识别交易优势,采用多模态分析。
用途 该工具的目标是分析与机会识别,范围明确限定为分析与机会发现,不执行任何交易。
模式 工具提供三种模式:一、Analyze:一次性市场分析,相关说明见本文件。二、Monitor:7×24 小时市场监控,配置参考 references/market-monitoring-setup.md。三、Profile:追踪用户钱包持仓,使用 scripts/fetch-polymarket-user-profile.py。
脚本 监控市场并发出告警:
python3 scripts/monitor-polymarket-market.py <market_url_or_id>
获取用户资料与持仓:
python3 scripts/fetch-polymarket-user-profile.py <wallet_address> [--trades] [--pnl]
快速开始 市场分析流程:一、从用户处获取市场 URL。二、通过 https://gamma-api.polymarket.com/markets?slug={slug} 获取数据。三、运行多策略分析。 用户资料示例(资料 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 倍。
API 一、Gamma:基础 URL 为 gamma-api.polymarket.com,用于市场与价格。二、Data:基础 URL 为 data-api.polymarket.com,用于用户持仓、交易与盈亏。三、CLOB:基础 URL 为 clob.polymarket.com,用于订单簿与交易。完整端点参考见 references/polymarket-api.md。
参考文档 references/polymarket-api.md:API 端点(Gamma、Data、CLOB)。references/market-monitoring-setup.md:7×24 小时 cron 监控。references/pair-cost-arbitrage.md:套利检测。references/momentum-analysis.md:技术分析。references/whale-tracking.md:聪明钱跟踪。references/sentiment-analysis.md:情绪聚合。
限制 该工具仅进行分析与机会识别,不执行交易。其余如收费、价格、平台支持范围等信息暂未提供。