FLEX Perpetuals
  • 🦖Welcome to Flex Perpetuals
  • 🏪Our Products
    • 📊Leveraged Trading (Cross-Margin Multi-Collateral Management)
    • 🏦Market Making (FLP Vault)
    • 🫗Revenue Share LP (stFDXLP)
  • Markets
  • 🚀Flex Perpetuals Launch Plan (BASE)
  • 📅Roadmap
  • 🤑Trade 2 Earn Points System
  • 🛡️Protocol and Safety Parameters
  • 👩‍⚖️Audits & Contracts
  • 👐Referral Program
  • 🌊Liquidation
  • 🤝Our Partners & Supporters
  • TOKENOMICS
    • 💰$FDX Token
    • 🪙Other Platform Tokens
    • 📅$esFDX Vesting Schedule
    • 🗓️Community Incentives Schedule
  • 🏆Competitions
    • Trading Competition - Launch
Powered by GitBook
On this page
  • Global Parameters
  • Min Profit Duration
  • Trade Limit
  • Trading Fees
  • Adaptive Trading Fees
  • Margin Fractions
  • FLP Parameters
  • FLP Target Weights
  • Flex Perpetuals (BASE):
  • Collateral Factor
  • Flex Perpetuals (BASE):
  • Borrowing Fees
  • Velocity-based Funding Rate
  • Protocol Fees Distribution

🛡️Protocol and Safety Parameters

In this section, we will be covering the following protocol parameters:

  • Global Parameters

  • Min Profit Duration

  • Trade Limit

  • Trading Fees

  • Adaptive Trading Fees

  • Margin Fractions

  • FLP Parameters

  • Collateral Factor

  • Borrowing Fees

  • Velocity-based Funding Rate

  • Protocol Fees Distribution

Global Parameters

Parameter
Value
Unit
Description

Funding Interval

1

Second

Funding interval to charge borrowing fee and funding fee

Max Position per Sub-account

10

Position

Max # of active positions. To have more positions, use an additional sub account. Limit is in place to efficiently manage liquidation as well as limit gas fee / tx.

PnL Collateral factor

0.8

n/a

Collateral factor given to unrealized PnL

Min Profit Duration

To protect FLP from short-term price manipulation for less liquid markets, we put in place a Minimum Profit Duration for trader. During this period, the PnL for a trade is calculated as follow:

//PnL=Min(0,ActualPnL)// PnL = Min(0, ActualPnL)//PnL=Min(0,ActualPnL)

The Min Profit Durations for each trade size are as followed:

Trade Size
Min Profit Duration (second)

0 - 100k

60

100k - 200k

300

200k

600

The Min Profit Duration for Forex and Commodity market are as followed:

Min Profit Duration (second)
Market

60

JPYUSD, XAUUSD, EURUSD, XAGUSD, AUDUSD, GBPUSD, USDCHF, USDSGD, USDCNH, USDHKD, DIX, USDSEK

Trade Limit

In order to limit the FLP exposure per trade, we implemented a limit trade size that is relative to FLP size.

Max $ / Trade: Max value of position size per trade

Max Position Size: Max value of position size per market per sub-account

You can check the Max $ / Trade and Max Position Size here.

Trading Fees

Flex Perpetuals charges Trading Fees on the traders' position size. The table below summarizes the trading fees for each asset class:

Asset Class
Trading Fees (% of Position Size)

BTC & ETH

0.02%

SOL

0.023

Other Cryptocurrency

0.05%

FX

0.01%

Commodity

0.05%

In celebration of FLEX's launch on the BASE mainnet, we're excited to announce a special discount on trading fees for BTC and ETH market to 0.02%!

Adaptive Trading Fees

FLEX charges Adaptive Trading Fees (ATF) 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. The formula and the parameters for ATF are as follow:

Parameter
Value

k1

1.25

k2

0.005

Margin Fractions

  • Initial Margin Fraction (IMF): The Initial Margin Fraction 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 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.

Asset Class
Initial Margin Fraction (IMF)
Maintenance Margin Fraction (MMF)

Cryptocurrency

2.0% to 4.0%

1.0%

FX

0.1%

0.05%

Commodity

2.0%

1.0%

FLP Parameters

Parameters
Value
Description

FLP Base Deposit Fee %

0.00%

Not Applicable

