Perpetual Funding Rate | dYdX Help Center (2024)

Perpetual contracts are inspired by traditional futures contracts, but differ in that there is no expiry date and therefore no final settlement or delivery. Funding payments are therefore used to incentivize the price of the perpetual to trade at the price of the underlying.

Funding is calculated algorithmically based on the Index Price and sampled Mid-Market Prices for the perpetual. When the rate is positive (perpetual trades at a premium relative to index), traders who are long will make payments to traders who are short. When the rate is negative (perpetual trades at a discount relative to index), this is reversed and shorts will pay longs. Traders make or receive payments in proportion to the size of their market position. These payments are exchanged solely between traders, and are neither paid nor received by the exchange.

The purpose of the funding rate is to keep the price of each perpetual market trading close to its Index Price. When the price is too high, longs pay shorts, incentivizing more traders to sell / go short, and driving the price down. When the price is too low, shorts pay longs, incentivizing more traders to buy / go long, driving the price up.

Funding payments can be found by calling https://dydxprotocol.github.io/v3-teacher/#get-funding-payments and the predicted funding rate can be found by calling https://dydxprotocol.github.io/v3-teacher/#get-markets. Historical funding rates can be found by calling https://dydxprotocol.github.io/v3-teacher/#get-historical-funding.

Funding Interval

Funding payments are exchanged between long and short traders to encourage the price of a perpetual contract to trade close to the price of the underlying. Funding payments are made in USD (USDC). The payments are credited or debited at the start of each hour, and are included in the Realized PNL for the position. Thus, the dYdX funding rate is usually represented as a 1-hour rate, which represents the return a position may expect to earn or pay every hour.

When calculating the funding rate, the premium is scaled to have a realization period of 8 hours. That means, for example, that if a certain perpetual market trades consistently at a 0.1% premium relative to the underlying, long traders may expect to pay ~0.1% every 8 hours, and short traders may expect to earn a ~0.1% return every 8 hours (not accounting for the interest rate component).

Funding Payment Calculation

At the start of each hour, an account receives USDC (if F is positive) or pays USDC (if F is negative) in an amount equal to:

F = (-1) × S × P × R

Where:

  • S is the size of the position (positive if long, negative if short)

  • P is the oracle (index) price for the market

  • R is the funding rate (as a 1-hour rate)

Funding Rate Calculation

The main component of the funding rate is a premium that takes into account market activity for the perpetual. It is calculated for each market, every minute (at a random point within the minute) using the formula:

Premium = (Max(0, Impact Bid Price - Index Price) - Max(0, Index Price - Impact Ask Price)) / Index Price

Where the impact bid and impact ask prices are defined as:

Impact Bid Price = Average execution price for a market sell of the impact notional value 
Impact Ask Price = Average execution price for a market buy of the impact notional value

And the impact notional amount for a market is:

Impact Notional Amount = 500 USDC / Initial Margin Fraction

For example, at a 10% initial margin fraction, the impact notional value is 5,000 USDC.

At the end of each hour, the 1-hour premium is calculated as the simple average (i.e. TWAP) of the 60 premiums calculated over the course of the last hour. In addition to the premium component, each market has a fixed interest rate component that aims to account for the difference in interest rates of the base and quote currencies. The funding rate is then:

Funding Rate = (Premium Component / 8) + Interest Rate Component

Currently, the interest rate component for all dYdX markets is 0.00125% (equivalent to 0.01% per 8 hours). For markets with no interest rate component, the funding rate is simply the one-hour premium.

Index Price for Funding

