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 be the total time interval in hours until which the position was opened for, then borrowing fees of the position, at any time can be defined as
and we can define as
where is the reserve amount in USD for all opened positions at time , is the total reserve amount in USD for the market, is the maximum allowed borrowing fees for the market defined and is the position size.
Since ,, are constant throughout the position time, so
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 , then
where is the sum of open interest on Long side, be the sum of open interest on short side and be the sum of total open interest in USD.
If represents pool's maximum reserve amount available for an asset, then
Then the funding fee of a position can be defined as
where is the asset's funding constant and is the asset's funding power constant.
Direction of Funding Fees
The possible output of the function is which means long will pay short and means shorts will pay long.
Last updated
Was this helpful?