{
 "version": "1.4.1",
 "generatedAt": "2026-11-16",
 "description": "Mycelia Signal Market State Model — machine-readable methodology specification",
 "stateModel": "State = (MSVI, MSXI, MSSI, MSTI, MESI, MNVI, MSFR, LIQUIDATIONS, ORDERBOOK, IV, TRADFI_REGIME, LIQUIDITY_REGIME)",
 "signingScheme": "ed25519",
 "prehash": "none",
 "pubkey": "7ab07fbe7d08cd16823e5eb0db0e21f3f38e9366d5fd00d14e95df0fb9b51a1a",
 "signingKeys": {
  "published": "https://api.myceliasignal.com/keys/ed25519",
  "standard": "Ed25519 (RFC 8032) over the canonical's UTF-8 bytes, hex signature, no pre-hash. Every service has signed this way since 2026-09-19.",
  "keys": {
   "us": {
    "pubkey": "f4f0e52b5f7b54831f965632bf1ebf72769beda4c4e3d36a593f7729ec812615",
    "checked": "PEG (pubkey field of /oracle/peg/usdc/preview) and NL1 (preview signature verifies under this key), 2026-11-16"
   },
   "asia": {
    "pubkey": "7ab07fbe7d08cd16823e5eb0db0e21f3f38e9366d5fd00d14e95df0fb9b51a1a",
    "checked": "GEX (pubkey field of /oracle/gex/btc/usd/preview), 2026-11-16"
   }
  },
  "note": "Each node signs the services it runs, so the top-level pubkey is not the key for every service. Use the response's pubkey field where there is one; NL1's preview carries none and verifies under the us key."
 },
 "normalization": {
  "method": "minmax_rolling",
  "windowDays": 730,
  "bootstrapMinDays": 30,
  "note": "Normalization bounds (min, max per component) are stateful and required for exact reconstruction"
 },
 "confidence": {
  "floor": 0.5,
  "degradedThreshold": 0.65,
  "weightRedistribution": "w_i' = w_i / sum(active_weights)"
 },
 "designPrinciples": [
  "Deterministic: identical inputs and normalization bounds produce identical outputs",
  "Transparent: all components, weights, and transformations exposed in signed canonical string",
  "Degradable: source failures reduce confidence, do not halt index",
  "Attestable: Ed25519 (RFC 8032) over the canonical's UTF-8 bytes, hex signature, no pre-hash; independently verifiable"
 ],
 "indices": {
  "MSVI": {
   "name": "Mycelia Signal Volatility Index",
   "id": "MSVI",
   "type": "VOLATILITY",
   "measures": "Magnitude of market movement",
   "scale": {
    "min": 0,
    "max": 100
   },
   "regimes": null,
   "methodVersion": 1,
   "updateFrequency": {
    "previewCacheSeconds": 300,
    "paidQuery": "real-time"
   },
   "canonicalFormat": "v1|VOLATILITY|{PAIR}|MSVI|{VALUE}|index|30D|RV:{rv}:{w},IV:{iv}:{w},TS:{ts}:{w},FR:{fr}:{w},PCR:{pcr}:{w}|CONFIDENCE:{conf}|METHOD:v1|{TS}|{NONCE}",
   "components": [
    {
     "id": "rv",
     "name": "Realized Volatility",
     "weight": 0.3,
     "precision": 2,
     "method": "Parkinson estimator (1980), 30-day window, high/low range",
     "annualization": "sqrt(365)",
     "aggregation": "weighted_median",
     "sources": [
      "binance",
      "okx",
      "kraken"
     ],
     "updateCadence": "daily",
     "knownLimitations": [
      "Flash crashes can dominate 30D window",
      "Parkinson assumes continuous trading"
     ]
    },
    {
     "id": "iv",
     "name": "Implied Volatility",
     "weight": 0.25,
     "precision": 2,
     "method": "ATM options IV, delta-neutral (closest to delta=0.5), bid/ask midpoint",
     "aggregation": "oi_weighted_mean",
     "targetDays": 30,
     "expiryWindow": {
      "min": 25,
      "max": 35
     },
     "minOpenInterest": "10 BTC",
     "riskFreeRate": 0.0,
     "sources": [
      "deribit"
     ],
     "updateCadence": "5min",
     "knownLimitations": [
      "Single exchange source",
      "Risk-free rate assumption of 0%",
      "Illiquid expiry windows may produce noisy IV"
     ]
    },
    {
     "id": "ts",
     "name": "Term Structure",
     "weight": 0.15,
     "precision": 3,
     "method": "7D IV / 90D IV ratio",
     "interpretation": {
      "above_1": "backwardation",
      "below_1": "contango"
     },
     "shortLeg": {
      "targetDays": 7,
      "expiryWindow": {
       "min": 5,
       "max": 9
      },
      "fallbackWindow": {
       "min": 10,
       "max": 16
      }
     },
     "longLeg": {
      "targetDays": 90,
      "expiryWindow": {
       "min": 80,
       "max": 100
      }
     },
     "sources": [
      "deribit"
     ],
     "updateCadence": "5min",
     "knownLimitations": [
      "7D options often illiquid — fallback to 14D may be required",
      "Distorted around major expiry dates"
     ]
    },
    {
     "id": "fr",
     "name": "Funding Rate",
     "weight": 0.2,
     "precision": 2,
     "method": "Absolute z-score of current funding rate vs 30-day mean",
     "transformation": "abs(z-score) — captures both directional extremes as volatility signals",
     "aggregation": "capped_weighted_median",
     "windowDays": 30,
     "sources": [
      "binance",
      "bybit",
      "okx",
      "bitget",
      "gate",
      "hyperliquid"
     ],
     "updateCadence": "8h (hourly on Hyperliquid, subsampled to 8h)",
     "knownLimitations": [
      "Funding resets every 8 hours",
      "Exchange-specific mechanics differ slightly"
     ],
     "weights": {
      "binance": 0.3,
      "gate": 0.2,
      "bybit": 0.18,
      "bitget": 0.12,
      "okx": 0.1,
      "hyperliquid": 0.1,
      "cap": 0.3,
      "reviewCadence": "quarterly",
      "lastReview": "2026-05-06",
      "basisOfWeights": "Open interest share"
     }
    },
    {
     "id": "pcr",
     "name": "Put/Call Ratio",
     "weight": 0.1,
     "precision": 3,
     "method": "Put OI / Call OI (USD-weighted), options expiring within 30D",
     "normalization": "z-scored against 90D history",
     "oiMeasurement": "USD value",
     "expiryWindowDays": 30,
     "sources": [
      "deribit"
     ],
     "updateCadence": "5min",
     "knownLimitations": [
      "Single exchange source",
      "Structural institutional put buying can inflate PCR"
     ]
    }
   ]
  },
  "MSXI": {
   "name": "Mycelia Signal Positioning Index",
   "id": "MSXI",
   "type": "SENTIMENT",
   "measures": "Directional lean of derivatives market",
   "scale": {
    "min": -100,
    "max": 100
   },
   "regimes": [
    {
     "threshold": 75,
     "name": "EXTREMEBULLISH"
    },
    {
     "threshold": 25,
     "name": "BULLISH"
    },
    {
     "threshold": -25,
     "name": "NEUTRAL"
    },
    {
     "threshold": -75,
     "name": "BEARISH"
    },
    {
     "below": -75,
     "name": "EXTREMEBEARISH"
    }
   ],
   "methodVersion": 6,
   "updateFrequency": {
    "previewCacheSeconds": 300,
    "paidQuery": "real-time"
   },
   "canonicalFormat": "v2|SENTIMENT|{PAIR}|MSXI|{VALUE}|INDEX|FR:{fr}:{w},SKEW:{skew}:{w}:T{tenorDays},PCR:{pcr}:{w},TS:{ts}:{w},BASIS:{basis}:{w}|REGIME:{regime}|CONFIDENCE:{conf}|METHOD:v6|{TS}|{NONCE}",
   "designNote": "Shared data sources with MSVI but different interpretation. MSVI uses absolute values (both extremes = vol). MSXI uses signed values (direction matters). PCR, TS, and basis are inverted so positive composite = bullish positioning.",
   "components": [
    {
     "id": "fr",
     "name": "Funding Rate",
     "weight": 0.3,
     "precision": 2,
     "method": "Signed z-score (directional, not absolute)",
     "interpretation": {
      "positive": "longs paying shorts",
      "negative": "shorts paying longs"
     },
     "aggregation": "capped_weighted_median",
     "sources": [
      "binance",
      "bybit",
      "okx",
      "bitget",
      "gate",
      "hyperliquid"
     ],
     "updateCadence": "8h (hourly on Hyperliquid, subsampled to 8h)",
     "weights": {
      "binance": 0.3,
      "gate": 0.2,
      "bybit": 0.18,
      "bitget": 0.12,
      "okx": 0.1,
      "hyperliquid": 0.1,
      "cap": 0.3,
      "reviewCadence": "quarterly",
      "lastReview": "2026-05-06",
      "basisOfWeights": "Open interest share"
     }
    },
    {
     "id": "skew",
     "name": "Options Skew",
     "weight": 0.25,
     "precision": 2,
     "method": "25-delta risk reversal: 25-delta call IV minus 25-delta put IV, targeting 40-55 day expiries; the tenor actually used travels in the canonical as T{tenorDays}",
     "interpretation": {
      "negative": "puts more expensive (hedging demand)",
      "positive": "calls more expensive"
     },
     "sources": [
      "deribit"
     ],
     "updateCadence": "5min"
    },
    {
     "id": "pcr",
     "name": "Put/Call Ratio",
     "weight": 0.2,
     "precision": 3,
     "method": "Put OI / Call OI (USD-weighted) over the 30-day Deribit book, each expiry weighted by a trapezoid: rising from 0 at 30 days to 1 at 23 days, 1 from 23 to 3 days, falling to 0 at expiry. Z-scored against the trailing 30 days of methodVersion 6 readings",
     "note": "methodVersion 6 (2026-10-07) replaced a hard 30-day cut, under which a whole monthly expiry entered the window at once, 30 days before it expired, and stepped PCR on a calendar date (BTC 1.03 to 0.46 at 2026-09-30 08:00 UTC). The book measured is unchanged; only its edges ramp. A large expiry fades over its last 3 days rather than vanishing at expiry. Until 5,000 v6 readings exist per pair, pcr is excluded from the composite and listed in missingComponents.",
     "inverted": true,
     "invertReason": "High PCR = bearish positioning",
     "sources": [
      "deribit"
     ],
     "updateCadence": "5min"
    },
    {
     "id": "ts",
     "name": "Term Structure",
     "weight": 0.15,
     "precision": 3,
     "method": "7D IV / 90D IV ratio",
     "inverted": true,
     "invertReason": "Backwardation (>1.0) = bearish (short-term fear elevated)",
     "sources": [
      "deribit"
     ],
     "updateCadence": "5min"
    },
    {
     "id": "basis",
     "name": "Cross-Exchange Spot Dispersion",
     "weight": 0.1,
     "precision": 4,
     "method": "Median absolute deviation of spot price across five exchanges, as a percentage of the median. NOT futures basis -- for perpetual premium over spot see /oracle/basis/{pair}.",
     "inverted": true,
     "invertReason": "Wide dispersion = fragmented pricing across venues = stress; inverted so that agreement between venues scores bullish.",
     "spotSources": [
      "binance",
      "coinbase",
      "kraken",
      "okx",
      "bitstamp"
     ],
     "updateCadence": "5min",
     "note": "methodVersion 4 (2026-09-25) changed this from (max-min)/mid, which was determined by its two extreme venues and read 3-30x true dispersion when one exchange's REST ticker lagged."
    }
   ],
   "regimeHysteresis": {
    "deadBand": 2,
    "enterBullish": 27,
    "exitBullishToNeutral": 23,
    "enterExtremeBullish": 77,
    "exitExtremeToBullish": 73,
    "description": "Dead band of ±2 around each threshold prevents regime chatter at boundaries"
   }
  },
  "MSSI": {
   "name": "Mycelia Signal Stress Index",
   "id": "MSSI",
   "type": "STRESS",
   "measures": "Systemic market health",
   "scale": {
    "min": 0,
    "max": 100
   },
   "regimes": [
    {
     "threshold": 75,
     "name": "EXTREME"
    },
    {
     "threshold": 50,
     "name": "HIGH"
    },
    {
     "threshold": 25,
     "name": "ELEVATED"
    },
    {
     "below": 25,
     "name": "CALM"
    }
   ],
   "methodVersion": 1,
   "updateFrequency": {
    "previewCacheSeconds": 300,
    "paidQuery": "real-time"
   },
   "canonicalFormat": "v1|STRESS|MARKET|MSSI|{VALUE}|INDEX|VOL:{vol}:{w},STBL:{stbl}:{w},FR:{fr}:{w},DISP:{disp}:{w}|REGIME:{regime}|CONFIDENCE:{conf}|METHOD:v1|{TS}|{NONCE}",
   "components": [
    {
     "id": "vol",
     "name": "Volatility Regime",
     "weight": 0.3,
     "precision": 2,
     "method": "Current MSVI reading as stress input",
     "source": "MSVI internal",
     "note": "Intentional feedback loop — elevated volatility is itself a systemic stressor",
     "updateCadence": "5min"
    },
    {
     "id": "stbl",
     "name": "Stablecoin Peg",
     "weight": 0.25,
     "precision": 4,
     "method": "Max absolute deviation from $1.00 peg across USDT and USDC, compared against 30-day rolling max deviation",
     "assets": [
      "USDT/USD",
      "USDC/USD"
     ],
     "source": "Internal price service (9+ exchange median)",
     "rollingWindowDays": 30,
     "updateCadence": "5min"
    },
    {
     "id": "fr",
     "name": "Funding Extremity",
     "weight": 0.3,
     "precision": 2,
     "method": "Combined BTC + ETH funding rate stress, averaged across both pairs",
     "interpretation": "Extreme funding in either direction = leveraged positioning risk",
     "pairs": [
      "BTCUSD",
      "ETHUSD"
     ],
     "sources": [
      "binance",
      "bybit",
      "okx",
      "bitget",
      "gate",
      "hyperliquid"
     ],
     "updateCadence": "8h (hourly on Hyperliquid, subsampled to 8h)",
     "aggregation": "capped_weighted_median",
     "weights": {
      "binance": 0.3,
      "gate": 0.2,
      "bybit": 0.18,
      "bitget": 0.12,
      "okx": 0.1,
      "hyperliquid": 0.1,
      "cap": 0.3,
      "reviewCadence": "quarterly",
      "lastReview": "2026-05-06",
      "basisOfWeights": "Open interest share"
     }
    },
    {
     "id": "disp",
     "name": "Funding Dispersion",
     "weight": 0.15,
     "precision": 2,
     "method": "Cross-venue max-minus-min funding rate spread averaged across BTC/ETH/SOL. High dispersion = fragmented market, arbitrage pressure building.",
     "pairs": [
      "BTCUSD",
      "ETHUSD",
      "SOLUSD"
     ],
     "sources": [
      "binance",
      "bybit",
      "okx",
      "deribit",
      "hyperliquid",
      "kraken",
      "coinbase",
      "crypto_com",
      "bitget",
      "dydx"
     ],
     "updateCadence": "60s",
     "aggregation": "mean_across_pairs"
    }
   ],
   "regimeHysteresis": {
    "deadBand": 2,
    "enterElevated": 27,
    "exitElevatedToCalm": 23,
    "enterHigh": 52,
    "exitHighToElevated": 48,
    "enterExtreme": 77,
    "exitExtremeToHigh": 73,
    "description": "Dead band of ±2 around each threshold prevents regime chatter at boundaries"
   }
  },
  "LIQUIDATIONS": {
   "name": "Liquidation Flow Oracle",
   "id": "LIQUIDATIONS",
   "type": "MICROSTRUCTURE",
   "measures": "Forced position unwinds across exchanges",
   "scale": {
    "imbalance": {
     "min": -1,
     "max": 1
    }
   },
   "sources": [
    "binance_ws",
    "okx_ws",
    "bybit_ws"
   ],
   "method": "Real-time websocket aggregation of forced liquidation events. Imbalance = (long_notional - short_notional) / total_notional. Clustering = events/min over 5-minute rolling window. Burst detection flags >10 events in 1 minute. Per-exchange breakdown with notional sizing.",
   "coverageNote": "Binance's public liquidation feed (!forceOrder@arr) reports at most one liquidation per symbol per second, so totals are a lower bound during liquidation cascades; Bybit's allLiquidation feed is complete; OKX's per-second limits are unverified. Each payload's feedType field states this per venue.",
   "updateFrequency": {
    "refresh": "real-time websockets",
    "metricsRollup": "60s"
   },
   "signing": "Ed25519",
   "canonicalFormat": "v1|LIQUIDATIONS|{PAIR}|imbalance|{v}|count|{n}|long_notional|{v}|short_notional|{v}|{timestamp}|{nonce}",
   "endpoints": {
    "preview": "/oracle/liquidations/{pair}/preview",
    "paid": "/oracle/liquidations/{pair}",
    "catalogue": "/oracle/liquidations/catalogue",
    "pairs": [
     "btc/usd",
     "eth/usd",
     "sol/usd"
    ],
    "price": "$0.03"
   }
  },
  "ORDERBOOK": {
   "name": "Order Book Imbalance Oracle",
   "id": "ORDERBOOK",
   "type": "MICROSTRUCTURE",
   "measures": "Cross-exchange depth, spread, and liquidity",
   "scale": {
    "depth_imbalance": {
     "min": -1,
     "max": 1
    },
    "spread_bps": {
     "min": 0
    }
   },
   "sources": [
    "binance",
    "bybit",
    "okx",
    "deribit",
    "hyperliquid"
   ],
   "method": "REST polling of top-10 order book levels from 5 exchanges. Metrics: spread (bps), top-of-book imbalance (level 1 bid vs ask size), full depth imbalance, depth ratio, sweep cost (notional to clear top 5 levels). Depth collapse detection: flags >50% drop vs 60-reading rolling average. Adaptive resolution: 60s normal, switches to 5s when MSSI > 45.",
   "updateFrequency": {
    "normal": "60s",
    "stress": "5s",
    "stressTrigger": "MSSI > 45",
    "calmReturn": "MSSI < 40"
   },
   "signing": "Ed25519",
   "canonicalFormat": "v1|ORDERBOOK|{PAIR}|min_spread|{v}|max_spread|{v}|mean_imbalance|{v}|exchanges|{n}|{timestamp}|{nonce}",
   "endpoints": {
    "preview": "/oracle/orderbook/{pair}/preview",
    "paid": "/oracle/orderbook/{pair}",
    "catalogue": "/oracle/orderbook/catalogue",
    "pairs": [
     "btc/usd",
     "eth/usd"
    ],
    "price": "$0.03"
   }
  },
  "IV": {
   "name": "IV Surface Oracle",
   "id": "IV",
   "type": "OPTIONS",
   "measures": "Implied volatility surface from Deribit options chain",
   "sources": [
    "deribit"
   ],
   "method": "Full options chain parsed via Deribit get_book_summary_by_currency API. ATM IV: nearest-to-money option at 20-40 DTE. 25-delta: approximated at ~8% OTM (moneyness 0.88-0.96 for puts, 1.04-1.12 for calls). Skew = put_25d_IV - call_25d_IV. Term structure ratio = near-dated (5-16 DTE) ATM IV / far-dated (55-105 DTE) ATM IV. BTC: ~870 instruments parsed per cycle. ETH: ~690 instruments.",
   "updateFrequency": {
    "refresh": "60s"
   },
   "signing": "Ed25519",
   "canonicalFormat": "v1|IV|{CCY}|atm_iv|{v}|skew|{v}|ts_ratio|{v}|put_25d|{v}|call_25d|{v}|{timestamp}|{nonce}",
   "endpoints": {
    "preview": "/oracle/iv/{pair}/preview",
    "paid": "/oracle/iv/{pair}",
    "catalogue": "/oracle/iv/catalogue",
    "pairs": [
     "btc/usd",
     "eth/usd"
    ],
    "price": "$0.03"
   }
  },
  "MSTI": {
   "name": "Mycelia Signal Transmission Index",
   "id": "MSTI",
   "type": "CONTAGION",
   "measures": "Crypto-TradFi coupling and contagion risk",
   "scale": {
    "min": 0,
    "max": 100
   },
   "regimes": [
    {
     "threshold": 75,
     "name": "CONTAGION"
    },
    {
     "threshold": 50,
     "name": "COUPLED"
    },
    {
     "threshold": 25,
     "name": "MIXED"
    },
    {
     "below": 25,
     "name": "DECOUPLED"
    }
   ],
   "methodVersion": 1,
   "updateFrequency": {
    "previewCacheSeconds": 300,
    "paidQuery": "real-time"
   },
   "canonicalFormat": "v1|CONTAGION|MARKET|MSTI|{VALUE}|INDEX|CORR:{corr}:{w},EQVOL:{eqvol}:{w},DXY:{dxy}:{w},BETA:{beta}:{w}|REGIME:{regime}|SESSION:{session}|CONFIDENCE:{conf}|METHOD:v1|{TS}|{NONCE}",
   "components": [
    {
     "id": "corr",
     "name": "BTC-Equity Correlation",
     "weight": 0.3,
     "precision": 2,
     "method": "Rolling 30D Pearson correlation between BTC hourly returns and the active regional equity index (S&P 500 during US session, Euro Stoxx 50 during EU, Nikkei 225 during Asia)",
     "source": "Internal price service + equity index feeds",
     "updateCadence": "hourly"
    },
    {
     "id": "eqvol",
     "name": "Equity Volatility",
     "weight": 0.25,
     "precision": 2,
     "method": "VIX-equivalent measure of equity market implied volatility, normalized to 0-100 scale",
     "source": "CBOE VIX / equivalent regional vol indices",
     "updateCadence": "hourly"
    },
    {
     "id": "dxy",
     "name": "DXY Momentum",
     "weight": 0.2,
     "precision": 2,
     "method": "USD Dollar Index trend momentum — rate of change over rolling window, normalized",
     "source": "DXY index",
     "updateCadence": "hourly"
    },
    {
     "id": "beta",
     "name": "Beta Amplification",
     "weight": 0.25,
     "precision": 2,
     "method": "Rolling 30D beta of BTC returns against equity returns — measures how strongly BTC amplifies equity moves",
     "source": "Derived from correlation and volatility ratio",
     "updateCadence": "hourly"
    }
   ],
   "regimeHysteresis": {
    "deadBand": 2,
    "enterMixed": 27,
    "exitMixedToDecoupled": 23,
    "enterCoupled": 52,
    "exitCoupledToMixed": 48,
    "enterContagion": 77,
    "exitContagionToCoupled": 73,
    "description": "Dead band of ±2 around each threshold prevents regime chatter"
   },
   "sessionAwareness": {
    "description": "MSTI tracks the active regional equity session — US, EU, or Asia — and correlates BTC against the corresponding regional equity index",
    "sessions": [
     "us",
     "eu",
     "asia"
    ]
   }
  },
  "MSLI": {
   "name": "Mycelia Signal Leadership Index",
   "description": "5-component equity market leadership index measuring risk-on vs defensive positioning across ETF ratios.",
   "components": {
    "growth_vs_value": {
     "ticker_ratio": "IVW/IVE",
     "weight": 0.25,
     "interpretation": "Rising = growth outperformance (risk-on)"
    },
    "tech_vs_market": {
     "ticker_ratio": "XLK/SPY",
     "weight": 0.25,
     "interpretation": "Rising = tech outperformance (risk-on)"
    },
    "small_vs_large": {
     "ticker_ratio": "IWM/SPY",
     "weight": 0.2,
     "interpretation": "Rising = small cap strength (broad risk appetite)"
    },
    "offensive_vs_defensive": {
     "tickers": "(XLK+XLY+XLC)/3 vs (XLP+XLU+XLRE)/3",
     "weight": 0.15,
     "interpretation": "Rising = offensive sector leadership"
    },
    "cyclical_vs_defensive": {
     "tickers": "(XLI+XLB+XLE)/3 vs (XLP+XLU+XLRE)/3",
     "weight": 0.15,
     "interpretation": "Rising = cyclical sector leadership"
    }
   },
   "scale": "0-100",
   "regimes": [
    "RISK_ON",
    "MILD_RISK_ON",
    "NEUTRAL",
    "MILD_DEFENSIVE",
    "DEFENSIVE"
   ],
   "cache_ttl": 300,
   "data_source": "Yahoo Finance (yfinance)",
   "signed": true,
   "endpoint": "/oracle/leadership/equity"
  },
  "MSBI": {
   "name": "Mycelia Signal Breadth Index",
   "description": "3-component market breadth index measuring the width of equity market participation.",
   "components": {
    "sector_participation": {
     "description": "% of 9 S&P sectors (XLK/XLY/XLC/XLI/XLB/XLE/XLP/XLU/XLRE) above 20DMA",
     "weight": 0.4
    },
    "breadth_momentum": {
     "description": "RSP/SPY ratio 5-day vs 20-day momentum — equal-weight vs cap-weight trend",
     "weight": 0.35
    },
    "price_momentum": {
     "description": "SPY deviation from 20DMA",
     "weight": 0.25
    }
   },
   "scale": "0-100",
   "regimes": [
    "EXPANDING",
    "IMPROVING",
    "NEUTRAL",
    "DETERIORATING",
    "CONTRACTING"
   ],
   "cache_ttl": 300,
   "data_source": "Yahoo Finance (yfinance)",
   "signed": true,
   "endpoint": "/oracle/breadth/equity"
  },
  "MSERC": {
   "name": "Mycelia Equity Regime Composite",
   "description": "2D equity regime framework combining internal market health and external stress. Health = MSLI×0.6 + MSBI×0.4. Stress = MESI×0.6 + MNVI×0.4. Net = Health - Stress (-100 to +100).",
   "range": "-100 to +100",
   "cadence": "300s",
   "price": "$0.10",
   "layer": 2,
   "components": {
    "health": {
     "description": "Internal market health",
     "inputs": {
      "MSLI": 0.6,
      "MSBI": 0.4
     }
    },
    "stress": {
     "description": "External stress",
     "inputs": {
      "MESI": 0.6,
      "MNVI": 0.4
     }
    }
   },
   "regimes": [
    "RISK_ON",
    "VOLATILE_BULL",
    "MILD_RISK_ON",
    "NEUTRAL",
    "MILD_STRESS",
    "DEFENSIVE",
    "STRESS"
   ],
   "endpoint": "/oracle/regime/equity/composite"
  },
  "MSRI": {
   "name": "Mycelia Signal Rotation Index",
   "description": "11-sector ETF momentum composite. Measures where capital is rotating. 5d excess return weighted 60%, 20d weighted 40%.",
   "range": "unbounded (typically -5 to +5)",
   "cadence": "300s",
   "price": "$0.10",
   "layer": 1,
   "sectors": {
    "offensive": [
     "XLK",
     "XLY",
     "XLC"
    ],
    "cyclical": [
     "XLF",
     "XLI",
     "XLB",
     "XLE"
    ],
    "defensive": [
     "XLP",
     "XLU",
     "XLRE",
     "XLV"
    ]
   },
   "regimes": [
    "STRONG_OFFENSE",
    "MILD_OFFENSE",
    "NEUTRAL",
    "MILD_DEFENSE",
    "STRONG_DEFENSE"
   ],
   "endpoint": "/oracle/rotation/equity"
  },
  "SUPPORT_RESISTANCE": {
   "name": "Support/Resistance Oracle",
   "id": "SUPPORT_RESISTANCE",
   "type": "PRICE_STRUCTURE",
   "measures": "Price levels where the asset has reversed, spent time, or sits on a round number, plus weekly moving averages. Descriptive: no forward-looking claim.",
   "assets": [
    "btc/usd",
    "eth/usd",
    "sol/usd"
   ],
   "sources": [
    "mycelia_spot_history (multi-venue spot, ~60s sampling)",
    "weekly closes (completed weeks only)"
   ],
   "window": {
    "barIntervalSeconds": 3600,
    "lookbackDays": 120,
    "maxSpotStalenessSeconds": 900
   },
   "methods": {
    "pivot": {
     "algorithm": "sr-1.0.0",
     "detects": "Swing pivots: prices where hourly bars reversed. Touches within 1.5% merge into one level; a level needs at least 4 touches.",
     "params": {
      "pivot_k": 12,
      "merge_pct": 0.015,
      "min_touches": 4,
      "half_life_days": 21.0
     },
     "strength": "sqrt(touches) / sqrt(touches of the most-touched level in the same set), multiplied by 2^(-days since last touch / 21)",
     "publishedComponents": [
      "touches",
      "age_days (since last touch)",
      "first_touch_age_days"
     ]
    },
    "density": {
     "algorithm": "sr-density-1.0.0",
     "detects": "Dwell levels: 0.25% price buckets where observations concentrate. A bucket needs at least 2% of all observations in the window.",
     "params": {
      "weight_mode": "count",
      "bucket_mode": "pct",
      "bucket_size": 0.0025,
      "min_dwell_share": 0.02,
      "half_life_days": 21.0
     },
     "strength": "dwell_share / largest dwell_share in the same set, multiplied by 2^(-days since last observation in the bucket / 21)",
     "publishedComponents": [
      "dwell_share",
      "age_days"
     ]
    },
    "round": {
     "algorithm": "sr-round-1.0.0",
     "detects": "Round-number levels computed arithmetically from as_of_price (the last spot price before as_of_ts), at step sizes scaled to the asset. Not derived from price history.",
     "strength": "Fixed by step size: larger round steps score higher. Major tiers (strength >= 0.6) are listed within 8% of spot, finer tiers within 1.5%.",
     "publishedComponents": [
      "step"
     ]
    },
    "all": {
     "algorithm": "sr-union-1.0.0",
     "detects": "Union of pivot, density and round levels, with corroboration and the weekly moving-average block."
    }
   },
   "strengthInterpretation": "Strength ranks levels WITHIN one method, one asset and one moment. Each method normalises to the strongest level in its own set, and round uses a fixed ladder, so strength is not comparable across methods, across assets, or across days. The components behind it are published per level for consumers who want their own weighting.",
   "corroboration": "Prices where a pivot level and a density level agree within 0.5%. Round levels do not count toward corroboration.",
   "weeklyMovingAverages": "20w, 50w, 100w and 200w SMA and EMA over completed weekly closes (the current partial week is excluded), each with multiple = as_of_price / average.",
   "signing": "Ed25519",
   "canonicalVersions": {
    "pivot": "v1",
    "density": "v1",
    "round": "v1",
    "all": "v2"
   },
   "endpoints": {
    "preview": "/oracle/market/support/{method}/{asset}/preview",
    "paid": "/oracle/market/support/{method}/{asset}",
    "catalogue": "/oracle/market/support/catalogue",
    "methods": [
     "pivot",
     "density",
     "round",
     "all"
    ],
    "price": "$0.15"
   },
   "previewNote": "Preview is free and signed, served from a snapshot up to 24h old, and carries prices only (no strength or components).",
   "asOf": "Each answer uses only spot data strictly before as_of_ts, the start of the current hourly bar; as_of_price is the last price before it. One as_of_ts always yields the same levels and the same signature, across requests, restarts and recomputes (since 2026-10-24).",
   "canonical": {
    "pivot|density|round": "v1|SUPPORT|<METHOD>|<SYMBOL>|<as_of_ts>|<algorithm>|<param_hash>|<lookbackDays>|<levels_sha256>",
    "all": "v2|SUPPORT|ALL|<SYMBOL>|<as_of_ts>|sr-union-1.0.0|<pivot_hash,density_hash,round_hash>|<lookbackDays>|<sma200w>|<sma50w>|<multiple200w>|<last_complete_week_ts>|<levels_sha256>  (NA where an average is missing)",
    "levels_sha256": "SHA-256 hex of the levels as text: each level 'price:strength' formatted %.2f:%.4f, joined by ';' in published order. all: the pivot, density and round texts and the corroboration text ('price:weight', %.2f:%.4f) joined by '|'.",
    "verify": "Ed25519 over the canonical's UTF-8 bytes with the response's pubkey; rebuild levels_sha256 from the response's own levels and compare to the canonical's last field.",
    "since": "2026-10-24 (labels unchanged: v1 single-method, v2 all)"
   }
  },
  "PEG": {
   "name": "Stablecoin Peg Oracle",
   "id": "PEG",
   "type": "PEG",
   "measures": "Each stablecoin's price against its peg currency, as the median of direct quotes on fiat venues, in basis points from par",
   "methodVersion": 1,
   "since": "2026-11-16",
   "coins": {
    "USDT": "USD",
    "USDC": "USD",
    "RLUSD": "USD",
    "USD1": "USD",
    "USDS": "USD",
    "USDG": "USD",
    "EURC": "EUR"
   },
   "method": "Median of the latest minute's usable quotes, one reading per venue. USD coins use direct USD quotes only; nothing is derived through another stablecoin. EURC uses EUR quotes as they are, and USD quotes divided by the stored EUR/USD reference; a venue quoting both counts once, with its EUR quote. dev_bps = (median - 1) x 10,000, one decimal.",
   "usableQuote": "bid/ask spread at most 50 bps, spread not negative, non-zero 24-hour volume",
   "minVenues": 2,
   "maxDataAgeSeconds": 150,
   "degraded": "Fewer than 2 distinct usable venues, or the newest data older than 150 s: the answer is still signed, with median and dev_bps null, degraded true and a reason. A coin is never priced from a single venue.",
   "bands": {
    "unit": "bps from par",
    "values": {
     "USDT": [
      -24,
      0
     ],
     "USDC": [
      -5,
      0
     ],
     "RLUSD": [
      -2,
      1
     ],
     "USD1": [
      -36,
      0
     ],
     "USDS": [
      -5,
      17
     ],
     "USDG": [
      -2,
      1
     ],
     "EURC": [
      -36,
      17
     ]
    },
    "source": "provisional: 0.1st-99.9th percentile of minute deviations with 2+ usable venues, 2026-10-25 to 2026-11-15, rounded outward and widened to include par",
    "inBand": "in_band is true when band low <= dev_bps <= band high; null when degraded",
    "note": "Provisional bands describe three weeks of history. They are not a judgement on any issuer and will be recomputed as history grows."
   },
   "updateFrequency": {
    "logger": "60s",
    "paidQuery": "real-time from the latest logged minute"
   },
   "signing": "Ed25519. A signing failure returns HTTP 503, never an unsigned 200.",
   "canonicalFormat": "v1|PEG|{COIN}|{PEG}|{median %.5f or null}|5|{dev_bps %.1f or null}|{n_venues}|{venues, comma-joined, or -}|{EURUSD:%.5f or -}|median|{OK or DEGRADED}|{as_of}|{TS}|{NONCE}",
   "canonicalAll": "v1|PEG-ALL|{count}|{sha256 hex of the coin canonicals joined by newlines, in the published order}|{TS}|{NONCE}; each coin inside /all is also signed on its own",
   "previewNote": "The preview answers from the same data with service tag PEG-PREVIEW in place of PEG. Unlike the general previewPolicy, this preview is signed (signed: true) and carries its own canonical; verify with the pubkey in the response.",
   "knownLimitations": [
    "v1 uses fiat venues logged on one host; stablecoin-quoted venues (for example Binance's USDC/USDT book) are not used",
    "EURC's USD quotes depend on the stored EUR/USD reference",
    "Coins with few fiat listings (EURC, USDS, USDG) are degraded for stretches when fewer than 2 venues have a usable quote"
   ],
   "deferred": "A derived rule (pricing through another stablecoin when fewer than 2 direct venues exist) is deferred to v2.",
   "endpoints": {
    "preview": "/oracle/peg/{coin}/preview",
    "paid": "/oracle/peg/{coin}",
    "all": "/oracle/peg/all",
    "catalogue": "/oracle/peg/catalogue",
    "coins": [
     "usdt",
     "usdc",
     "rlusd",
     "usd1",
     "usds",
     "usdg",
     "eurc"
    ],
    "price": "$0.01 per coin, $0.05 for /all (x402: Base or Solana USDC); 10 and 50 sats (L402)"
   },
   "signingKey": "us node, f4f0e52b5f7b54831f965632bf1ebf72769beda4c4e3d36a593f7729ec812615 (also in each response's pubkey field)"
  },
  "NL1": {
   "name": "US Net Liquidity (NL1)",
   "id": "NL1",
   "type": "MACRO_LIQUIDITY",
   "measures": "Federal Reserve balance sheet minus the Treasury General Account minus overnight reverse repo, in USD millions",
   "methodVersion": 1,
   "formula": "NL1 = WALCL - WDTGAL - RRPONTSYD x 1000 (WALCL and WDTGAL in USD millions, RRPONTSYD in USD billions), computed exactly",
   "sources": [
    "FRED: WALCL (weekly, Wednesday)",
    "FRED: WDTGAL (weekly, Wednesday)",
    "FRED: RRPONTSYD (daily)"
   ],
   "dates": "WALCL and WDTGAL share the same Wednesday. RRPONTSYD is the latest daily row at or before that Wednesday, and its date is data_as_of. It may be up to 4 days earlier, which covers a Wednesday holiday (Veterans Day 2026-11-11 had no RRP row); older is refused.",
   "deltas": "1w, 4w and 13w changes, absolute and percent, against stored prior weeks; null with a reason when history is insufficient",
   "selfCheck": "Before signing, the service re-parses its own canonical, checks the layout, unit tags and dates above, and recomputes NL1 from the canonical's own fields; a mismatch is not signed.",
   "canonicalFormat": "v1|MACROLIQ|US|NL1|{data_as_of}|WALCL:{date}:{value}:USD_MILLIONS|WDTGAL:{date}:{value}:USD_MILLIONS|RRPONTSYD:{date}:{value}:USD_BILLIONS|NL1:{value}:USD_MILLIONS|{TS}|{NONCE}",
   "canonicalExample": "v1|MACROLIQ|US|NL1|2026-11-10|WALCL:2026-11-11:6758867:USD_MILLIONS|WDTGAL:2026-11-11:912134:USD_MILLIONS|RRPONTSYD:2026-11-10:0.152:USD_BILLIONS|NL1:5846581:USD_MILLIONS|1794811346|710863",
   "verify": "Recompute WALCL - WDTGAL - RRPONTSYD x 1000 from the canonical's own fields and compare with the NL1 field; compare the input values with FRED numerically. Ed25519 over the canonical's UTF-8 bytes with the key in signingKey.",
   "issuance": "slo is the canonical issuer. A paid answer is an issuance and is recorded; a preview is signed but is not an issuance. The record keeps one row per (week, value): the first issuance's canonical and signature, with how many times that value was emitted. A revision is its own row.",
   "reconstructions": "Weeks before live issuance can be reconstructed from ALFRED first-release values. These are signed later under method tag NL1R, with a RECON:{signed date}:ALFRED_FIRST_RELEASE field, so a reconstruction can never be read as a print made at the time. Method NL1 itself is unchanged. A live NL1 print cannot carry a RECON field.",
   "previewNote": "Unlike the general previewPolicy, this preview is signed (signed: true) and carries its own canonical; verify with the pubkey in the response.",
   "endpoints": {
    "preview": "/oracle/macro/liquidity/us/preview",
    "paid": "/oracle/macro/liquidity/us",
    "price": "$0.05 (x402: Base or Solana USDC); 50 sats (L402)"
   },
   "signingKey": "us node, f4f0e52b5f7b54831f965632bf1ebf72769beda4c4e3d36a593f7729ec812615 (the preview omits the pubkey field)"
  },
  "GEX": {
   "name": "Dealer Gamma Exposure Oracle",
   "id": "GEX",
   "type": "OPTIONS",
   "measures": "Gamma exposure in USD per 1% move in the underlying, across options venues, gross and net, per strike and per venue",
   "algorithm": "gex-1.1.0",
   "param_hash": "8a0a8e978cf9",
   "venues": [
    "deribit",
    "okx",
    "bybit",
    "binance"
   ],
   "requiredVenue": "deribit",
   "band": {
    "abs_log_moneyness_max": 0.2,
    "days_to_expiry_max": 60
   },
   "openInterestUnit": "coin",
   "formula": "Sum over in-band options of every venue of gamma x open_interest x S^2 x 0.01. Gamma is recomputed per row with Black-Scholes at r = 0 and the venue's mark IV, using exact time to expiry (08:00 UTC); rows within 1.0 h of expiry are excluded.",
   "headline": "gross_usd_per_1pct (all venues present); per-venue totals and shares in venues",
   "net": "Net counts calls positive and puts negative, i.e. assumes dealers are long calls and short puts. Open interest does not reveal who holds which side; this is a convention, not an observation.",
   "refusesWhen": {
    "requiredVenueMissing": "deribit",
    "snapshotOlderThanSeconds": 2700,
    "requiredVenueRowsBelow": 100
   },
   "venueMissing": "A venue with no usable rows, or not in coin units, is left out and named in venues_missing.",
   "reproducibility": "Every total is a sum of the published per-strike, per-venue integers; per_strike_digest, inputs_digest and the per-venue totals are in the signed canonical.",
   "record": "The first signed print of every snapshot is kept, issued on a schedule whether or not requested; refusals are kept with their reason.",
   "previewCanonicalFormat": "v1|GEX-PREVIEW|{PAIR}|{snapshot_at}|{spot}|{gross_usd_per_1pct}|{net_usd_per_1pct}",
   "previewNote": "Headline only: pair, snapshot_at, spot, gross and net. The paid route adds per-strike and per-venue tables, digests and the full signed canonical. Unlike the general previewPolicy, this preview is signed (signed: true) and carries its own canonical; verify with the pubkey in the response.",
   "note": "Descriptive. No forward-looking claim. Not tested against realised volatility.",
   "endpoints": {
    "preview": "/oracle/gex/{pair}/preview",
    "paid": "/oracle/gex/{pair}",
    "catalogue": "/oracle/gex/catalogue",
    "pairs": [
     "btc/usd",
     "eth/usd"
    ],
    "price": "$0.05 (x402: Base or Solana USDC); 50 sats (L402)"
   },
   "signingKey": "asia node, 7ab07fbe7d08cd16823e5eb0db0e21f3f38e9366d5fd00d14e95df0fb9b51a1a (also in each response's pubkey field)"
  }
 },
 "precisionRules": {
  "indexValue": 2,
  "confidence": 4,
  "rv": 2,
  "iv": 2,
  "fr": 2,
  "skew": 2,
  "vol": 2,
  "pcr": 3,
  "ts": 3,
  "basis": 4,
  "unavailable": "KEY:NA:weight"
 },
 "componentCadence": {
  "live_5min": [
   "iv",
   "skew",
   "pcr",
   "ts",
   "basis",
   "stbl"
  ],
  "every_8h": [
   "fr"
  ],
  "daily": [
   "rv"
  ]
 },
 "endpoints": {
  "MSVI": {
   "preview": "/oracle/volatility/{pair}/preview",
   "paid": "/oracle/volatility/{pair}",
   "methodology": "/oracle/volatility/{pair}/methodology",
   "pairs": [
    "btc/usd",
    "eth/usd"
   ]
  },
  "MSXI": {
   "preview": "/oracle/sentiment/{pair}/preview",
   "paid": "/oracle/sentiment/{pair}",
   "pairs": [
    "btc/usd",
    "eth/usd"
   ]
  },
  "MSSI": {
   "preview": "/oracle/stress/market/preview",
   "paid": "/oracle/stress/market"
  },
  "FUNDING": {
   "preview": "/oracle/funding/{pair}/preview",
   "paid": "/oracle/funding/{pair}",
   "pairs": [
    "btc/usd",
    "eth/usd",
    "sol/usd"
   ],
   "methodology": "OI-weighted composite across 10 exchanges: Binance, Bybit, OKX, Deribit, Hyperliquid, Kraken, Coinbase, Crypto.com, Bitget, dYdX.",
   "sources": [
    "binance",
    "bybit",
    "okx",
    "deribit",
    "hyperliquid",
    "kraken",
    "coinbase",
    "crypto_com",
    "bitget",
    "dydx"
   ],
   "cadence": "60s"
  },
  "OI": {
   "preview": "/oracle/oi/{pair}/preview",
   "paid": "/oracle/oi/{pair}",
   "pairs": [
    "btc/usd",
    "eth/usd",
    "sol/usd"
   ],
   "methodology": "Aggregate open interest across 5 exchanges.",
   "sources": [
    "binance",
    "bybit",
    "okx",
    "deribit",
    "hyperliquid"
   ],
   "cadence": "60s"
  },
  "BASIS": {
   "preview": "/oracle/basis/{pair}/preview",
   "paid": "/oracle/basis/{pair}",
   "pairs": [
    "btc/usd",
    "eth/usd",
    "sol/usd"
   ],
   "methodology": "Spot-futures basis and annualized carry.",
   "cadence": "60s"
  },
  "LIQUIDATIONS": {
   "preview": "/oracle/liquidations/{pair}/preview",
   "paid": "/oracle/liquidations/{pair}",
   "pairs": [
    "btc/usd",
    "eth/usd",
    "sol/usd"
   ],
   "methodology": "Real-time liquidation events across 3 exchanges (Binance, OKX, Bybit). Binance is snapshot-limited to one event per symbol per second; totals are a lower bound during cascades.",
   "sources": [
    "binance",
    "okx",
    "bybit"
   ],
   "cadence": "real-time"
  },
  "ORDERBOOK": {
   "preview": "/oracle/orderbook/{pair}/preview",
   "paid": "/oracle/orderbook/{pair}",
   "pairs": [
    "btc/usd",
    "eth/usd"
   ],
   "methodology": "Cross-exchange order book depth across 5 exchanges.",
   "sources": [
    "binance",
    "bybit",
    "okx",
    "deribit",
    "hyperliquid"
   ],
   "cadence": "60s"
  },
  "IV_SINGLE": {
   "preview": "/oracle/iv/{pair}/preview",
   "paid": "/oracle/iv/{pair}",
   "pairs": [
    "btc/usd",
    "eth/usd"
   ],
   "methodology": "Deribit options chain IV surface.",
   "sources": [
    "deribit"
   ],
   "cadence": "60s"
  },
  "GREEKS": {
   "preview": "/oracle/greeks/{ccy}/usd/preview",
   "paid": "/oracle/greeks/{ccy}/usd",
   "pairs": [
    "btc/usd",
    "eth/usd",
    "sol/usd"
   ],
   "methodology": "Cross-exchange consensus Greeks via Black-Scholes. Custom norm_cdf. Mean across Deribit (computed), OKX (native), Bybit (native). 30s cache.",
   "sources": [
    "deribit",
    "okx",
    "bybit"
   ],
   "cadence": "30s"
  },
  "TERM_STRUCTURE": {
   "preview": "/oracle/term-structure/{ccy}/usd/preview",
   "paid": "/oracle/term-structure/{ccy}/usd",
   "pairs": [
    "btc/usd",
    "eth/usd",
    "sol/usd"
   ],
   "methodology": "Multi-exchange futures term structure. Per-maturity basis, annualized carry, regime detection.",
   "sources": [
    "deribit",
    "okx",
    "bybit"
   ],
   "cadence": "30s"
  },
  "INSTRUMENTS": {
   "preview": "/oracle/instruments/{ccy}/options/preview",
   "paid": "/oracle/instruments/{ccy}/options",
   "pairs": [
    "btc/usd",
    "eth/usd",
    "sol/usd"
   ],
   "methodology": "Multi-exchange options instrument discovery with cross-exchange coverage.",
   "sources": [
    "deribit",
    "okx",
    "bybit"
   ],
   "cadence": "30s"
  },
  "SVI_SURFACE": {
   "preview": "/oracle/svi/{ccy}/usd/preview",
   "paid": "/oracle/svi/{ccy}/usd",
   "pairs": [
    "btc/usd",
    "eth/usd",
    "sol/usd"
   ],
   "methodology": "Gatheral 2004 SVI parameterization. 5 params per expiry via L-BFGS-B. Arbitrage-free total variance surface.",
   "sources": [
    "deribit",
    "okx",
    "bybit"
   ],
   "cadence": "30s"
  },
  "IV_SURFACE_MULTI": {
   "preview": "/oracle/iv-surface/{ccy}/usd/preview",
   "paid": "/oracle/iv-surface/{ccy}/usd",
   "pairs": [
    "btc/usd",
    "eth/usd",
    "sol/usd"
   ],
   "methodology": "Per-strike implied volatility from Deribit, OKX, Bybit and Bullish (Bullish: BTC only, intermittent; SOL from Bybit only) with cross-exchange divergence detection and mispricing alerts. Each response gives the instrument count per venue.",
   "sources": [
    "deribit",
    "okx",
    "bybit",
    "bullish"
   ],
   "cadence": "30s"
  },
  "MSTI": {
   "preview": "/oracle/contagion/market/preview",
   "paid": "/oracle/contagion/market",
   "catalogue": "/oracle/contagion/catalogue"
  },
  "synopsis_market": {
   "path": "/oracle/synopsis/market",
   "price": "$0.25"
  },
  "perp_btc": {
   "path": "/oracle/perp/btc",
   "price": "$0.15"
  },
  "SUPPORT_RESISTANCE": {
   "preview": "/oracle/market/support/{method}/{asset}/preview",
   "paid": "/oracle/market/support/{method}/{asset}",
   "pairs": [
    "btc/usd",
    "eth/usd",
    "sol/usd"
   ],
   "methodology": "Support/resistance from swing pivots, price dwell and round numbers over 120 days of hourly bars, plus weekly moving averages. Strength is relative within one method and asset; see indices.SUPPORT_RESISTANCE.",
   "cadence": "hourly bars"
  },
  "PEG": {
   "preview": "/oracle/peg/{coin}/preview",
   "paid": "/oracle/peg/{coin}",
   "all": "/oracle/peg/all",
   "catalogue": "/oracle/peg/catalogue",
   "coins": [
    "usdt",
    "usdc",
    "rlusd",
    "usd1",
    "usds",
    "usdg",
    "eurc"
   ],
   "methodology": "Median of direct fiat-venue quotes, one per venue, at least 2 venues, data at most 150 s old; provisional bands. See indices.PEG.",
   "cadence": "60s"
  },
  "NL1": {
   "preview": "/oracle/macro/liquidity/us/preview",
   "paid": "/oracle/macro/liquidity/us",
   "methodology": "WALCL - WDTGAL - RRPONTSYD x 1000 from FRED, self-checked before signing. See indices.NL1.",
   "cadence": "weekly (Wednesday), RRP daily"
  },
  "GEX": {
   "preview": "/oracle/gex/{pair}/preview",
   "paid": "/oracle/gex/{pair}",
   "catalogue": "/oracle/gex/catalogue",
   "pairs": [
    "btc/usd",
    "eth/usd"
   ],
   "methodology": "Gamma x OI x S^2 x 0.01 across Deribit, OKX, Bybit and Binance, |log moneyness| <= 0.2, expiry <= 60 days; Deribit required. See indices.GEX.",
   "sources": [
    "deribit",
    "okx",
    "bybit",
    "binance"
   ]
  }
 },
 "productArchitecture": {
  "layers": [
   {
    "layer": 1,
    "name": "Oracle Data",
    "description": "Raw signed measurements"
   },
   {
    "layer": 2,
    "name": "Oracle Information",
    "description": "Structured context from data",
    "endpoints": [
     "/oracle/synopsis/market",
     "/oracle/perp/btc",
     "/oracle/perp/eth",
     "/oracle/perp/sol",
     "/oracle/regime/equity",
     "/oracle/regime/liquidity"
    ]
   },
   {
    "layer": 3,
    "name": "Oracle Intelligence",
    "description": "Cross-domain pattern recognition",
    "status": "live",
    "endpoints": [
     "/oracle/intel/macro/risk",
     "/oracle/intel/perp/setup",
     "/oracle/intel/defi/opportunity",
     "/oracle/intel/regime/change",
     "/oracle/intel/divergence",
     "/oracle/intel/consensus",
     "/oracle/intel/regime/persistence"
    ]
   },
   {
    "layer": 4,
    "name": "Oracle Wisdom",
    "description": "Longitudinal pattern synthesis (coming soon)"
   }
  ]
 },
 "previewPolicy": {
  "description": "Preview endpoints return intentionally stale unsigned data for format discovery and integration testing. Do NOT use for trading or time-sensitive decisions.",
  "staleness": {
   "layer1_prices_gas_compute_defi_weather_marine": "60 minutes",
   "layer1_msfr_funding_oi_basis": "2 hours",
   "layer2_msvi_msxi_mssi_msti": "60 minutes",
   "layer2_mesi_mnvi": "24 hours",
   "layer2_3_intel_regime_synopsis_perp": "24 hours",
   "regime_persistence": "24 hours (computed from historical data as-of 24h ago)"
  },
  "indicators": {
   "all_previews": [
    "preview: true",
    "signed: false"
   ],
   "layer1_cached": [
    "preview_cached: true",
    "cache_max_age_minutes: 60",
    "cache_age_minutes: N"
   ],
   "layer2_3_cached": [
    "preview_cached: true"
   ]
  }
 },
 "simulators": {
  "BASIS_SIM": {
   "name": "Calendar Basis Simulator",
   "description": "Deribit BTC JUN/SEP calendar spread convergence tracker. Entry ≥2.0% spread, exit ≤0.5%. $10K notional reference.",
   "endpoint": "/oracle/basis/sim/btc",
   "price": "$0.05 USDC",
   "engine": "basis_sim.py",
   "db": "basis_sim.db"
  }
 }
}
