text
stringlengths
0
1.22k
KTX Complex Orders
Note that Complex Orders are not available on BNB Chain.
Open Interest Limitations
Open interest is the total size of outstanding perpetual positions for an asset that have not been settled i.e. the total size of open trades.
Current open interest and open interest limits can be observed here: https://app.ktx.finance/trade
Given the settlement mechanism of the KLP pool, traders are free of counterparty risk (i.e. all trades are 100% covered and traders will always be paid out in the event of a windfall).
However, the maximum OI is limited by the protocol's total value locked.
Long OI is limited by the amount of assets staked within the KLP pool.
Short OI is limited by the amount of stablecoins staked within the KLP pool.
Liquidations
A liquidation process is triggered if the asset prices move adversely against the user. In this process, the liquidation contract will automatically close (liquidate) the user's position to prevent further losses.
Users pay a Liquidation Feewhen a liquidation is triggered.
A liquidation is triggered when:
PositionCollateral / PositionSize < 0.0067 OR 0.67%
PositionLeverage > 150x
PositionLeverage = PositionSize / PositionCollateral
PositionCollateral = Collateral - Losses - Borrowing Fee - Closing Position Fee
PositionSize = PositionCollateral * PositionLeverage
Liquidation Prices are calculated as such:
Longs: Liquidation Price = AvgPrice / ( 1 - 0.0067 + 1/RemainingLeverage)
Shorts: Liquidation Price = AvgPrice / ( 1 + 0.0067 - 1/RemainingLeverage)
RemainingCollateral = Collateral - Borrowing Fee - ClosingPositionFee
1/RemainingLeverage = RemainingCollateral/PositionSize
The diagrams below illustrate the detailed liquidation logic and the calculation of the liquidation price.
Borrowing fees will cause liquidation prices to change over time. Hence, it is important to monitor your liquidation price.
Spot Swaps
Apart from borrowing KLP assets for margin trading, traders can also use the liquidity to exchange one asset for another within the $KLP pool.
One distinguishing feature of KTX.Finance is the ability for traders to conduct spot swaps without experiencing slippage, setting it apart from other Automated Market Makers (AMMs).
Unlike conventional AMMs, the weightages of assets in the KLP do not influence or determine the assets' prices.
You can find out more about KLP asset pricing here
By swapping on KTX.Finance, users pay a Swap Fee (0.20% - 0.80%). The fee paid depends on how asset balances change after the swap.
For example:
KLP Asset Balance Action Effect on Asset in $KLP Pool Swap Fee
Overweight ETH
Underweight USDT
Swap USDT for ETH
ETH Balance Increases
Higher
Overweight ETH
Underweight USDT
Swap ETH for USDT
USDT Balance Increases
Lower
Protocol Fees
Margin Trading Fees | Swap Fees | KLP Minting & Burning Fees
Margin Trading Fees
A margin trade typically consists of several fees:
Position Fees (Opening / Closing)
Borrowing Fees
When a liquidation event occurs, a liquidation fee is charged.
Position Fee
Users pay a position fee when opening / closing a trade.
Position fees follow a linear function ranging between 0.02% and 0.10%. Position fees are designed to encourage traders to think of more trade ideas whenever possible.
Traders can trade assets with lower utilization for lower fees.
Traders can view Position Fees in two venues:
Bottom Right of Trade Page
Order Confirmation Panel
Position Fees
Utilization is calculated as Asset Open Interest / Asset AUM.
Borrowing Fee
The Borrowing Fee is the fee that is paid to the KLP pool at the start of every hour, over the trader’s holding period.
Hourly Borrowing Fee (%) =
(Borrowed Amount of Individual Asset / Total Amount of individual asset in KLP Pool) * 0.005%
Live Borrowing Fees can be viewed from two venues:
Bottom Right of Trade Page: https://app.ktx.finance/trade
KTX Stats Page: https://stats.ktx.finance/mantle)
KLP Borrowing Rate Annualized
KTX Trade Page Position Tab
Liquidation Fee
Liquidation Fee: 2 USDT
A liquidation process is triggered if the asset prices move adversely against the user. In this process, the liquidation contract will automatically close (liquidate) the user's position to prevent further losses.
Calculation of liquidation price is shown here.
Handling of Fees and Remaining collateral:
If the user's current collateral, minus the closing fees and liquidation fees, results in a value less than zero, the user will not be returned any collateral.
Conversely, if the user's current collateral, after deducting closing fees and liquidation fees, remains greater than zero, the user will be returned the surplus collateral.
Swap Fee
Swap fees range from 0.20% to 0.80% depending on the trade size.
The fee paid depends on how asset balances change after the swap.
KLP Asset Balance Action Effect on Asset in $KLP Pool Swap Fee
Overweight ETH
Underweight USDT
Swap USDT for ETH
ETH Balance Increases
Higher
Overweight ETH
Underweight USDT
Swap ETH for USDT
USDT Balance Increases
Lower
KLP Minting & Burning Fees
Becoming a Liquidity Provider...
Depositors pay a fee when depositing / withdrawing from the KLP pool. KLP Minting & Burning Fees range from 0.0% to 0.85%.
Depositors engaging in the minting of KLP tokens on KTX.Finance are subject to a dynamic fee structure, influenced by the supply and demand dynamics within the KLP pool.