The Technical Paper is authored by Busra Temocin, Vitaly Yakovlev, Eduard Jubany Tur, and Naman Sehgal.
It covers the following aspects:
Perpetuals, or perps, are financial instruments available on exchanges that differ in implementation. They function like spot trading instruments but are synthetic and allow for leverage. The term perpetual is significant because there is no expiration or settlement date.
Since perps have no expiration date, a funding rate is introduced to tie the price of the perp close to the price of the underlying asset.
Perp price > Index Price = > Funding rate positive - Long pays short
Perp price < Index Price = > Funding rate negative - Short pays long
If the majority of traders go short, the orderbook is unbalanced, and an incentive is required to restore balance in the orderbook on both sides. The trader's direction causes an imbalance in the depth of the market of the orderbook, and that's why incentives work to bring the perp price back in line with the spot price.
The ABR is calculated using Bollinger Bands, which are price envelopes drawn above and below the simple moving average of the price at a standard deviation level.
What is the role of the premium?
The ABR premium is a proxy of volatility of the underlying asset, measured through the Bollinger Band. When volatility rises, traders take more bets or leave the orderbook, creating additional risk. So, a premium is added to balance the risk, but it's removed when volatility decreases and traders go in either direction of the book.
We integrate the difference between Bollinger Band Price and Mark price. This difference is then added to the funding premium through logarithmic function.
The Price Differences are denoted by -
Du = Mark Price − Upper Band Value
Dd = Lower Band Value − Mark Price
At the end of every hour, we calculate the 1- hour premium using the time-weighted average price (TWAP). We look at the premiums from the past hour and come up with an average. A fixed interest rate is also added to account for the difference in interest rates between the base and quote currencies. This combined is known as the Funding rate.
The rate is charged/ paid to ZKX traders every 8 hours, in the initial implementation of the model. The rate will be adjustable in the long run.
In this section, we have analyzed which exchange’s funding rate correlates most with the underlying asset. We have taken random sample data from dYdX, Deribit, and Binance between 05.11.22 and 03.01.23.
We have analyzed the data across three statistics: Mean, Standard Deviation and Correlation of the funding rate of the three exchanges
1. Descriptive statistics of different funding rate
The data indicate that the mean of ABR is second to largest and negative with a standard deviation that is rather small despite the jump dynamics.
Moreover, ABR has the highest correlation to BTC, indicating successful adherence to market behavior.
2. Comparison of funding rates (ZKX, dYdX, and Binance)
Here, the ABR is in line with the other counterparties and is evolving with a premium at times due to the loaded jump factors.
3. Comparison of 8 hourly funding rate averages across exchanges
Here the funding rate of the exchanges is shown every 8 hours. While there was a downward spike for all exchanges, ABR remained higher than others later on because of the jumps in the mark price and funding rate.
Trading Spikes examines the funding window of the most profitable exchanges, providing valuable insights for investors to gauge expected trading activity. Our analysis focuses on data samples from dYdX, Deribit, and Binance.
Figures 4, 5, and 6 depict various exchanges' trading frequency and magnitude, with spikes indicating the highest trading activity levels. As ZKX is yet to launch, we used a classification tree method to predict its trading frequency and magnitude, shown in Figure 7.
It has a wider window and higher frequency and magnitude than other exchanges, promising consistent trading opportunities.
To increase trading activity, exchanges should keep their funding rate within the range where the graphs show the maximum trading activity.
In this section, we are examining what happens during a black swan event, characterized by significant jumps in mark price and funding rate.
The next section delves into this phenomenon.
The current section compares ABR's methodology to existing generic funding rate formulas available in the market.
Click here to read the Technical Paper.
About ZKX
ZKX is the first perpetual futures exchange on StarkNet with self custody and true community governance. The protocol is designed to provide further scalability with a decentralized node network, an elevated trading experience and offer perpetual swaps and derivatives to any user on Starknet and Ethereum. ZKX’s mission is to democratize access to global yields through its offerings to anyone, anywhere.
In July, ZKX raised $4.5m in seed funding from backers including StarkWare, Amber Group, Huobi, Crypto.com and others.