Funding Rates
Funding rates are a core mechanism in perpetual futures markets designed to keep the price of the perpetual contract aligned with its underlying spot index. On Nexus, funding is computed and settled natively inside the NexusCore DEX co-processor, ensuring deterministic, transparent, and protocol-level enforcement of payments between longs and shorts.
How Funding Works
Funding reflects the basis between the perpetual mid-price and the underlying index price:
Positive funding → longs pay shorts
Negative funding → shorts pay longs
Each market displays its current hourly funding rate at the top of the trading interface.
Timing and Frequency
Nexus uses the EVM block height schedule to approximate hourly funding intervals during the DEX Alpha. As the network progresses through mainnet phases, the cadence becomes increasingly consistent due to more stable block timing and a maturing dual-block architecture.
Funding accrues continuously throughout the hour
Settlement occurs at the end of each hourly window
All calculations and settlements occur within NexusCore.
Implementation
The Nexus DEX funding mechanism charges roughly every hour, with the calculation period spanning the full hour and settlement occurring at the end of each hour.
In the DEX Alpha funding occurs roughly every 4 hours.
Basis Calculation
The system calculates the basis (premium or discount) by comparing the market's mid-price (average of best bid and ask) with the underlying spot price provided by the Nexus Oracle System.
These samples are taken at fixed intervals to capture representative market conditions.
Rate Determination
At the end of each hour, the collected basis measurements are averaged to form the hourly rate.
For positive rates:
For negative rates:
Settlement Logic
Funding payments are exchanged between longs and shorts based on the final computed rate:
Positive Funding (Market Trading Above Index)
Longs pay shorts proportional to position size, rate, and index price
Negative Funding (Market Trading Below Index)
Shorts pay longs using the same proportional model
All settlements occur atomically within the Core block processing the end-of-interval boundary.
Last updated

