Hourly funding rate (after clamp)

Funding & margin breakdown

MetricValue

How dYdX v4's funding formula actually works

dYdX Chain (v4) does not read a single "mark price" the way most CEX-style perps do. Instead it probes its own order book for the average execution price of a market order sized at the impact notional — 500 USDC divided by that market's Initial Margin Fraction (IMF). A 5% IMF market therefore uses a 10,000 USDC probe order; a riskier 20% IMF market uses a smaller 2,500 USDC probe. The average sell price of that probe is the Impact Bid, the average buy price is the Impact Ask.

The Premium compares those impact prices to the index price: Premium = (max(0, Impact Bid − Index) − max(0, Index − Impact Ask)) / Index. If the book is bid up above index, premium is positive; if it's offered down below index, premium is negative. This is sampled roughly every minute and averaged into one funding tick per hour. The hourly Funding Rate is Premium / 8 + Interest Rate Component — dividing by 8 spreads what is structurally an 8-hour-scaled premium across the hourly settlement cadence dYdX actually uses.

Crucially, the raw rate is then bounded by a clamp: the 8-hour cap is clamp factor × (IMF − MMF), with a default clamp factor of 600%. Divide that by 8 for the hourly cap. This ties the maximum possible funding swing directly to how much margin buffer a market's own risk parameters carry — tighter-margin blue-chip markets get a narrower clamp band, wider-margin long-tail markets get more room to swing, exactly mirroring how much risk the protocol itself is already pricing into that market's liquidations.

FAQ

How does dYdX v4 calculate the funding rate?

dYdX Chain (v4) computes an hourly Premium from the order book: Premium = (max(0, Impact Bid − Index Price) − max(0, Index Price − Impact Ask)) / Index Price. The Impact Bid/Ask are the average execution prices for a market order of the 'impact notional' size (500 USDC / Initial Margin Fraction). The hourly Funding Rate is then Premium / 8 plus a fixed Interest Rate Component, sampled every minute and averaged into one funding tick per hour.

What is the 'impact notional' and why does it matter?

Impact Notional = 500 USDC / Initial Margin Fraction. It is the trade size dYdX uses to probe the order book for the impact bid/ask prices that feed the premium formula — deep enough to reflect real slippage, small enough to stay resistant to manipulation. A market with a 5% IMF uses a 10,000 USDC impact size; a market with a 20% IMF (higher risk, smaller impact size) uses 2,500 USDC. Lower-margin (blue-chip) markets therefore need a bigger, harder-to-move order to swing the premium.

What is the funding rate clamp factor and how does it cap payments?

dYdX bounds the funding rate so no single market can runaway on a thin order book. The 8-hour cap is funding_rate_clamp_factor × (Initial Margin Fraction − Maintenance Margin Fraction); the default clamp factor is 600%. For a BTC-style market with a 5% IMF and 3% MMF, the cap is 600% × 2% = 12% per 8 hours (1.5% per hour). The raw premium-derived rate is clamped to ±this value before it is ever charged, so tighter-margin (safer) markets get a smaller absolute clamp band, and riskier markets with a wider IMF-MMF spread can swing further.

Who pays whom — longs or shorts?

A positive funding rate means the impact bid sits above the index price (the book is bid up, more aggressive buyers) — longs pay shorts. A negative rate means the impact ask sits below the index price — shorts pay longs. Payments are settled once per funding-tick (hourly by default) as position notional × funding rate, deducted from or added to your account equity automatically; no manual claim is needed.

How is this different from Binance/Bybit/Hyperliquid-style funding?

Most centralized-style perp funding blends a mark-index premium sampled over 8 hours with a flat interest rate, paid every 1-8 hours depending on venue. dYdX v4's mechanic is structurally similar (premium + interest, divided into an hourly tick) but ties both the impact-order size and the clamp band directly to each market's own margin parameters (IMF/MMF) rather than a single exchange-wide cap — so the maximum funding rate is different for every listed market and moves automatically whenever governance adjusts that market's margin requirements.

Does a wider IMF-MMF spread mean more funding risk?

Yes, directionally. The clamp band scales with (IMF − MMF), so a lower-liquidity market that governance has assigned a wider margin buffer will also tolerate a larger swing in funding rate per hour before the clamp engages. That is on top of the higher margin requirement itself — so thinner markets carry compounding risk: more collateral required to open a position, and a wider possible funding bill while you hold it.

Share: 𝕏 Post Reddit
Place your trade on:BybitBinanceOKXKuCoin|📈 TradingView🔒 NordVPN📧 Icemail
Learn the concept · see it live
Learn hub →Live market →Funding rates →