deadline-drift

GitHub

针对Polymarket临近截止日期的合约,利用概率漂移和时间衰减特征进行量化交易策略分析。通过回测历史数据验证价格行为,辅助用户制定入场、持仓及退出时机,规避二元结算风险。

skills/v3/polymarket-archetypes/deadline-drift/SKILL.md Superior-Trade/superior-skills

Trigger Scenarios

查询Polymarket市场概率随截止日期变化的情况 需要基于时间剩余量进行预测或交易决策 分析临近结算市场的价格漂移行为

Install

npx skills add Superior-Trade/superior-skills --skill deadline-drift -g -y
More Options

Non-standard path

npx skills add https://github.com/Superior-Trade/superior-skills/tree/main/skills/v3/polymarket-archetypes/deadline-drift -g -y

Use without installing

npx skills use Superior-Trade/superior-skills@deadline-drift

指定 Agent (Claude Code)

npx skills add Superior-Trade/superior-skills --skill deadline-drift -a claude-code -g -y

安装 repo 全部 skill

npx skills add Superior-Trade/superior-skills --all -g -y

预览 repo 内 skill

npx skills add Superior-Trade/superior-skills --list

SKILL.md

Frontmatter
{
    "name": "deadline-drift",
    "updated": 1781654400,
    "version": "0.1.0",
    "description": "Use when a Polymarket market probability changes as the resolution deadline approaches."
}

Strategy: Polymarket · Deadline Drift

When to use

Use this for before-date contracts, monthly/weekly threshold markets, election timing markets, or requests where time remaining is the core thesis.

What the agent should look for

  • Exact market slug from POST /v3/markets/search.
  • Reliable market_end from market metadata.
  • Time remaining during the candidate backtest window.
  • Probability drift near deadline in the filled history.
  • Whether the market reprices gradually or with sharp catalyst jumps.
  • User preference for holding to settlement or exiting earlier.

Backtest fit with filled data

Moderate fit. Filled TradeTick data can show whether price drifted in line with deadline pressure and whether exits would usually occur before binary resolution.

Limit: this does not produce true fair-probability forecasts; it only tests historical price behavior around deadlines.

Strategy logic

Enter when drift aligns with time decay or deadline acceleration. Exit before settlement unless the user explicitly asks for binary exposure into resolution.

Nautilus strategy shape

  • Use on_trade_tick.
  • Compare trade timestamp to market_end.
  • Trade only between min_days_to_end and max_days_to_end.
  • Exit using an exit_buffer_hours cutoff.

Example strategyConfig

{
  "market_end": "2026-07-01T00:00:00Z",
  "min_days_to_end": 2,
  "max_days_to_end": 21,
  "drift_threshold": 0.015,
  "order_size": 10,
  "exit_buffer_hours": 12
}

Iteration knobs

Knob Effect
min_days_to_end Avoids entering too close to settlement.
max_days_to_end Avoids entering when the deadline is still distant.
drift_threshold Higher values require stronger deadline repricing.
exit_buffer_hours Larger buffers reduce resolution timing risk.

Failure modes

  1. Market rules can resolve differently than expected.
  2. Event risk can overwhelm smooth drift behavior.
  3. Short windows overfit to one cycle.
  4. Holding through settlement can produce binary outcomes unrelated to interim PnL.

User-facing framing

"This strategy trades deadline pressure, not certainty. I will backtest on filled TradeTicks to check whether the historical price drift is consistent and tradable, then suggest only cautious position sizing."

Version History

  • 85f77be Current 2026-08-02 21:45

Same Skill Collection

skills/external-deposit/SKILL.md
skills/v2/exchanges/aerodrome/SKILL.md
skills/v2/exchanges/hyperliquid/SKILL.md
skills/v2/primitives/backtesting/SKILL.md
skills/v2/primitives/fees-optimizations/SKILL.md
skills/v2/primitives/trade-thesis/SKILL.md
skills/v2/strategies/basis-arb/SKILL.md
skills/v2/strategies/bollinger-reverter-4h/SKILL.md
skills/v2/strategies/breakout/SKILL.md
skills/v2/strategies/dca-weekly/SKILL.md
skills/v2/strategies/donchian-strong-regime/SKILL.md
skills/v2/strategies/funding-rate-arbitrage/SKILL.md
skills/v2/strategies/funding-squeeze/SKILL.md
skills/v2/strategies/grid-trading/SKILL.md
skills/v2/strategies/mean-reversion/SKILL.md
skills/v2/strategies/scalping/SKILL.md
skills/v3/exchanges/lighter-robinhood/SKILL.md
skills/v3/exchanges/lighter/SKILL.md
skills/v3/exchanges/polymarket/SKILL.md
skills/v3/polymarket-archetypes/catalyst-confirmation/SKILL.md
skills/v3/polymarket-archetypes/large-fill-pressure/SKILL.md
skills/v3/polymarket-archetypes/probability-mean-reversion/SKILL.md
skills/v3/polymarket-archetypes/probability-momentum/SKILL.md
skills/v3/polymarket-archetypes/related-market-spread/SKILL.md
skills/v3/primitives/deposit-qr/SKILL.md
skills/v2/primitives/dsl-exit-engine/SKILL.md
skills/v2/primitives/intelligence/SKILL.md
skills/v2/primitives/regime-overlay/SKILL.md

Metadata

Files
0
Version
201271f
Hash
a0616a3d
Indexed
2026-08-02 21:45

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-13 04:03
浙ICP备14020137号-1 $お客様$