Polymarket Deployment Verification
One-command verification of the MR-V4 trading system.
Usage
Run the check script:
CODEBLOCK0
What It Checks
- 1. Process count — exactly 3 trader processes (V4 LIVE + 2 sims)
- No duplicate processes — each directory has at most 1 trader
- V4 flock protection — lock file is held by running process
- Config validation — dryrun, maxentries, hedge_size match expected values
- Trade activity — trades.jsonl has recent writes (within 2 hours)
- Sim-trader isolation — sim processes running from sim-trader/ directory, not CLI
- Cron health — guardian cron (980acb62) and hourly report (4ddfd61a) have no consecutive errors
- Data collector — DC process alive and writing tick data
Output Format
CODEBLOCK1
When to Use
- - After any strategy deployment or config change
- When Bobby asks to verify 韭菜王's work
- Automatically from guardian cron (optional)
- After process restarts or Gateway restarts
技能名称: polymarket-verify
详细描述:
Polymarket 部署验证
一键验证 MR-V4 交易系统。
使用方法
运行检查脚本:
bash
bash /Users/0xbobby/.openclaw/workspace/skills/polymarket-verify/scripts/verify.sh
检查内容
- 1. 进程数量 — 恰好 3 个交易者进程(V4 实盘 + 2 个模拟)
- 无重复进程 — 每个目录最多 1 个交易者
- V4 文件锁保护 — 锁文件由运行中的进程持有
- 配置验证 — dryrun、maxentries、hedge_size 与预期值匹配
- 交易活动 — trades.jsonl 在最近 2 小时内有写入
- 模拟交易者隔离 — 模拟进程从 sim-trader/ 目录运行,而非 CLI
- 定时任务健康 — 守护定时任务 (980acb62) 和每小时报告 (4ddfd61a) 无连续错误
- 数据收集器 — DC 进程存活并持续写入 tick 数据
输出格式
✅ 通过:[检查项名称] — [详情]
❌ 失败:[检查项名称] — [详情]
⚠️ 警告:[检查项名称] — [详情]
摘要:X/Y 项检查通过
使用时机
- - 任何策略部署或配置变更后
- 当 Bobby 要求验证韭菜王的工作时
- 从守护定时任务自动运行(可选)
- 进程重启或 Gateway 重启后