- Index Price (p1): the external market reference price.
- Impact Mid Price (p2): a depth-adjusted mid-price.
- Microprice (p3): a queue-weighted top-of-book signal.
Index Price
The index price serves as the external reference for fair pricing. It is sourced through a three-layered fallback system to maximize reliability: 1. Primary Feed (CEX Median) Weighted median of prices from Binance, OKX, Bybit, Gate.io, MEXC with weights . 2. Secondary Feed (Oracle Price) Chainlink oracle price smoothed with a 30s TWAP of past rounds. Used only if the primary feed is stale (admin-level staleness threshold) and spread is deviating (admin-level clip). 3. Fallback Feed (On-Chain EMA) 30-second EMA of the median of best bid, best ask, and last trade on GTE’s onchain book. Used only if both primary and secondary feeds fail.Impact Mid Price
The impact mid measures what it would cost to execute a small notional trade through the order book. Instead of relying on the top tick, which can be spoofed or fragile, it considers book depth on both sides: Where is the target notional (admin-set), symmetric on both sides and is the Volume-Weighted Average Price. This ensures liquidations and mark-to-market events reflect true executable prices, not easily manipulated quotes.Microprice
The microprice provides a super responsive signal of current order book balance. It weights top-of-book quotes by queue sizes:- Bigger bid sizes push the price higher.
- Bigger ask sizes push it lower.