# Perpetual Spot Index Specs: Outlier Ejection & Feed Failover

> Audit perpetual futures Spot Index constituent exchange weights, +/-3% median outlier ejection, stale WebSocket timeouts, and USDT/USD bridges.

Canonical: https://instrumentledger.com/specs/spot-index-constituent-outlier-ejection-circuit-weight-rebalance
Last updated: 2026-11-15T08:24:06.543Z

**Publication:** Instrument Ledger
**Category:** Perpetual Funding Rate Mark Price Math
**Published:** 2026-11-14T07:30:25.915Z
**Author:** Grant Holloway, FRM, ERP (Financial Risk Manager (GARP FRM), Energy Risk Professional (ERP, Chicago))
**Reviewer:** Not recorded

## Answer-first summary

Every perpetual Mark Price and Funding Rate depends on an underlying composite Spot Index; institutional oracle specifications enforce median-deviation outlier ejection, stale-timestamp circuit breakers, and stablecoin cross-rate normalization.

## Key takeaways

- Perpetual Spot Indexes aggregate 5 to 8 constituent spot exchanges, capping any single venue at 30%–35% weight to prevent single-exchange dominance.
- Outlier filters measure each constituent against the unweighted median (not weighted mean), ejecting or clamping feeds that deviate beyond +/-2% to 5%.
- Heartbeat monitors automatically zero out the weight of any constituent spot exchange whose WebSocket quote or trade timestamp freezes for >15–60 seconds.
- Traders must distinguish BTC/USDT, BTC/USDC, and BTC/USD underlying Spot Indexes—during stablecoin depegs (such as March 2023), cross-rate normalization governs basis.
- Sub-cent tokens (SHIB, PEPE, BONK) frequently apply a 1,000x Spot Index scaling multiplier (1000PEPE / kPEPE), requiring 1,000 spot units per 1 perp unit.

## Related financial entities

- **CPMI-IOSCO Principles for Financial Market Infrastructures (PFMI)** (PFMI-CCP) — product: International standards for payment, clearing, and settlement systems, designed to ensure that central counterparties can withstand extreme member defaults.
- **Perpetual Contract Funding Rate Convention** (PERP-FUND) — product: Continuous settlement mechanism without expiration date that ties perpetual swap contract prices to spot index prices via periodic funding fee transfers.

## Analysis

Every equation inside a perpetual swap risk engine—both **`Premium_Index (P)`** and **`Fair_Mark_Price`**—relies on the integrity of a single foundational input: the **Composite Spot Price Index (`S`)**. If one constituent spot exchange suffers a localized database freeze, wallet deposit halt (inducing a +12% isolated "Kimchi-style" or localized withdrawal premium), or API WebSocket glitch, feeding that corrupted print into `S` would instantaneously poison Mark Prices and detonate false liquidations across billions in open interest! Institutional index engines prevent constituent contamination through **four-layer automated oracle hygiene**: **cross-rate FX/stablecoin conversion**, **stale-heartbeat eviction**, **median-deviation clamping/ejection**, and **single-source fallback transitions**.

Within our [Perpetual Futures Funding Clamps, Mark Price and ADL Master Guide](/specs/perpetual-swap-funding-rate-clamps-mark-price-adl-master-guide) under the [Perpetual Swap Funding Clamps, Impact Margin Notional, Mark Price & ADL](/topics/perpetual-funding-rate-mark-price-math) hub, this oracle architecture audit complements [Three-Component Fair Mark Price Median Specs](/specs/three-component-fair-mark-price-median-anti-manipulation-spec) and regulated benchmark rules in [CME Bitcoin BRR 12-Partition Fixing](/specs/cme-bitcoin-brr-ethereum-ethusd-rr-cash-settled-crypto-specs).

## Multi-Venue Weighting, Stablecoin Cross-Rates (`BTC/USD` vs `BTC/USDT`), and Heartbeats

First, notice that **a `BTCUSDT` linear perpetual does NOT necessarily track a `BTC/USD` fiat spot index**—its contract specification explicitly defines whether the underlying index is **`BTC/USDT`** (polling `BTC/USDT` books directly plus `BTC/USD × USD/USDT` and `BTC/USDC × USDC/USDT` cross-converted quotes!) or **`BTC/USD`** (used by coin-margined `BTCUSD` inverse contracts and USDC-settled L1 books). During the **March 2023 Silicon Valley Bank (`USDC` depeg to $0.88)** event, `BTC/USDC` spot printed 13% higher numerically than `BTC/USD` and `BTC/USDT`—traders who failed to verify whether their perpetual's Spot Index cross-normalized [USDC](/exchanges/usd-coin-usdc-spec) and [USDT](/exchanges/tether-usdt-spec) suffered violent basis shocks!

