Polymarket Copytrading
Create copy-trading plans from leaderboard data with strict risk controls.
Workflow
- 1. Pull leaderboard snapshots from Data API (
OVERALL/POLITICS/CRYPTO × DAY/WEEK/MONTH/ALL). - Score consistency (multi-period + multi-category presence).
- Detect cycle phase (
巅峰 / 强势 / 观察). - Output top 5 traders with wallet, rationale, and risk level.
- Produce execution plan with hard limits (position size, max concurrent bets, daily stop).
Commands
Use script:
CODEBLOCK0
Optional category focus:
CODEBLOCK1
Auto monitor + threshold execution:
CODEBLOCK2
Peak-phase rule (default)
- -
巅峰: DAY<=10 and WEEK<=10 and MONTH<=20 - INLINECODE6 : WEEK<=15 and MONTH<=30
- INLINECODE7 : MONTH<=20 but DAY>30
- else INLINECODE8
Risk template (small-account mode)
- - Single bet <= 8 USDC
- Max concurrent positions = 2
- Stop for the day after 2 consecutive losses
- Start with 2 traders only; promote others after 20 observed signals
Notes
- - Prefer high-liquidity main markets; avoid noisy micro markets.
- If no clear edge exists, return
空仓等待 with next check time.
Polymarket 跟单交易
根据排行榜数据创建跟单交易计划,并实施严格的风险控制。
工作流程
- 1. 从数据 API 拉取排行榜快照(总体/政治/加密货币 × 日/周/月/全部)。
- 评分一致性(多周期 + 多类别表现)。
- 检测周期阶段(巅峰 / 强势 / 观察)。
- 输出排名前 5 的交易者,包含钱包地址、理由和风险等级。
- 生成带有硬性限制的执行计划(仓位大小、最大并发交易数、每日止损)。
命令
使用脚本:
bash
python3 scripts/scan_copytraders.py --top 5
可选类别聚焦:
bash
python3 scripts/scan_copytraders.py --categories OVERALL,CRYPTO --top 5
自动监控 + 阈值执行:
bash
一次性模拟运行
python3 scripts/auto_copytrade.py --config references/auto-copytrade-config.example.json
实时执行循环(每 120 秒)
python3 scripts/auto_copytrade.py \
--config references/auto-copytrade-config.example.json \
--interval 120 \
--execute
巅峰阶段规则(默认)
- - 巅峰:日排名<=10 且 周排名<=10 且 月排名<=20
- 强势:周排名<=15 且 月排名<=30
- 观察:月排名<=20 但 日排名>30
- 其他情况:普通
风险模板(小账户模式)
- - 单笔交易 <= 8 USDC
- 最大并发持仓数 = 2
- 连续亏损 2 次后当日停止交易
- 初始仅跟单 2 名交易者;观察 20 个信号后提升其他交易者
注意事项
- - 优先选择高流动性主流市场;避免嘈杂的微型市场。
- 若无明显优势,返回空仓等待并附带下次检查时间。