← 返回
数据分析 中文

Polymarket Trader 1.0.0

Develop and optimize a Polymarket BTC 1h Up/Down trading strategy using Binance BTCUSDT data to identify fair probabilities and manage trade entries and exits.
使用币安 BTCUSDT 数据开发和优化 Polymarket BTC 1小时涨跌交易策略,以识别公平概率并管理进出场。
parkhyeongjoon
数据分析 clawhub v1.0.1 2 版本 100000 Key: 无需
★ 0
Stars
📥 586
下载
💾 43
安装
2
版本
#latest

概述

Polymarket 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)

1) Confirm the market type

  • This skill is optimized for bitcoin-up-or-down-* 1h markets (Binance 1H open vs close).

2) 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.

3) Trade only when there is measurable edge

  • Enter only if edge = fair_prob - market_price exceeds a threshold.
  • Add a directional guardrail: do not bet against the sign of the move when |z| is non-trivial.

4) 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.

5) 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.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.

版本历史

共 2 个版本

  • v1.0.1 当前
    2026-05-03 04:16 安全 安全
  • v1.0.0
    2026-03-30 19:53 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,456
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 65,118
data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 270 📥 56,967