agentleFS
Superior-TradeSuperior-Trade/superior-skills/skills/deadline-drift/SKILL.md

deadline-drift

Skill214 starsChanged 3 months agoMITView on GitHub

Use when a Polymarket market probability changes as the resolution deadline approaches.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

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

    line 13

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  • Canonical Polymarket market from GET /context/markets?venue=polymarket.
  • 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

KnobEffect
min_days_to_endAvoids entering too close to settlement.
max_days_to_endAvoids entering when the deadline is still distant.
drift_thresholdHigher values require stronger deadline repricing.
exit_buffer_hoursLarger 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."

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.