Oracle
Oracle Price Publishing on Rocketfi
Validators on Rocketfi play a critical role in maintaining accurate pricing for perpetual futures. Every 3 seconds, they publish spot oracle prices for each perp asset. These prices are essential for:
Calculating funding rates
Determining mark prices used in margining, liquidations, and triggering take-profit/stop-loss (TP/SL) orders
How Oracle Prices Are Computed
Each validator calculates the spot oracle price using a weighted median of spot prices from the following exchanges:
Pyth
Binance
MEXC
Hyperliquid
For assets with primary spot liquidity outside of Rocketfi (e.g., BTC), Rocketfi’s own spot prices are excluded from the oracle calculation to ensure accuracy.
🏛️ Final Oracle Price Selection
The final price used by the clearinghouse is determined by aggregating the oracle prices submitted by all validators.
Last updated