πŸ“ŠLeveraged Trading (Cross-Margin Multi-Collateral Management)

Below are the topics that we will be covering in this section:

Flex Perpetual's Collateral Management Model

Collateral management is one of the key differentiating features of Flex Perpetuals. Specifically, Flex Perpetuals is the only pool-based decentralized perpetual protocol that offers cross-margin collateral management while also allowing users to use multiple types of assets as collateral:

Cross-margin Collateral

Flex Perpetuals offers cross-margin collateral management, which allows for the sharing of margin balances across multiple positions. With this feature, traders will be able to manage their portfolio holistically in a much more efficient and convenient manner. Capital efficiency will be enhanced, improving the flexibility through the reduction of margin requirements.

The cross-margin collateral support allows Flex Perpetuals to offer the experience of using a centralized protocol without sacrificing on the security benefits of decentralization.

If users still wish to use an isolated margin (e.g., for risk management), they can still do so by utilizing the sub-account feature.

Multi-asset Collateral Support

Flex Perpetuals accepts multiple assets as traders’ collateral. Allowing users to utilize multiple assets as collateral provides two key benefits to the users:

  1. Users do not have to convert their holdings into specific assets to start trading

  2. Users can effectively execute many strategies such as carry trade strategy or max long strategy (e.g., use ETH as collateral to long ETH)

As part of the risk management procedure, Flex Perpetuals will assign the LTV (loan-to-value) to each collateral asset, which will determine the borrowing power. The borrowing power will then function as the variable that determines the liquidation threshold and the health of the account against all open positions under that account.

Below is table summarizing the current supported collateral assets

Asset

Type

USDC

Stable Asset

USDbC

Stable Asset

WETH

Volatile

WBTC

Volatile

Asset Classes Listing

Flex Perpetuals currently offers the trading of three asset classes, including cryptocurrencies, FX, and commodities. Below is the list of assets supported by Flex Perpetuals and their maximum leverage.

Asset ClassMaximum Leverage

Cryptocurrency

50x

Forex

500x

Commodity

25x

We will review the leverage available as the platform matures

Full list of available assets coming soon.

Fees

Flex Perpetuals offers one of the lowest trading fees among the pool-based decentralized perp protocols. For example, our FX's trading fee is only 0.01% and the BTC and ETH trading fee is only 0.02%. This feat is possible because of our unique economic structure and additional protocol revenue earned through our use of Aerodrome.Finance.

Trading Fee (Position Opening & Closing):

The trading fee is charged as a percentage of the trader’s position size when a trader opens & closes their leveraged positions. The trading fees charged at Flex Perpetuals will vary based on different asset classes. A full list of assets and associated fees can be found here.

Adaptive Trading Fee:

The adaptive trading fee (ATF) will take our security to the next level and improve user experience at the same time as it enables us to:

  • List more crypto markets including ones with lower market cap

  • Increase Max. Trade Size

We will implement the adaptive trading fees on ALL crypto markets except BTC and ETH, where users can still enjoy the same flat low 0.02% trading fees. ATF is calculated based on various variables including asset’s volatility and trading size relative to asset’s liquidity depth on CEX. For the formula and the example calculation of the Adaptive Trading Fee, please visit here.

It is important to note that the objective for ATF is to simulate the effect of price impact when executing a large order, in order to prevent potential bad actors from profiting through price manipulation.

The example below compares the total fee when trading on Flex Perpetuals vs. the fee + price impact that would happen on the same trade on CEX (i.e., Binance) when opening a MEMEUSD long position with a size of 100,000 USD.

Given:

  • 1% Ask order book depth = 267,000 USD (i.e., market buy 267k USD would move the price up 1% on Binance)

  • epochDelta = 0; (only trade in the 5-min window on this asset on Flex Perpetuals)

  • Volatility of MEME is 0.003

  • k1 = 1.25, k2 = 0.005

  • MEME’s fixed trading fee = 0.05%

Plugging all the values into the formula, we see that the adaptive fee for Bob is 0.05% + 0.04% = 0.09%

On the other hand, if Bob were to open MEMEUSDT long position with the same size on Binance. Bob would have to pay the maker fee of 0.05% and the price impact of 0.225% to fill the whole order. Thus, Bob will have to pay a total of 0.05% + 0.225% = 0.275%.

For the sample data and the example calculation, please visit here.

Borrowing Fee:

The Borrowing Fee is charged on the size of the position of the trader and functions as a way for Flex Perpetuals to compensate the market makers (FLP depositors) for their cost of liquidity. The borrowing rate is determined by the asset utilization rate of the FLP vault.

Velocity-based Funding Fee:

The Funding Fee is charged on the traders’ position, similar to the borrowing rate. The Funding Fee helps bring a balance between long and short OI on Flex Perpetuals, thus ensuring our LPs are not too exposed to one side of the market. Flex Perpetualshas a velocity-based funding rate model, where the funding rate will gradually increase or decrease based on the market skew. Heavily skewed market will see one side of traders gradually paying more funding fee to the other side. For more information on the Funding Rate model, please visit here.

Note that the Funding Fee accrues over time and get settled every time a position is modified, opened, or closed. Specific parameters for the Funding Fee for each asset coming soon.

Liquidation Fee:

The liquidation fee is incurred when the trader’s position is liquidated by the platform. It is charged at a flat rate of $5.0 and is used to cover the gas and operation costs when liquidating high-risk positions.

For more details on the liquidation process, please visit this link.

Margin Fractions (IMF & MMF)

There are two margin fractions, which determine the traders' margin requirements, at Flex Perpetuals:

  • Initial Margin Fraction (IMF): The Initial Margin Fraction is a parameter set by Flex Perpetuals, and is used to determine the initial margin requirement. It is displayed as a percentage & different asset classes will have different IMF.

  • Maintenance Margin Fraction (MMF): The Maintenance Margin Fraction is a parameter set by FLEX, and is used to determine the Maintenance Margin Requirement. It is displayed as a percentage & similar to IMF, the MMF will be different for different asset classes.

Below is the table representing Initial Margin Fraction (IMF) & Maintenance Margin Fraction (MMF) for each asset class.

Asset ClassInitial Margin Fraction (IMF)Maintenance Margin Requirement (MMR)

Cryptocurrency

1.0%

0.5%

Forex

0.1%

0.05%

Commodity

2.0%

1.0%

Adaptive Pricing Mechanism

Flex Perpetuals employs a mechanism called "Adaptive Pricing" to help bring balance between the long and short open interest of each trading asset. When a user opens or closes a trading position, the Adaptive Pricing mechanism applies a premium or a discount on top of the oracle price based on the resulting skew after the transaction is executed between the long and short open interest of the asset.

If the long open interest is larger than the short open interest, a premium will be applied to the price of the asset. On the other hand, if the short open interest is larger than the long open interest, a discount will be applied to the oracle asset price. The premium/discount from the Adaptive Pricing mechanism will encourage or discourage traders to open long or short positions on the asset accordingly.

Below is a table summarizing the premium and discount applied to the price in different scenarios.

Open Interest SkewAdaptive Pricing Applied on Entry / Close Price

Long > Short

Premium

Short > Long

Discount

For the formula and the example calculation of the Adaptive Pricing Mechanism, please visit here.

Last updated