3) Explain fills (events.jsonl) with Binance context
{baseDir}/scripts/explain_fills.py
Reads paperbot events.jsonl and prints a concise table for the last N fills:
side/outcome/px/reason
estimated fair_up + z
“against trend?” flag
References
{baseDir}/references/strategy.md — the math model, parameters, and tuning checklist.
1---2name: polymarket-trader3description: Polymarket Trader4---56# Polymarket Trader78Maintain a profitable **BTC 1h Up/Down** strategy by anchoring decisions to **Binance BTCUSDT** (the resolution source) and enforcing anti-churn/risk rules.910## Workflow (use this order)11121) **Confirm the market type**13- This skill is optimized for `bitcoin-up-or-down-*` 1h markets (Binance 1H open vs close).14152) **Compute the anchor signal (Binance)**16- Fetch 1m closes + the 1h open for the relevant hour.17- Compute volatility (sigma) and time-to-expiry.18- Convert to **fair probability** for Up/Down.19203) **Trade only when there is measurable edge**21- Enter only if `edge = fair_prob - market_price` exceeds a threshold.22- Add a directional guardrail: do not bet against the sign of the move when |z| is non-trivial.23244) **Exit using the right logic for the entry mode**25- Model entries: exit on **edge decay / model flip**; hold to preclose when confidence is extreme.26- Mean-reversion entries: exit on **reversion targets** (not model-tp), with strict churn limits.27285) **Validate with logs**29- Every suspected “nonsense trade” must be explained via:30 - `reason` / `entry_mode`31 - Binance-derived fair probability + z32 - whether the correct exit block fired3334## Bundled scripts3536All scripts are designed to be run from the OpenClaw workspace.3738### 1) Fetch Binance klines39- `{baseDir}/scripts/binance_klines.py`40 - Pulls klines and prints JSON.4142### 2) Dump/stabilization and regime metrics43- `{baseDir}/scripts/binance_regime.py`44 - Computes ret5/ret15/slope10 + simple “stabilized” boolean.4546### 3) Explain fills (events.jsonl) with Binance context47- `{baseDir}/scripts/explain_fills.py`48 - Reads paperbot `events.jsonl` and prints a concise table for the last N fills:49 - side/outcome/px/reason50 - estimated fair_up + z51 - “against trend?” flag5253## References5455- `{baseDir}/references/strategy.md` — the math model, parameters, and tuning checklist.
Run npx skillmds@latest add kernel8901/polymarket-trader in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Polymarket Trader It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
kernel8901 (@kernel8901) published this skill. Their other Agent Skills are listed on their SkillMD profile.