FLP Base Withdrawal Fee %

0.30%

Base Fee for withdrawing from FLP (see calculation below.)

FLP Dynamic Fee %

0.50%

The dynamic fee can be + / - and will be charged or discounted in addition to deposit/withdrawal fee depending if the transaction moves the pool's weight further away from / closer to the target weight.

Max Utilization %

80%

Max utilization for FLP, beyond which new positions are not allowed to be opened (traders are still allowed to reduce their OIs.) This parameter is in place to ensure some liquidity is always available for LPs to withdraw.

FLP Profit Reserve Buffer %

20%

Flex Perpetuals keeps track of the net global PnL of all traders against the FLP pool. Once the net global PnL hits a percentage threshold relative to the FLP's TVL, the protocol will start auto deleveraging open positions, starting from the most in-profit positions

ProfitReserveBuffer=1+NetGlobalPnL/(FLP′sTVL)ProfitReserveBuffer = 1 + NetGlobalPnL / (FLP's TVL)ProfitReserveBuffer=1+NetGlobalPnL/(FLP′sTVL)

Note: the FLP total deposit / withdrawal fees is the sum of base fee % and tax rate %

and can range from 0.0% -> 0.8%

FLP Target Weights

Flex Perpetuals (BASE):

Asset
Target Weight

WETH

20%

cbBTC

40%

USDC

40%

FLP might also contain other assets as they are collected from collateral of losing trades. These assets will be swapped into USDC, WETH, or cbBTC periodically to maintain the desired target weight.

Collateral Factor

A discount factor applied to the deposited collateral based on the risk of the asset.

Flex Perpetuals (BASE):

Asset
Type
LTV

BTC

Volatile Asset

0.90

ETH

Volatile Asset

0.90

USDbC

Stable Asset

1.00

USDC

Stable Asset

1.00

Borrowing Fees

Flex Perpetuals currently uses a single-slope, utilization-based Borrowing Rate model, with a Base Borrowing Rate of 0.005% per hour is charged.

BorrowingInterestRatePerHour=0.005∗UtilizationBorrowingInterestRatePerHour = 0.005 * UtilizationBorrowingInterestRatePerHour=0.005∗Utilization

The borrowing interest is assessed on the Reserved Profit Amount and NOT the Position Size. The profit reserve refers to the earmarked amount from the FLP pool to pay out the profitable trading position.

The reserve amount is a function of the % of initial margin fraction and is based on the asset class.

Asset Class
Profit Reserve %

BTC & ETH

2,500%

Other Cryptocurrency

4,000%

FX

5,000%

Commodity

750%

Example:

Alice opens a BTC long position with the size of $100,000 USD

  • BTC initial margin fraction: 1%

  • Crypto Profit Reserve factor: 2,500%

Profit Reserve = 1% * 2,500% * $100,000 = $25,000

Thus, Alice is paying the borrowing interest on $25,000 and NOT $100,000

Velocity-based Funding Rate

Flex Perpetuals utilizes a velocity-based funding rate model. Instead of the typical model where the long-short skew determines the funding rate, our model have the skew determine the velocity of the funding rate.

This slight adjustment in the formula has a large implication. With the traditional model, there is no incentive to completely eliminate the skew as funding would immediately go to zero, and some arbitrage strategies -e.g., carry trade, would no longer be viable. However, with the velocity-based model, the rate will only gradually increase or decrease overtime. So even after the skew is offset, the funding rate will persist overtime until the market has shifted to the other side, creating a better incentive model to maintain the neutrality for the market.

The following is the equation for Funding Rate & Funding Fee calculation:

Note that the Funding Rate accrues over time and get settled every time a position is modified, opened, or closed.

Protocol Fees Distribution

Below we share the sources of revenue for Flex Perpetuals and how they will be distributed to the different stakeholders.

Source
FLP Stakers
stFDXLP Stakers
DevFund*
POL**

Trading Fee

45%

30%

10%

15%

Borrowing Fee

45%

30%

10%

15%

Liquidation Fee*

50%

50%

0%

0%

FLP Deposit / Withdrawal

45%

30%

10%

15%

*Development Fund **Protocol Owned Liquidity

*Liquidation is a flat $5 fee to cover operating cost

PreviousTrade 2 Earn Points SystemNextAudits & Contracts

Last updated 16 days ago

Page cover image