![Four-stage Spot Index oracle sanitization pipeline from constituent WebSockets to re-normalized weighted price](/api/figure?type=flow&title=Composite%20Spot%20Index%20Real-Time%20Sanitization%20Pipeline&subtitle=Automated%20constituent%20validation%20executed%20every%20500ms%E2%80%931%2C000ms%20before%20publishing%20Spot%20Index%20S.&steps=1.%20Quote%20Cross-Rate%3A%3AIngest%205%E2%80%938%20spot%20venues%3B%20convert%20USD%2FUSDC%2FEUR%20pairs%20via%20rolling%20FX%20mid%7C2.%20Stale%20Feed%20Evict%3A%3ADrop%20any%20constituent%20with%20no%20trade%2FBBO%20heartbeat%20for%20%3E15%E2%80%9360%20seconds%7C3.%20Median%20Outlier%20Cut%3A%3AClamp%20or%20eject%20any%20venue%20deviating%20%3E%20%2B%2F-2%25%20to%205%25%20from%20unweighted%20median%7C4.%20Weight%20Re-Norm%3A%3ARe-scale%20surviving%20weights%20w_i%20%2F%20Sum%28w_valid%29%20and%20publish%20Index%20S&metrics=CONSTITUENT%20COUNT%3A%3A5%20%E2%80%93%208%20Venues%3A%3ACoinbase%2C%20Kraken%2C%20Binance%2C%20OKX%2C%20Bybit...%7CHEARTBEAT%20TIMEOUT%3A%3A15s%20%E2%80%93%2060s%3A%3AAuto-evicts%20frozen%20REST%2FWS%20feeds%7COUTLIER%20BAND%3A%3A%2B%2F-%202%25%20to%205%25%3A%3AMeasured%20vs%20live%20constituent%20median%7CSINGLE-VENUE%20MODE%3A%3AEWMA%20Fallback%3A%3AActivates%20if%20%3C2%20valid%20spot%20feeds)

## Exact Median-Deviation Outlier Clamping & Weight Re-Normalization Math

Why must outlier detection measure distance against the **unweighted median (`M_spot`)** of surviving exchanges rather than their volume-weighted mean? If the largest constituent exchange (`w_1 = 35%` weight) prints a corrupted `$0.01` flash crash, that `$0.01` print drags the *weighted mean* down by `-35%`, potentially causing healthy exchanges to look like "+53% outliers"! By anchoring the outlier filter strictly to the **unweighted median `M_spot`**, up to `floor((N - 1) / 2)` corrupted venues cannot shift the reference anchor at all!

## Constituent Outlier Clipping & Re-Normalized Index Formula

```formula
M_spot = Unweighted_Median( P_1, P_2, ..., P_k ) [across heartbeat-valid constituents]
Sanitized_Price (P_i*) = {
 Ejected (w_i* = 0), if |P_i - M_spot| / M_spot > Threshold_Eject (e.g., 5.0%)
 clamp(P_i, 0.98*M_spot, 1.02*M_spot), if soft-clamped at +/- 2.0% band
 P_i, otherwise
}
Spot_Index (S) = Sum_i ( w_i* * P_i* ) / Sum_i ( w_i* )

Worked Constituent Wallet-Halt Isolation Audit (6 Exchanges, Equal 16.67% Base Weights, Threshold = +/-3.0%):
- Venues 1–5 print ETH/USDT at: $3,401.20, $3,402.00, $3,400.80, $3,401.50, $3,402.40
- Venue 6 halts ETH withdrawals -> isolated local short squeeze prints $3,695.00 (+8.63% dislocation!)
- Unweighted Median M_spot = 0.5 * ($3,401.50 + $3,402.00) = $3,401.75
- Venue 6 Deviation = |$3,695.00 - $3,401.75| / $3,401.75 = +8.62% > 3.0% -> Venue 6 EJECTED (w_6* = 0)!
- Re-Normalized Spot Index S = Mean(Venues 1..5) = $3,401.58 (0.00 bps contamination from Venue 6!)
```

## Constituent Failure Modes & Oracle Defense Specification Matrix

Review benchmark governance principles under [IOSCO](/rulebooks/iosco), [FCA](/rulebooks/fca), and [CPMI-IOSCO PFMI](/contracts/cpmi-iosco-pfmi-framework) alongside pre-spot token launches in [Pre-Launch EWMA Mark Price Oracle Design](/specs/pre-launch-hyperbolic-ewma-perpetual-mark-price-oracle-design).

| Constituent Anomaly | Real Historical Precedent | Unprotected Oracle Result | Institutional Index Rulebook Defense |
| :--- | :--- | :--- | :--- |
| Isolated Withdrawal Halt | Korea / single-CEX wallet maintenance | +8%–25% fake Spot Index jump | Ejects any constituent `|P_i - Median| > 3%–5%` |
| Stablecoin Peg Break | March 2023 SVB `USDC` $0.88 depeg | +13% divergence `BTC/USDC` vs `USD` | Explicit cross-pair `USDC/USDT` conversion multiplier |
| Matching Engine Outage | Cloud/AWS zone freeze on 1 spot CEX | Stale price drags fast-moving index | `15s–60s` timestamp staleness timeout sets `w_i = 0` |
| Token Redenomination | `1:1000` ticker split (e.g., `1000PEPE` / [PEPE](/exchanges/pepe-pepe-spec)) | `1000x` decimal scaling mismatch | Scheduled index halt + coordinated multiplier scaling |
| Total Spot Outage (`N < 2`) | Single-exchange monopoly listing | Manipulable 1-venue spot print | Switches Mark Price to internal Perp EWMA synthetic index |

