agentleFS
Superior-TradeSuperior-Trade/superior-skills/skills/probability-mean-reversion/SKILL.md

probability-mean-reversion

Skill214 starsChanged 3 months agoMITView on GitHub

Use when a Polymarket outcome appears to overreact and then stall away from recent filled-price range.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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 when someone asks for fade, overreaction, mean reversion, range trading, panic buy, euphoria selloff, or probability jumps with …

    line 13
  2. Distinctive:

    No fresh catalyst changing the thesis.

    line 21
  3. Distinctive:

    Keep a rolling window of trade prices.

    line 36

≈ “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 · Probability Mean Reversion

When to use

Use this when someone asks for fade, overreaction, mean reversion, range trading, panic buy, euphoria selloff, or probability jumps with weak follow-through.

What the agent should look for

  • Canonical Polymarket market from GET /context/markets?venue=polymarket.
  • A stable market with enough historical fills.
  • Probability significantly far from a rolling median.
  • Weak follow-through after the jump.
  • No fresh catalyst changing the thesis.
  • Enough time before resolution to allow drift back.

Backtest fit with filled data

Moderate fit. Filled TradeTick history can test whether probability moves have a measurable reversion pattern, while using actual fills as the execution proxy.

Limit: backtests cannot validate resting liquidity, spread paid, or what is missed in the maker queue.

Strategy logic

Enter when the outcome trades below a lower band and exit near the rolling median. If your implementation permits, do the inverse for above-band conditions when downside overextension appears.

Nautilus strategy shape

  • Keep a rolling window of trade prices.
  • Compute median and deviation thresholds.
  • Enter only after sufficient tick history is collected.
  • Exit on median reversion or max holding ticks.

Example strategyConfig

{
  "window_ticks": 40,
  "entry_deviation": 0.08,
  "exit_deviation": 0.02,
  "order_size": 10,
  "max_holding_ticks": 80
}

Iteration knobs

KnobEffect
window_ticksLarger windows produce a smoother baseline.
entry_deviationHigher values wait for stronger overreactions.
exit_deviationLower values demand tighter reversion before exit.
max_holding_ticksPrevents stale positions through stale conditions.

Failure modes

  1. Real information shocks rarely mean-revert.
  2. Markets near resolution can trend cleanly to 0 or 1.
  3. Low liquidity can create fake extremes.
  4. Backtests may look strong when spread and order-book pressure are ignored.

User-facing framing

"This is an overreaction fade. It works best in noisy markets without new decisive information. I’ll backtest it on filled prices first, then verify trade frequency and liquidity before suggesting live use."

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.