Funding payments based on funding rate calculations make use of an index price given by a relevant oracle for the asset (see https://dydxprotocol.github.io/v3-teacher/#perpetual-contracts for more detail on the index price inputs for each asset).

Funding Rate Bounding

The minimum funding rate is -4.00% and the maximum funding rate is 4.00%. There is a limit to how quickly the admin can change the funding rate, but this does not take effect during normal operation.

See Below for a Video Explaining the Above

You can read more about our authors here.

Perpetual Funding Rate | dYdX Help Center (2024)

FAQs

How is the perpetual funding rate calculated? ›

Perpetual Futures and the Funding Rate

The funding rate is usually calculated based on a combination of the perpetual contract's price, the spot price, and an interest rate component.

What does the funding rate tell you? ›

The funding rate reflects overall market sentiment. A high positive rate signals bullish sentiment, with traders willing to pay more to maintain long positions.

How do you make money from funding rate? ›

Trade against the funding rate: This strategy involves trading against the short-term market trend to take advantage of the funding fees. By taking a position against the trend just before the funding fee update, traders can capture these fees as profit.

How does the funding rate get paid? ›

When the funding rate is positive, the long position holders in perpetual futures contracts pay funding fees to the short position holders. Conversely, when the funding rate is negative, the short position holders pay long position holders.

How do perpetuals work? ›

Perpetual futures are a type of derivative contract that allows you to speculate on the future price of an underlying asset, such as cryptocurrency. You don't need to own it, and there's no expiration date.

What is the difference between perpetual and standard futures? ›

Futures contracts are priced based on the forward looking market price of an underlying asset, have a specific expiration date and can be settled physically or financially. Perpetual futures are designed to trade close to the underlying asset price, do not expire or settle and can be held indefinitely.

What happens when the funding rate is negative? ›

On the flip side, negative funding rates (rates under '0') suggest a dominant bearish sentiment. In this scenario, short position traders are in control and are willing to pay long traders. Negative funding rates indicate a belief among traders that the market is more likely to experience a downward movement.

How often is funding rate paid? ›

Funding payments are exchanged continuously every second. The funding rate is updated every hour, but is represented as an 8-hour rate, indicating the amount of funding accounts may expect to pay/receive over an 8-hour period.

What does a low funding rate mean? ›

Funding rate = max(-1%, min((Mark Price - Index Price) / Index Price, 1%)) / 8. In a positive funding rate, long position holders pay funding to short position holders. A negative funding rate means short position holders pay funding to long position holders.

How to farm funding rate? ›

Funding Rate Farming: The Basics

By simultaneously taking opposite positions on Clone and a perpetual exchange like Drift, traders can profit from funding rates while minimizing market exposure, all within Solana DeFi.

How to use funding rate indicator? ›

The funding rate indicator can be used in a variety of ways. Traders can use it to gauge the sentiment of the market. If the funding rate is consistently positive, it suggests that there is more demand for long positions than short positions, indicating that the market is bullish.

What happens when funding rate increases? ›

A high funding rate means that long positions need to pay a significant amount of funding fees to short positions. This indicates a high demand for long positions relative to short positions, which can result in the price of perpetual futures contracts being higher than the underlying asset price.

What is the funding rate for a perpetual future? ›

The funding rate represents the difference between the mark price of the perpetual futures market and the index price, which is equivalent to the spot market of the underlying asset. The funding rate ensures that the funding mechanism aligns the futures market price with the index price.

What is funding payment? ›

Funding Payment means the amount which is equal to the monetary value required by the Company to be Loaded to Payment Instruments. Sample 1. Funding Payment .

What is the difference between funding rate and predicted funding rate? ›

The realized funding rate represents the actual funding rate calculated over the previous funding interval, and is used in determining the funding payment. The predicted funding rate is the current estimate of what the funding rate will be at the end of the current funding interval.

What is the perpetual swap funding rate? ›

Funding Rate

Funding is a series of continuous payments that are exchanged between longs and the shorts. When a Perpetual Swap contract price is higher than the spot price i.e. it is trading at a premium, longs pay funding to shorts.

What is a funding fee in perpetual futures? ›

Funding fees serve to align the futures price with the spot price. When the market is in contango, long position holders pay fees to short position holders. Conversely, in backwardation, short position holders compensate those in long positions.

What is the difference between spot and perpetual? ›

For instance, if a user buys Bitcoin on the spot market, they pay and get their Bitcoin immediately at the current price. But with perpetual contracts, traders bet on the asset's price without actually exchanging the asset right away. They can keep this position as long as they have enough margin.

What is a perpetual indicator? ›

ABOUT THIS INDICATOR This is a simple indicator that can help you manage the risk when you are trading, and especially if you are leverage trading. The indicator can also be used to help visualize and to find trades within a suitable or predefined trading range.

Top Articles
Latest Posts
Article information

Author: Sen. Emmett Berge

Last Updated:

Views: 6344

Rating: 5 / 5 (60 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Sen. Emmett Berge

Birthday: 1993-06-17

Address: 787 Elvis Divide, Port Brice, OH 24507-6802

Phone: +9779049645255

Job: Senior Healthcare Specialist

Hobby: Cycling, Model building, Kitesurfing, Origami, Lapidary, Dance, Basketball

Introduction: My name is Sen. Emmett Berge, I am a funny, vast, charming, courageous, enthusiastic, jolly, famous person who loves writing and wants to share my knowledge and understanding with you.