Please note BitMEX does not support old browsers.
We recommend upgrading to the latest version of Opera, Firefox, or Chrome.

BitMEX trading is not available in your region

AllXBTUSDT28377.0+0.50%XBTUSD28385.0+0.50%XBTEUR26168.0+0.86%XBTJ2328447.0-0.19%XBTUSDTM2328613.0+0.88%XBTM2328609.0+0.59%XBTU2328801.0+1.32%XBTZ2329072.5+1.52%XBTUSDTU2328302.0-0.98%ETHUSDT1827.30+2.32%ETHUSD1828.30+2.29%ETHUSD_ETH1826.05+2.07%ETHUSDM231976.05+2.02%ETHM230.06457+4.15%ETHUSDTM231888.00+0.01%BMEXUSDT0.425-1.16%BMEXUSD0.428-0.70%ADAUSDT0.4053+8.46%ADAUSD0.4060+8.21%ADAM230.00001392+3.11%APEUSDT4.137+1.95%APTUSD11.326+3.18%APTUSDT11.386+1.30%ARBUSDT1.373+3.16%ARBUSD1.371+4.50%ARBUSDTM231.393-1.21%AVAXUSD17.629+1.23%AVAXUSDT17.639+1.20%AXSUSD8.34+2.08%BCHUSD123.95+2.10%BCHUSDT123.70+1.06%BLURUSD0.6300+26.00%BLURUSDT0.6070+19.96%BNBUSD317.16+0.37%BNBUSDT314.00+0.00%CROUSD0.06900+0.12%CROUSDT0.06900+0.00%DOGEUSDT0.07601+1.89%DOGEUSD0.07609+1.78%DOTUSDT6.374+4.85%DOTUSD6.356+4.23%EOSUSD1.1998-0.03%FLRUSD0.0352-4.86%FLRUSDT0.0367+0.00%GMTUSDT0.3886+0.96%GMTUSD0.3898+1.83%GMXUSD76.00+2.70%GMXUSDT75.30+0.00%KLAYUSDT0.22747-3.59%KLAYUSD0.22786-0.94%LINKUSD7.576+4.61%LTCUSDT89.37+0.42%LTCUSD89.35+0.30%LUNAUSDT1.2894+1.46%LUNAUSD1.2883+0.96%MATICUSDT1.1058+1.35%NEARUSD2.001+3.84%SOLUSDT20.91+2.55%SOLUSD20.97+2.84%USDTUSDC1.0000-1.04%XRPUSDT0.5335+0.04%XRPUSD0.5319-0.15%XRPM230.00001879-1.62%Funding: 02:52:42 @ 0.0100%Time: 5:07:17 PM UTC
BitMEX header logo
5
Perpetual Contracts Guide Examples

Long XBTUSD Perpetual Contract Example

The following examples do not consider Premium, which is explained above.

XBTUSD Contract Details

Contract Value = 1 USD
Margin Currency = Bitcoin or XBT
Underlying Index = XBT BitMEX Index
Interest Quote Index = USD Lending Rate in the BitMEX Index (.USDBON)
Interest Base Index = XBT Lending Rate in the BitMEX Index (.XBTBON)
Funding Timestamp = 04:00 UTC, 12:00 UTC, and 20:00 UTC

Day 1, 10:00 UTC

A trader goes long 15,000 XBTUSD contracts at a price of 750 USD.

XBT Entry Value = 15,000 Contracts * 1 USD * 1/750 = 20 XBT

Day 1, 12:00 UTC

The trader held the position over the Funding Timestamp at 12:00 UTC and exchanges the Funding Amount. The amount he pays is determined as follows:

The XBTUSD spot price is currently 750 USD.

Interest Quote Index = 1.00% per day
Interest Base Index = 0.25% per day

Funding Rate = (1.00% - 0.25%) / 3 = 0.25%

Funding Amount = Mark Value * Funding Rate = 20 XBT * 0.25% = 0.05 XBT

The Funding Amount is positive, therefore since he is long the trader pays and his counterparty who is short receives 0.05 XBT.

Day 1, 18:00 UTC

The XBTUSD contract rose in price to 800 USD. The trader closes out his position by selling 15,000 XBTUSD contracts. He does this before the next Funding Timestamp at 20:00 UTC and will not need to pay the Funding Amount at that time.

The trader made 1.25 XBT profit from the increase in the value of XBTUSD:

PNL = 15,000 * 1 USD * (1/750 - 1/800) = 1.25 XBT

The trader exchanged 0.05 XBT in funding, hence the trader’s total profit is 1.2 XBT (1.25 XBT - 0.05 XBT).

Funding Rate Examples

Recall the formulas for calculating the Funding Rate:

Interest Rate (I) = (Interest Quote Index - Interest Base Index) / Funding Interval
Premium Index (P) = (Max(0, Impact Bid Price - Mark Price) - Max(0, Mark Price - Impact Ask Price)) / Spot Price +  Fair Basis used in Mark Price
Funding Rate (F) = Premium Index (P) + clamp(Interest Rate (I) - Premium Index (P), 0.05%, -0.05%)

Below is an example of how the Funding Rate (F) varies with varying Interest Rate (I) and Premium Index § figures.

Interest Rate (I) Premium Index § Funding Rate (F)
0.03% 0.00% 0.03%
0.03% 0.06% 0.03%
0.03% 0.15% 0.10%
0.03% -0.05% 0.00%
0.03% -0.10% -0.05%
0.10% 0.06% 0.10%
0.10% 0.15% 0.10%
0.10% -0.05% 0.00%
0.10% -0.10% -0.05%
0.20% 0.10% 0.15%
0.30% 0.10% 0.15%
0.45% 0.10% 0.15%