Fees

Fee structure for sustainable yield and trades

Futures Market Fees

The Futures Market has following fees to incentivise LPs and traders:

  • Opening and Closing Fees

  • Borrowing Fees

  • Skew-based Funding Fees

Fixed Opening and Closing Fees

When traders open a trade on the protocol, an opening fee is deducted from the collateral to facilitate execution of the trade. Similarly, a closing fee is deducted from the collateral when the traders close their positions.

The opening and closing fees are fixed and depend on the market creator. Hence, each market may have different fees.

Dynamic Borrowing Fees

The market pool acts as a counterparty in an event of market skew. Hence, all positions pay a borrowing fee on hourly basis for sustainable operation of the protocol in event of skew. In case, there is no skew and very low Open Interest, borrowing fees tend to be 0.

Let nn be the total time interval in hours until which the position was opened for, then borrowing fees of the position, fbf_{b} at any time tt can be defined as

fb=0nf(t)where0<tnf_{b} = \int_{0}^{n} f(t) \quad where\quad0<t\leq n

and we can define f(t)f(t) as

f(t)=rOI(t)RT  ×Fmax  ×Sf(t) = \frac{r_{OI}(t)}{R_{T}} \; \times F_{max} \;\times S

where ROI(t)R_{OI} (t) is the reserve amount in USD for all opened positions at time tt, RTR_{T} is the total reserve amount in USD for the market, FmaxF_{max} is the maximum allowed borrowing fees for the market defined and SS is the position size.

Since FmaxF_{max},RTR_{T}, SS are constant throughout the position time, so

f(t)=κ  rOI(t)f(t) = \kappa \;* r_{OI}(t)
κ=FmaxSRT \kappa = \frac{F_{max}S}{R_{T}}
fbrOIf_{b} \propto r_{OI}

hence, we can say as the open interest of the market increase the borrowing fees increase and vice versa.

Skew-based Funding Fees

Let the Active Open Interest Skew be θ\theta , then

θ=LSO\theta = \frac{|L - S|}{O}

where LL is the sum of open interest on Long side, SS be the sum of open interest on short side and OO be the sum of total open interest in USD.

If RusdR_{usd} represents pool's maximum reserve amount available for an asset, then

ϑ=LSRusd\vartheta = \frac{|L - S|}{R_{usd}}

Then the funding fee of a position can be defined as

F=ΛθλOF = \frac{ \Lambda * \theta^{\lambda}}{O}

where Λ\Lambda is the asset's funding constant and λ\lambda is the asset's funding power constant.

Direction of Funding Fees

Direction=LSLSDirection = \frac{L-S}{|L-S|}

The possible output of the function is 11 which means long will pay short and 1-1 means shorts will pay long.

Last updated

Was this helpful?