Funding Tools

  • Updated

There are four ways to track funding payments for your positions on Perpetual Protocol:

  1. Within the Perp UI using the funding rate chart,
  2. The R72.FI website offered by the community,
  3. Through The Graph,
  4. The Perpetual Protocol v2 trader dashboard on Dune Analytics, created by Perpvangelist Shogun.

Let's take a look at each in turn. 

Perp UI

The funding chart is shown within the UI, next to 'Price' on the trading chart. Click on 'Funding Rate' to show the time series chart of the funding rate.

Screenshot_2022-05-11_at_17.05.51.png

 

Several options are available for displaying the funding rate: the 1 hour funding rate, 8-hour funding rate and annualized. You can also specify a custom date range and download the data as a CSV file. 

1ad8be647d8cedc6b691ca2ca94f9948.gif

 

R72.FI

Go to https://www.r72.fi/derivative/perpetual_protocol to see the historical funding rates for the markets on Perp v2. 

Screenshot_2022-05-11_at_16.14.36.png

 

Click on a particular trading pair (e.g., ETH:USD) to see a time series chart of the funding rate. You can change the time period using the dropdown menu on the top right-hand side:

Screenshot_2022-05-11_at_16.40.31.png

The Graph

The Graph provides data via GraphQL that can be used for further processing locally. 

Link to subgraph Funding example: https://thegraph.com/hosted-service/subgraph/perpetual-protocol/perpetual-v2-optimism?query=List%20FundingUpdateds

d566be0e72096c666466dc3aff7ed9d1.gif

Click on the play button to retrieve the daily funding rate across all markets on Perp.

The 24-hour funding rate shown here based on a 15-minute time-weighted average price that is updated with each Ethereum L1 block. 

The fundingRatePerBlock can be calculated as:

latest dailyFundingRate * blockPeriod / 86400

where latest dailyFundingRate can be fetched from The Graph (as shown above) and the block period = (current block timestamp - previous block timestamp). 

Perpetual Protocol v2 Trader Dashboard

Navigate to the Dune dashboard, enter your address in the wallet address field, select a time period and then click on the "Apply all parameters"

Screenshot_2022-05-11_at_15.41.43.png

 

Then scroll down to the bottom of the dashboard to see your past funding payments (using the Perp v2 funding payments trader chart) and pending funding payments (under the pending funding chart):

Screenshot_2022-05-11_at_16.11.41.png