fx Docs
  • f(x) Protocol Documentation
  • OVERVIEW
    • 📖Abstract
    • ⭐Core Products of f(x) Protocol 2.0
  • f(x) Protocol Mechanisms
    • ⚖️The f(x) Invariant
    • ⚙️Key Functions of f(x) 2.0
    • 🚀Creating a Leveraged Position (xPOSITION)
    • 🪂Rebalancing the Position (Liquidation Brake)
      • Understanding the band system
      • Liquidation process
      • Developers
    • 💰Stability Pool
    • 💵Fees
  • RISK MANAGEMENT
    • 🧘‍♂️Risk framework
    • ✅Advanced Peg Protection Mechanisms
      • Understanding the redemption mechanism
    • 🚨Risk parameters
    • 🧭Oracle
      • stETH
      • WBTC
    • 🛡️Audit Reports
  • Earn with f(x)
    • 💲USD high & sustainable yield
    • 🪙$FXN Tokenomics
      • veFXN
      • FXN Farming and veFXN Boost
    • 🔥Protocol Revenue & Distribution
  • POWER TO THE PEOPLE
    • 🤝Get involved - Community Booster Program
    • 🫂Referral Program
  • FAQ
    • 🟦Is fxUSD an algorithmic stablecoin?
    • 🟦Where does the yield come from?
    • 🟦How do f(x) Protocol stablecoins maintain stability?
    • 🟦Is there any LUNA-like risk?
    • 🟦How does f(x) Protocol minimize liquidations?
    • 🟦How does f(x) Protocol minimize funding costs?
    • 🟦What could go wrong?
    • 🟦Why are there different stablecoins?
    • 🟦What is the difference between f(x) Protocol V1 and V2?
    • 🟦What price drop would it require for my xPOSITION to be rebalanced/liquidated?
  • GUIDES
    • 📈How to open a leverage position (xPOSITION)
    • 📉How to close a leverage position (xPOSITION)
    • 📐How to adjust your leverage / how to reduce your Liquidation Brake
    • ➕How to add/reduce a leverage position?
    • 💰How to stake into the stability pool?
    • 🚶‍♂️How to unstake from the stability pool?
  • MORE
    • 🔡Token Breakdown
    • 1️⃣f(x) Protocol 1.0
      • Leverage
      • Earn
      • Stability Mechanism
      • FX Auto-Compound
      • Oracle
    • 🖥️Resources
      • Contracts
      • Useful links
    • 🪔Aladdin DAO
    • 😎 Brand Assets
Powered by GitBook
On this page
  • How to add to a leverage position
  • How to reduce a leverage position
Export as PDF
  1. GUIDES

How to add/reduce a leverage position?

PreviousHow to adjust your leverage / how to reduce your Liquidation BrakeNextHow to stake into the stability pool?

Last updated 4 months ago

Adding up or reducing an xPOSITION is as easy as creating or closing one.

You can create as many xPOSITION as you want; they will all be aggregated into a single global one.

For example, suppose you create a first xPOSITION with a 2x leverage worth $10,000 and a second xPOSITION with a 4x leverage worth $10,000. In that case, you will end up with a $20,000 xPOSITION with a 3x leverage (assuming you opened them simultaneously with the same execution price). Now, let’s see how to do that practically.

How to add to a leverage position

  • If not already, hit the “Buy / Open” tab.

  • Connect your wallet using the upper right “Connect Wallet” button.

  • Set the requested leverage using the slider bar and wait for the preview to load.

  • Hit the Preview button to review your trade.

  • Review your trade and the evolution of your xPOSITION, then click the “Submit Transaction” button when ready.

  • Confirm the transaction using your wallet.

How to reduce a leverage position

  • Connect your wallet using the upper right “Connect Wallet” button.

  • Click on the “Sell / Close” tab of the order box.

  • Slide the bar to the desired amount / Type the amount or the percentage in the text box you would like to close.

  • Hit the Preview button to review your trade.

  • Review your trade and the evolution of your xPOSITION, then click the “Submit Transaction” button when ready.

  • Confirm the transaction using your wallet.

Head over to the page.

Input the amount you would like to leverage. The default asset is USDC; you can pledge other assets by clicking the down arrow.

Head over to the page.

➕
Trade
Trade