---
title: Oracle
slug: oracle
icon: ⚙️
docTags: 
createdAt: 2023-07-31T13:32:53.931Z
---

# DOVs and SAFU

Price feeds are sourced fro&#x6D;**&#x20;Pyth, Supra, OKX, Cetus, and Coingecko**. Most options use the oracle price at the time of settlement, with two exceptions:

1. $TYPUS options are settled using a 5-minute TWAP (Time-Weighted Average Price).
2. Weekly BTC Call options (deposit and bid in xBTC) use the 1-hour TWAP of OKX [BTC/USD](https://www.okx.com/trade-market/expiry/option) index for settlement.

| **Pair**       | **Settlement - Main&#x20;**                                                                                                                                                                                                                              | **Settlement - Backup**                                                                                                                                                                                                                                                                            | **Options Pricing**                                                                                                                                                                                                                           |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **SUI/USD**    | Pyth<br />* [SUI/USD](https://insights.pyth.network/price-feeds/Crypto.SUI%2FUSD)                                                                                                                                                                        | Supra<br />* [SUI/USDT](https://supra.com/data/details?instrumentName=sui_usdt\&providerName=supra)
* [USDT/USD](https://supra.com/data/details?instrumentName=usdt_usd\&providerName=supra)                                                                                                       | PowerTrade<br />* [SUI Options](https://power.trade/trade/options/SUI/)                                                                                                                                                                       |
| **TYPUS/USD**  | Cetus<br />* [SUI/TYPUS](https://app.cetus.zone/swap?from=0x2\::sui\::SUI\&to=0xf82dc05634970553615eef6112a1ac4fb7bf10272bf6cbe0f80ef44a6c489385\::typus\::TYPUS)<br />Pyth<br />* [SUI/USD](https://insights.pyth.network/price-feeds/Crypto.SUI%2FUSD) | Coingecko<br />* [TYPUS/USD](https://www.coingecko.com/coins/typus)                                                                                                                                                                                                                                | Cetus<br />* [SUI/TYPUS](https://app.cetus.zone/swap?from=0x2\::sui\::SUI\&to=0xf82dc05634970553615eef6112a1ac4fb7bf10272bf6cbe0f80ef44a6c489385\::typus\::TYPUS)<br />Pyth<br />* [SUI/USD](https://pyth.network/price-feeds/crypto-sui-usd) |
| **HASUI/USD**  | Pyth<br />* [HASUI/USD](https://insights.pyth.network/price-feeds/Crypto.HASUI%2FUSD)                                                                                                                                                                    | Supra<br />* [HASUI/SUI](https://supra.com/data/details?version=2\&instrumentName=hasui_sui\&providerName=supra)
* [SUI/USDT](https://supra.com/data/details?instrumentName=sui_usdt\&providerName=supra)
* [USDT/USD](https://supra.com/data/details?instrumentName=usdt_usd\&providerName=supra) | PowerTrade<br />* [SUI Options](https://power.trade/trade/options/SUI/)                                                                                                                                                                       |
| **SCA/USD**    | Pyth<br />* [SCA/USD](https://insights.pyth.network/price-feeds/Crypto.SCA%2FUSD)                                                                                                                                                                        | Supra<br />* [SCA/USDT](https://supra.com/data/details?version=2\&instrumentName=sca_usdt\&providerName=supra)
* [USDT/USD](https://supra.com/data/details?instrumentName=usdt_usd\&providerName=supra)                                                                                            | Bybit<br />* [SCA/USDT](https://www.bybit.com/trade/spot/SCA/USDT)                                                                                                                                                                            |
| **HAEDAL/USD** | Pyth<br />* [HAEDAL/USD](https://insights.pyth.network/price-feeds/Crypto.HAEDAL%2FUSD)                                                                                                                                                                  | Supra<br />* [HAEDAL/USDT](https://supra.com/data/details?instrumentName=haedal_usdt\&providerName=supra)
* [USDT/USD](https://supra.com/data/details?instrumentName=usdt_usd\&providerName=supra)                                                                                                 | Bybit<br />* [HAEDAL/USDT](https://www.bybit.com/trade/spot/HAEDAL/USDT)                                                                                                                                                                      |
| **BTC/USD**    | Pyth<br />* [BTC/USD](https://insights.pyth.network/price-feeds/Crypto.BTC%2FUSD)                                                                                                                                                                        | Supra<br />* [BTC/USD](https://supra.com/data/details?instrumentName=btc_usd\&providerName=supra)                                                                                                                                                                                                  | Deribit<br />* [BTC Options](https://www.deribit.com/options/BTC)&#x20;<br />OKX<br />* [BTC Options](https://www.okx.com/trade-option-chain/btc-usd)                                                                                         |
| **ETH/USD**    | Pyth<br />* [ETH/USD](https://insights.pyth.network/price-feeds/Crypto.ETH%2FUSD)                                                                                                                                                                        | Supra<br />* [ETH/USD](https://supra.com/data/details?instrumentName=eth_usd\&providerName=supra)                                                                                                                                                                                                  | Deribit<br />* [ETH Options](https://www.deribit.com/options/ETH)                                                                                                                                                                             |
| **SOL/USD**    | Pyth<br />* [SOL/USD](https://insights.pyth.network/price-feeds/Crypto.SOL%2FUSD)                                                                                                                                                                        | Supra<br />* [SOL/USDT](https://supra.com/data/details?instrumentName=sol_usdt\&providerName=supra)
* [USDT/USD](https://supra.com/data/details?instrumentName=usdt_usd\&providerName=supra)                                                                                                       | Bybit<br />* [SOL Options](https://www.bybit.com/trade/option/usdt/SOL)                                                                                                                                                                       |

# Perps

Major markets are using Pyth Price Feeds. However, to ensure the stability of trading altcoins such as the $TYPUS perpetual market, we’ve implemented an advanced price guard mechanism: **Price Keeper**. It utilizes a multi-dimensional algorithmic framework to calculate the **Index Price**. This system is specifically engineered to resist price manipulation and ensure fairness during liquidations.

Core Technical Framework:

1. **Logarithmic Weighting**
   - By applying a logarithmic scale, the system balances the influence of large and small trades. This prevents abnormally large whale trades from disproportionately dominating the price distribution and skewing the Index Price.
2. **Exponential Decay**
   - A half-life parameter is used to control the influence of historical data over time. Old weights automatically decay as new data points are added to the system.&#x20;
   - Through the time decay function, the system can calculate the precise aggregate weight for any given timestamp, ensuring the price reflects the most current market sentiment.
3. **Volatility Filtering**
   - Price movements are limited based on the asset's Annualized Volatility.
   - The system automatically filters out "flash crash" events or erroneous price quotes caused by oracle delays, and ensures that liquidations are triggered only by genuine market moves, not by temporary technical glitches or scam wicks.
4. **Smart Data Cleaning**
   - When the data pool exceeds its designated **Soft Cap**, the system automatically purges low-weight data. This keeps the calculation engine lean and focused on the most relevant, recent market data.
5. **Unified Percentile Algorithm**
   - The Bid, Ask, and Index prices are all derived from the same mathematical distribution logic.
   - The algorithm strictly enforces the pricing chain of **Bid ≤ Index ≤ Ask**. This eliminates arbitrage opportunities and provides a transparent, predictable pricing structure for traders.
