Task Router Skill
Task Router
Polymarket Trader
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install drakec48/polymarket-trader打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Maintain a profitable BTC 1h Up/Down strategy by anchoring decisions to Binance BTCUSDT (the resolution source) and enforcing anti-churn/risk rules.
bitcoin-up-or-down-* 1h markets (Binance 1H open vs close).edge = fair_prob - market_price exceeds a threshold.reason / entry_mode
All scripts are designed to be run from the OpenClaw workspace.
{baseDir}/scripts/binance_klines.py
{baseDir}/scripts/binance_regime.py
{baseDir}/scripts/explain_fills.py
events.jsonl and prints a concise table for the last N fills:
{baseDir}/references/strategy.md — the math model, parameters, and tuning checklist.这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# 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.Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.