⚠ INTERNAL — Operator UX mock · Design preview of V2 development path · demo-wired ≠ production-live · back to dev guide
Polygon · pUSD 10
📓 Developer Guide 📋 Reason Codes 📈 Shadow Mode
JD John Doe · Admin

Mean-Reversion Sniper

strat.mean-reversion-sniper
Strategy beta Limited live frozen

Mean-Reversion Sniper fades price momentum in markets that have overreacted to recent information.

What it does

Mean-Reversion Sniper fades price momentum in markets that have overreacted to recent information. It monitors markets where the best-ask for YES tokens exceeds price_threshold (default 0.80), computes a rolling z-score of the price change over a lookback window, and checks for order-book signals of a momentum reversal (aggressor side flips and large cancels on the heavy side). When z_score >= z_score_min and no active news cycle is detected by the NewsIngest event-density feed, the bot emits an IOC OrderIntent to sell YES tokens at or above price_threshold. An automatic time exit (time_exit_s) and stop-loss (stop_bps) control downside risk. This is a user-controlled execution tool; it does not predict outcomes or make performance claims.

Pipeline placement

runs after: Market scanner / opportunity feed + NewsIngest event-density feed Mean-Reversion Sniper runs before: Risk guardrail pipeline

Applies to: Standard binary markets where price has moved above price_threshold (default 0.80) and z-score of last-N price change ex

Why it matters

If this failsConsequence
Fading during an active news cycleIf a material news event is causing the price to move permanently higher, fading it produces a directional loss rather than a mean-reversion gain. NewsIngest event-density gate must be respected.
z-score computed on too short a lookbackShort lookbacks produce noisy z-scores that trigger on normal intraday price variation, leading to repeated small losses from false fades.
Stop-loss not configured or too wideWithout a stop-loss, an overreaction that continues (e.g., genuine resolution signal) produces an uncapped loss on the short YES position.
feeRateBps present on signed order (V1 pattern)CTFExchangeV2 rejects orders with feeRateBps. Fees are operator-set at match time. The signed order must not contain this field.

Inputs

Polymarket inputs

InputSourceRequiredUse
Price and z-score of last-N price change on target marketws_market (CLOB WebSocket trade tape)requiredConfirm price >= price_threshold and z_score >= z_score_min before emitting fade intent.
Aggressor side flips and large cancel eventsws_market (order book updates)requiredDetect reversal signals: momentum fading when aggressor flips from buy-dominant to sell-dominant.
Top-of-book depth on YES sideclob_publicrequiredSize the IOC order to min(available_depth, max_position_usd).
Market open/closed/resolved statusclob_publicrequiredSkip markets that are closed, resolved, or approaching resolution (< 2h to close).

Internal inputs

InputSourceRequiredUse
KillSwitch active flagKillSwitchrequiredAbort all intent emission immediately if KillSwitch is active.
NewsIngest event-density window (don't fade during active news cycles)internal (NewsIngest feed)requiredBlock fade intent if NewsIngest signals an active material news cycle on the target market's entity.
Builder code bytes32internal configrequiredInjected into builder field on every signed V2 OrderIntent.

Authority

What this bot is permitted to do

Trade

State

Readiness

Limited live

Status

beta

Class

Alpha Strategy

Default mode

limited_live

Developer owner

Polytraders core — Strategy pod

Capital impact

Direct

Reason codes emitted

CodeSeverityMeaningAction
MEAN_REVERSION_FADE_INITIATEDINFOz_score >= z_score_min, price >= price_threshold, news gate clear, reversal signal present. Fade sell IOC emitted.Emit sell IOC OrderIntent; register position for stop/time-exit monitoring.
MEAN_REVERSION_Z_TOO_LOWINFOz_score is below the 1.0 hard floor. Price move is within normal variation; no fade warranted.Skip; emit sampled DecisionReport.
MEAN_REVERSION_Z_MARGINALWARNz_score is between 1.0 and 2.5. Fade is marginal; size reduced to 50%.Emit IOC at 50% size; log warning.
MEAN_REVERSION_PRICE_TOO_HIGHHARD_REJECTPrice >= 0.95 hard floor. Market is near certain resolution; fading is prohibited.Skip; no OrderIntent; emit DecisionReport.
MEAN_REVERSION_NEWS_ACTIVEHARD_REJECTNewsIngest signals an active material news cycle on this market's entity. Fading is blocked.Skip; no OrderIntent; emit DecisionReport.
MEAN_REVERSION_STOP_LOSSWARNPrice rose above stop_price (entry + stop_bps/10000). Stop-loss triggered; position closed.Emit buy IOC to close; emit DecisionReport.
MEAN_REVERSION_TIME_EXITINFOHolding period exceeded time_exit_s. Time exit triggered; position closed.Emit buy IOC to close; emit DecisionReport.
MEAN_REVERSION_HIGH_PRICE_THRESHOLDWARNprice_threshold config is above 0.90 (warning). Fading near-resolution markets carries elevated risk.Allow but log warning; require higher z_score.
STALE_MARKET_DATAHARD_REJECTws_market feed or NewsIngest feed is stale or unavailable.Skip; no OrderIntent emitted.
KILL_SWITCH_ACTIVEHARD_REJECTGlobal kill switch is active.Close open positions; no new OrderIntents.

Used by

Reverse index — strategies that currently reference strat.mean-reversion-sniper. If you change this bot's authority or reason codes, these strategies must re-pass shadow.

StrategyStateActivity
US Elections — sentiment fadedemo-wiredlast triggered 39m ago
BTC weekly — close-aware quotesdemo-wiredlast triggered 46m ago
Fed Rates — surprise driftfrozenlast triggered 6m ago

Showing 3 of 3 · demo-wired ≠ production-live

Why this matters

Strategy bots does NOT sign, route, or directly submit orders to the chain. Understanding the authority boundary prevents misuse and makes promotion-gate reviews faster and more reliable. View raw spec JSON →
Polytraders Operator UX Mock · INTERNAL · demo-wired ≠ production-live · the plan · reason codes · shadow-mode pipeline
⚙ Page Configuration
Current page settings
Loading configuration…