Market Data
Relevant data for pro-traders and arbitrageurs.
Convergence volume formula
Here you are the Convergence Volume formula which may be useful for those who are willing to perform Convergence trading on EMDX. You can also access it through our API SET (which includes this one and many other relevant functions) here.
The formula is equal to:
In practice, Qy is called Base Asset Reserve, and Qx, Quote Asset Reserve.
Numerical Example Consider a pool with 40,000 units of USDC (X asset) and 1,000 units of AVAX (Y asset), meaning k = 40,000,000 and the mark price is equal to USDC per unit of AVAX. On the other hand, the index price is USDC per unit of AVAX. So, we want to calculate the volume (quantity of USDC) that has to be deposited into the pool for the mark price to reach the index price. Following the Convergence Volume formula, we arrive at the following solution:
This means a trader (or multiple traders) has to open a position with a notional of $496.9134USDC (this means leverage * margin has to be equal to 496.9134) for the mark price to converge to the index price. We can easily corroborate that this quantity is correct.
Annualized and Historical Funding Rates.
Annualized Funding Rates
Consider the funding rate (denoted as ) which is calculated as the relative difference between the time-weighted average (TWAP) index price and the TWAP mark price of a given pair of cryptocurrencies . Mathematically, we have:
where is the funding rate for the pair .
Average Funding Rate.
We define the average funding rate as
where is the funding rate for pair at time . For example is the funding rate for the pair on the 1st January 2022 at 00hs. Remember that funding rate is calculated every hour.
Markets Data Dashboard.
The page https://app.emdx.io/markets-data displays several metrics in regard to the funding rates of all pairs traded in EMDX. Figure 1 shows a caption of the historical funding rates annualized for each pair.
As one can observe, the table displays 5 different funding rates: Predicted, 24hs, 3d, 7d, and 30d. Each one corresponds to an average funding rate in a given time-frame. The 24hs rate is the average funding rate for the last 24 hours, the 3d rate is the average funding rate for the last 3 days, and so on. Mathematically, we can express these rates in the following way:
24hs rate : ,
3d rate : ,
7d rate : ,
30d rate : ,
where represents the date and time of the last funding rate calculated. On the other hand, the Predicted funding rate is calculated as the funding rate at the current time annualized.
Predicted:
For example, consider the current TWAP index price for the BTC/USDC pair is 100 USDC per unit of BTC, and the TWAP mark price is 101 USDC per unit of BTC, then the current funding rate is equal to:
So, the predicted funding rate will be equal to:
Historical Funding Rates
In addition to the average annualized funding rates, EMDX will be soon displaying the historical funding rates, which are calculated as the aggregate of rates in a given period.
Mathematically, we define the historical funding rate as
For example, the historical funding rate of the last 30 days for the BTC/USDC pair is calculated as:
Last updated