Automated Position Hedger Protocol (APH)
Last updated
Last updated
As previously stated, FWX DDEX acts as a dealer within the decentralized derivatives platform and assumes all positions held by its users. However, in order to avoid potential losses, it is essential to implement appropriate risk management measures. Without such measures, FWX DDEX could experience significant losses if all users hold long positions and the price of the underlying asset rises. As a financial platform, FWX strives to maintain neutrality with regard to speculation.
To minimize the risk associated with futures contracts, FWX DDEX utilizes the underlying tokens held in the FWX Lending and Borrowing pools to replicate the futures' payout. For long positions, the platform uses stable tokens to hedge by exchanging them for the underlying tokens. Conversely, for short positions, FWX DDEX borrows the underlying tokens and trades them for stable tokens.
To provide an illustrative example, let us suppose that a user takes both a long and short position of 1 BNB with no leverage, assuming that the BNB price at the time of the order is 300 USDT. The user only needs to execute a few clicks on the platform and wait for any changes in the BNB price. If the BNB price moves in the same direction as the user's speculation, a profit will be earned, but if the BNB price goes against the user's view, a loss will be incurred. Prior to trading, the user is required to provide stable tokens as a margin.
Behind the scenes, the platform acts as a counterparty and utilizes the APH protocol to hedge against the risk of the user's view being correct. This means that in the event that the user experiences a loss, the platform is able to mitigate the risk. In this example, we will examine two scenarios where the BNB price increases to 350 USDT and decreases to 250 USDT.
Let's consider an example to better understand the process. Suppose a user takes a long and short position of 1 BNB with no leverage, based on the assumption that the BNB price at the time of the order is 300 USDT. To start trading, the user needs to perform a few clicks on the platform and wait for any changes in the BNB price. If the BNB price moves in the same direction as the user's speculation, a profit will be