Polymarket Trader
Build and analyze a BTC 1h Up/Down trading strategy anchored to Binance BTCUSDT, applying edge thresholds, regime filters, and detailed trade validation.
drakec48
@drakec48
What This Skill Does
Builds and debugs a Polymarket BTC 1h Up/Down trading strategy using Binance BTCUSDT as the anchor price source. Computes fair probability, edge thresholds, and regime filters to validate entries and exits.
Replaces manual spreadsheet analysis and ad-hoc backtesting by providing a structured workflow with bundled scripts for signal computation, regime detection, and trade log validation.
When to Use It
- Compute fair probability and edge for a BTC 1h Up/Down market using Binance klines
- Debug a suspicious trade entry by checking entry_mode, reason, and Binance-derived z-score
- Run a parameter sweep to tune edge thresholds and regime filters
- Evaluate whether a trade exited correctly based on edge decay or reversion targets
- Fetch Binance 1m klines and compute volatility for a given hour
- Explain the last N fills from events.jsonl with fair_up, z, and trend-against flag
Install
$ openclaw skills install @drakec48/polymarket-traderPolymarket Trader
Maintain a profitable BTC 1h Up/Down strategy by anchoring decisions to Binance BTCUSDT (the resolution source) and enforcing anti-churn/risk rules.
Workflow (use this order)
- Confirm the market type
- This skill is optimized for
bitcoin-up-or-down-*1h markets (Binance 1H open vs close).
- Compute the anchor signal (Binance)
- Fetch 1m closes + the 1h open for the relevant hour.
- Compute volatility (sigma) and time-to-expiry.
- Convert to fair probability for Up/Down.
- Trade only when there is measurable edge
- Enter only if
edge = fair_prob - market_priceexceeds a threshold. - Add a directional guardrail: do not bet against the sign of the move when |z| is non-trivial.
- Exit using the right logic for the entry mode
- Model entries: exit on edge decay / model flip; hold to preclose when confidence is extreme.
- Mean-reversion entries: exit on reversion targets (not model-tp), with strict churn limits.
- Validate with logs
- Every suspected “nonsense trade” must be explained via:
reason/entry_mode- Binance-derived fair probability + z
- whether the correct exit block fired
Bundled scripts
All scripts are designed to be run from the OpenClaw workspace.
1) Fetch Binance klines
{baseDir}/scripts/binance_klines.py- Pulls klines and prints JSON.
2) Dump/stabilization and regime metrics
{baseDir}/scripts/binance_regime.py- Computes ret5/ret15/slope10 + simple “stabilized” boolean.
3) Explain fills (events.jsonl) with Binance context
{baseDir}/scripts/explain_fills.py- Reads paperbot
events.jsonland prints a concise table for the last N fills:- side/outcome/px/reason
- estimated fair_up + z
- “against trend?” flag
- Reads paperbot
References
{baseDir}/references/strategy.md— the math model, parameters, and tuning checklist.
Top skills in this category
LNBits Wallet wtih QR Code
@jamestsetsekasManage LNbits Lightning Wallet (Balance, Pay, Invoice)
Zero Trust
@doonotSecurity-first behavioral guidelines for cautious agent operation. Use this skill for ALL operations involving external resources, installations, credentials, or actions with external effects. Triggers on - any URL/link interaction, package installations, API key handling, sending emails/messages, social media posts, financial transactions, or any action that could expose data or have irreversible effects.
moltrade
@ai-chen2050Operate the Moltrade trading bot (config, backtest, test-mode runs, Nostr signal broadcast, exchange adapters, strategy integration) in OpenClaw.
Finnhub Pro
@lsj210001Finnhub 美股金融数据 CLI。实时报价、公司档案、新闻、分析师推荐、内部人交易、盈利日历、基本面财务、同行比较。Python 脚本封装,免费层 60 次/分钟。Use when: 查股价、查公司信息、看最新新闻、了解内部人是否在买卖、查看近期财报日期。NOT for: K线数据、目标价、情绪分析(需付费层)。
sports-ticker
@robbyczgw-claLive sports alerts for Soccer, NFL, NBA, NHL, MLB, F1 and more. Real-time scoring with the free ESPN API. Track any team from any major league worldwide.