⚠ 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

CorrelationShockGuard

risk.correlationshockguard
Risk Guardrail planned Planned frozen

CorrelationShockGuard monitors the rolling pairwise return correlation of open positions and blocks new orders when the portfolio correlation exceeds

What it does

CorrelationShockGuard monitors the rolling pairwise return correlation of open positions and blocks new orders when the portfolio correlation exceeds the configured ceiling. It detects sudden hidden correlation shocks where previously independent markets begin resolving together, increasing tail risk beyond what the capital model assumes.

Pipeline placement

runs after: Strategy OrderIntent CorrelationShockGuard runs before: ExecutionPlan emit

Applies to: Every OrderIntent — detects when the portfolio's supposedly independent positions are moving in lockstep, indicating a h

Why it matters

If this failsConsequence
Hidden correlation shockMarkets that appeared independent begin resolving together (e.g. macro shock, shared underlying fact), transforming the portfolio's diversification into concentrated tail risk with no warning.
New order added during correlation spikeAdding a new position while portfolio correlation is elevated amplifies the shock exposure instead of providing diversification.

Inputs

Polymarket inputs

InputSourceRequiredUse
Market price series for all open positionsdata_apirequiredCompute rolling pairwise correlations across positions over a configurable lookback window.
Market category and topic tagsgammaoptionalGroup markets by topic to detect within-group correlation that may indicate shared resolution events.

Internal inputs

InputSourceRequiredUse
Current open position list and notional valuesinternalrequiredIdentify which markets to include in the correlation calculation.
KillSwitch active flagKillSwitchrequiredIf active, reject immediately.

Authority

What this bot is permitted to do

Veto Reshape

State

Readiness

Planned

Status

planned

Class

Guardrail

Default mode

planned

Developer owner

Polytraders core — Risk pod

Capital impact

Direct

Reason codes emitted

CodeSeverityMeaningAction
KILL_SWITCH_ACTIVEHARD_REJECTGlobal kill switch active.Immediate HARD_REJECT.
CORRELATION_SHOCK_DETECTEDHARD_REJECTPortfolio average pairwise correlation exceeds the hard ceiling.HARD_REJECT; log avg_corr, num_positions, and lookback_periods.
CORRELATION_SHOCK_APPROACHINGWARNPortfolio correlation is between the warning and hard thresholds.Attach WARN annotation to APPROVE; do not block.
CORRELATION_SHOCK_DATA_UNAVAILABLEHARD_REJECTPrice series data unavailable for one or more positions.HARD_REJECT (fail-closed).

Used by

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

StrategyStateActivity
NBA props — line-shopdemo-wiredlast triggered 45m ago

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

Why this matters

Risk Guardrail bots does NOT propose intents or sign orders; only permits or blocks. 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…