![Constituent weight redistribution and variance dampening across 6-exchange composite Spot Index](/api/figure?type=bars&title=Constituent%20Weighting%20%26%20Single-Venue%20Cap%20Governance&subtitle=How%20volume-tiered%20caps%20prevent%20any%20single%20spot%20exchange%20from%20dominating%20Index%20S.&steps=30-Day%20Spot%20Volume%3A%3ARebalance%20base%20weights%20quarterly%2Fmonthly%20using%20verified%20non-wash%20volume%7CSingle-Venue%20Cap%20%2835%25%29%3A%3ACap%20largest%20constituent%20at%20%3C%3D30%25%E2%80%9335%25%20weight%20even%20if%2060%25%20market%20share%7CBBO%20Mid%20vs%20Last%20Trade%3A%3AUse%20constituent%20BBO%20Mid%20%28clamped%20to%20Last%29%20to%20avoid%20stale%20untraded%20ticks%7CN%3D1%20Emergency%20Mode%3A%3AIf%20%3E%3DN-1%20feeds%20drop%2C%20freeze%20funding%20P%3D0%20and%20mark%20via%20internal%20EWMA&metrics=MAX%20VENUE%20WEIGHT%3A%3A30%25%20%E2%80%93%2035%25%3A%3APrevents%20single-venue%20dominance%7CREBALANCE%20CYCLE%3A%3AMonthly%20%2F%20Qtr%3A%3AScheduled%20public%20notice%20window%7C1000x%20MULTIPLIER%3A%3ASub-Cent%20Coins%3A%3A1000SHIB%2C%201000PEPE%2C%201000BONK%7CPUBLISH%20LATENCY%3A%3A%3C%3D%201%2C000%20ms%3A%3APushed%20over%20public%20WS%20stream)

## The `1000-Multiplier` Sub-Cent Token Symbology Trap (`1000PEPE`, `1000BONK`, `kSHIB`)

When trading low-unit-price tokens such as [Shiba Inu SHIB](/exchanges/shiba-inu-shib-spec), [Pepe PEPE](/exchanges/pepe-pepe-spec), or [Bonk BONK](/exchanges/bonk1-bonk-spec) where spot trades at `$0.00001240`, floating-point tick increments in matching engines become unwieldy. Perpetual contract specifications therefore bundle **1,000 spot tokens per perpetual unit** under symbols like **`1000PEPEUSDT`** or **`kPEPE-USD`** (quoting at `$0.01240` instead of `$0.00001240`)! Quantitative multi-venue routers MUST verify the **Index Scaling Multiplier (`1` vs `1,000` vs `1,000,000`)** via exchange instrument metadata endpoints—failing to multiply spot hedge quantities by `1,000` leaves a basis bot **99.9% unhedged**!

## Frequently asked questions

### Why do perpetual Spot Indexes compare exchanges against the unweighted median instead of the weighted average?

If a high-weight exchange prints a corrupted flash crash near zero, that print drags the weighted average down sharply, causing accurate exchanges to appear out-of-bounds. The unweighted median stays completely unaffected unless a majority of feeds fail.

### What happens to a perpetual contract if spot deposits/withdrawals halt on one major exchange and its price spikes 15%?

Once that exchange spot price diverges past the +/-3% to 5% median deviation band, the index engine automatically ejects its weight (w_i = 0) and redistributes 100% of index weight across the remaining aligned exchanges.

### How did the March 2023 USDC depeg affect USDC-margined vs USDT-margined perpetual Spot Indexes?

Contracts indexed to USD or USDT kept Bitcoin near $20,000 while raw BTC/USDC spot traded near 22,600 USDC. Indexes with live USDC/USD cross-rate normalization insulated perpetual Mark Prices from the temporary $0.88 stablecoin discount.

### What does the k or 1000 prefix mean in perpetual symbols like 1000PEPEUSDT or kBONK?

It indicates a 1,000-unit contract multiplier applied to the underlying Spot Index so prices quote near $0.01 instead of $0.00001. Buying 100 units of 1000PEPEUSDT controls 100,000 underlying PEPE spot tokens.


## Source URLs

- https://www.cfbenchmarks.com/documentation/constituent-exchange-criteria
- https://www.iosco.org/library/pubdocs/pdf/IOSCOPD415.pdf
- https://www.bis.org/publ/work1087.pdf

## Citation

- APA: Grant Holloway, FRM, ERP. (2026). Perpetual Spot Index Construction: Constituent Outlier Ejection and Failover. Instrument Ledger. https://instrumentledger.com/specs/spot-index-constituent-outlier-ejection-circuit-weight-rebalance
- Canonical article: [Perpetual Spot Index Construction: Constituent Outlier Ejection and Failover](https://instrumentledger.com/specs/spot-index-constituent-outlier-ejection-circuit-weight-rebalance)
- Site research index: [Instrument Ledger](https://instrumentledger.com/llms-full.txt)
