Factor Docs
  • 🏭Introduction to Factor
  • Getting Started
    • đŸ•šī¸Quickstart
    • 🔗Supported Protocols
    • 🔐Strategy Cheatsheet
      • Swaps Cheatsheet
        • Conditional Market Order
        • Automated Market Order
        • Multi Swap
        • Automated Swap & Earn
        • Automated Scale Order
        • Scale Order Partial Fill Yield
        • Interest On Pending Trades
        • Leverage Trade
        • Leverage DCA
      • Lending Cheatsheet
        • Lending Pool Zap
        • Multi Lend
        • Market Making To Lending Switch
        • Earn Negative Interest
        • Carry Trade
        • Leveraged Staking Yields
        • Leveraged Fixed Yields
      • Borrowing Cheatsheet
        • Collateralized Borrow
        • Collateralized Borrow Zap
        • Multi Borrow
        • Debt Switching
        • Automated Debt Readjustments
        • Debt Refinancing
        • Asset Switching
      • Liquidity Provision Cheatsheet
        • Liquidity Pool Zap
        • Yield Farm Zap
        • Automated LP Adjustments
        • Yield Farm Adjustments
      • Flash Loan Cheatsheet
    • 🧠Strategy Explainers
      • Leverage
        • Leverage Performance Modelling
        • Leverage Long Simulation
        • Leverage Short Simulation
      • Yield
        • Yield Performance Modelling
      • PT Strategies
        • Leverage Long PT Simulation
      • Delta Neutral Yields
        • Levered USD & ETH Carry
    • 📖Glossary
  • Factor Discover
    • 🔍Factor Discover
      • Public Strategies User Guides
        • Deposit Into User Created Strategies
        • Withdraw From User Created Strategies
      • Leverage User Guides
        • Create A Leveraged Position
        • Adjust Position Leverage
        • Add Collateral To Position
        • Withdraw Collateral From Position
        • Repay Position Debt
      • Yield User Guides
        • Auto-compound Your Yields
      • PT User Guides
        • Redeem Your PT
      • APY Calculations
    • âš™ī¸Factor Operated Strategies
      • Yield Type Strategies
        • Additional rETH Yields On USDC Lend
        • Amplified rETH Yields On USDC Lend
        • Additional Liquid Staked ETH Yields On USDC Lend
        • Additional Liquid Restaked ETH Yields On USDC Lend
      • Trading Type Strategies
        • WBTC Base Switch On rETH For ETH & USDC Yields
      • Delta Neutral Type Strategies
        • Delta Neutral ETH With rETH & USDC Yields
  • Factor Studio
    • 🎨Factor Studio
      • Automated Strategies
      • Conditional Strategies
    • 🏠Private Strategies
      • User Guide
        • Private Strategy Creation
    • đŸ‘ĨPublic Strategies
      • User Guide
        • Public Strategy Creation
        • Create An Exit Strategy
        • Making Your Strategy Public
        • Strategy Execution
      • Security
      • Exit Strategy
    • đŸ—ī¸Strategy Builder
      • Building Blocks User Guide
        • Lend
        • Borrow
        • Swap
        • Flash Loan
    • 📜Studio Contracts
      • Leverage
        • FactorLeverageDescriptor.sol
        • FactorLeverageVault.sol
        • WrapperFactorLeverageVault.sol
      • LP Management
        • FactorLPVault.sol
        • FactorLPDescriptor.sol
  • Factor SDK
    • đŸ“ĻFactor SDK
    • â†”ī¸REST APIs
      • Utility APIs
        • Pricing
        • Stats
  • Factor Building Blocks
    • 🧱Factor Building Blocks
    • âžĄī¸Lend
    • âŦ…ī¸Borrow
    • 🔄Leverage
      • Concepts
        • Collateralized Lending & Borrowing
        • Looping
      • Leverage Dev Guides
        • Create Leveraged Position
        • Add Leverage To Position
      • Strategy Contracts
        • AAVEV3LeverageStrategy.sol
        • CompoundLeverageStrategy.sol
        • LodeStarLeverageStrategy.sol
        • RadiantLeverageStrategy.sol
        • SiloLeverageStrategy.sol
        • SiloYieldTokenStrategy.sol
        • TenderLeverageStrategy.sol
      • FAQ - Leverage Building Block
    • 💰Yield
      • Concepts
        • Yield Farming
        • Yield Aggregators
      • ⚡Zap
    • 🌊LP Management
      • Concepts
        • Automated Market Maker
        • Concentrated Liquidity
    • đŸĨŠStake
    • 🔀Swap
      • Concepts
        • Market Orders
        • DEX Aggregators
    • đŸĒ„Flash Loan
      • Concepts
        • Uncollateralized Lending & Borrowing
        • Flash Loan
  • Factor Adapters
    • 🔌Factor Adapters
    • 📜Adapter Contracts
      • Leverage
      • Yield
      • Swap
      • Flash Loan
  • Governance
    • đŸ›ī¸FactorDAO
      • Factor Flywheel
      • Factor Participants
      • Governance Incentive Calculations
        • FactorDAO Incentives Model (LTIPP)
      • User Guides
        • Stake FCTR
        • Governance Migration
      • Contracts
        • FactorDAO Contract Addresses
      • FactorDAO Multisig Addresses
      • Platform Fees
    • đŸĒ™FCTR Token
      • Staking and Governance
      • Tokenomics
      • Contract Addresses
      • FAQ - Tokenomics
    • âš–ī¸Factor Scale
      • Arbitrum Foundation LTIPP
      • Emission Multiplier Calculations
        • Emissions Multiplier Model
      • User Guides
        • Stake FCTR
        • Vote On Emissions Distribution
      • Contracts
        • Factor Scale Contract Addresses
      • ❔FAQ - Factor Scale
    • 🚀Factor Boost
      • Contracts
        • Factor Boost Contract Addresses
    • đŸ’ŧFactor Bribes
      • Contracts
        • Factor Bribes Contracts
  • Security
    • đŸ›Ąī¸Security
    • 📋Audits
      • PeckShield
        • Leverage Vault Wrapper
        • Silo Yield
        • Silo Leverage
        • Penpie
        • Factor Boost
      • SourceHat
        • FactorDAO Vaults
        • FCTR & Voting Escrow
  • Reference
    • Discover Pro dApp
    • Studio dApp
    • Discover dApp
    • Official Website
    • Press Kit
    • Partnership Form
    • Media Kit
    • Geo Restrictions
  • Community
    • Factor Contributors
    • X
    • Discord
    • Telegram
    • Medium
    • Email Enquiries
Powered by GitBook
On this page
  • Overview
  • What This Means
  • Leverage Multiplier
  • Examples

Was this helpful?

  1. Getting Started
  2. Strategy Explainers

Leverage

PreviousStrategy ExplainersNextLeverage Performance Modelling

Last updated 3 months ago

Was this helpful?

Overview

The Factor leverage strategy enables users to benefit from the differences between the cost of borrowing and the expected profit generated from the borrowed liquidity. Put simply, one-click on the Factor dApp enables you to access multiple times your initial capital value (the maximum leverage is determined by the underlying lending pool). Leveraged positions opens a borrow position against your collateralized assets to enable access to further liquidity.

combines multiple DeFi primitives into a single leverage transaction to enable the creation of leverage on DeFi positions:

  1. Supply initial asset token to lending protocol (i.e. Silo, Aave, etc.)

  2. Flash loan debt token from Balancer

  3. Swap flash loaned debt token for asset token on OpenOcean

  4. Add swapped asset token to lending protocol

  5. Borrow debt token from lending protocol to repay flash loan from Balancer

  6. Repay Balancer flash loan using borrowed debt token

Note that the flash loaned value is added to the position's collateral as asset token while the position incurs interest payments on the debt token equalling the flash loaned value.

Liquidation Thresholds

Lending protocols each define their own that dictates the maximum value of debt tokens that can be borrowed relative to the value of the collateralized asset tokens.

While this ensures the solvency of the protocol, this means that leveraged positions are liable to being liquidated once it becomes undercollateralized. The Factor dApp enables you to track key liquidation threshold metrics such as the position's as well as the projected .

As crypto markets can be volatile, please pay particular attention to the liquidation thresholds and provide additional buffers to keep your funds safe.

Related Concepts
  • -> Borrowing debt token from lending protocols by collateralizing asset token.

  • -> Uncollateralized lending that enables the creation of leverage.

  • -> Instant swaps of tokens on Decentralized Exchanges.

Strategy Performance & Simulations

The interactive sheets below are meant help you gain an intuition of the potential strategy returns. Choose your tokens, add your strategy parameters, and see how Factor leverage strategies simplifies your DeFi journey.

What This Means

By depositing into Factor leverage vaults, you can amplify your potential returns by taking either a:

Get Started With Leverage Strategies!

Leverage Multiplier

To calculate the effective amount of leverage for the position, you can input the position's loan-to-value (LTV) ratio into the following formula:

Each lending market specifies a max LTV which caps the maximum leverage that can be acquired via repeated loops:

Examples

Strategy Parameters

  • Asset token: WETH

  • Debt token: USDC

  • Price ratio: 1WETH:3,000USDC

  • Leverage vault: WETH/USDC

Position Parameters

  • Leverage multiplier: 4

Deposit Parameters

  • Initial capital: 1WETH

Strategy Execution

Strategy Results

Profit Condition

If WETH price increases 1% to 1WETH:3,030USDC, the position's collateral of 4WETH is now worth 12,120USDC. By choosing to close the position and repay the loans (i.e. 9,000USDC), the depositor is left with the initial capital of 1WETH and a profit of 120USDC. This equates to a 4x profit based on the depositor's initial outlay (i.e. every 1% gain in WETH is multiplied by the leverage multiplier).

Leverage Risks

The leverage multiplier also works in the opposite direction if the WETH prices drop. This means that the higher the leverage multiplier, the higher the risks of liquidation as the debt value remains the same while the position's collateral value drops significantly.

For example, a 1% drop in WETH price to 1WETH:2,070USDC results in the position's collateral of 4WETH being valued at 11,880USDC. Upon paying back the 9,000USDC debt, the depositor is only able to retrieve 0.96ETH (i.e. a 4% loss).

Notice that for the collateral to always cover the debt obligations, WETH can only drop a maximum of 25% before the position becomes undercollateralized and therefore liable to forced liquidations.

Strategy Parameters

  • Asset token: USDC

  • Debt token: WETH

  • Price ratio: 1WETH:3,000USDC

  • Leverage vault: USDC/WETH

Position Parameters

  • Leverage multiplier: 4

Deposit Parameters

  • Initial capital: 3,000USDC

Strategy Execution

Strategy Results

Profit Condition

If WETH price drops 1% to 1WETH:2,070USDC, the 3WETH debt obligation remains the same as it is denominated in WETH. To close the position, the depositor can then:

  1. Flash loan outstanding 3WETH debt

  2. Repay lending pool 3WETH debt

  3. Retrieve 12,000USDC collateral

  4. Swap 11,880USDC to 3WETH

  5. Repay 3WETH flash loan

  6. Profit 120USDC

This equates to a 4x profit based on the depositor's initial outlay (i.e. every 1% drop in WETH is multiplied by the leverage multiplier and realized as USDC gains).

Leverage Risks

The leverage multiplier also works in the opposite direction if the WETH prices increase. This means that the higher the leverage multiplier, the higher the risks of liquidation as the asset value remains the same while the position's debt value increases significantly.

For example, a 1% increase in WETH price to 1WETH:3,030USDC results in the position's debt of 3WETH being valued at 9,090USDC. Upon paying back the debt, the depositor is only able to retrieve 2,910USDC (i.e. a 3% loss).

Notice that for the collateral to always cover the debt obligations, WETH can only increase by a maximum of 33% before the position becomes undercollateralized and therefore liable to forced liquidations.

Long position (): Supply asset token which you believe will increase in value relative to the debt token thereby amplifying your exposure to any asset gains. For example, by taking a leveraged WETH/USDC position, the value of the debt (i.e. USDC) to the collateral (i.e. WETH) decreases if WETH increases in price relative to USDC.

Short position (): Borrow debt token which you believe will decrease in value relative to the asset token thereby reducing your debt obligations. For example, by taking a leveraged USDC/WETH position, the value of the debt (i.e. WETH) to the collateral (i.e. USDC) decreases if WETH decreases in price relative to USDC.

You can visit our if you would like to get started with leverage strategies.

LevMultiplier=11−borrow%LevMultiplier = \frac{1}{1-borrow\%} LevMultiplier=1−borrow%1​

For example, a borrow%borrow\%borrow% of 50% will give a 2x multiplier while a 66% borrow%borrow\%borrow% will be a 3x multiplier.

LevMultipliermax=11−borrowmax%LevMultiplier_{max} = \frac{1}{1-borrow_{max}\%} LevMultipliermax​=1−borrowmax​%1​

WETH exposure -> 4WETH×supplyAPY4\text{WETH}\times{\text{supplyAPY}}4WETH×supplyAPY

USDC debt obligation -> 9000USDC×borrowAPY9000\text{USDC}\times{\text{borrowAPY}}9000USDC×borrowAPY

Assuming the difference between supplyAPYsupplyAPYsupplyAPY and borrowAPYborrowAPYborrowAPY is negligible, the position earns 4x the profit for every increment in WETH price.

USDC exposure -> 12000USDC×supplyAPY12000\text{USDC}\times{\text{supplyAPY}}12000USDC×supplyAPY

WETH debt obligation -> 3WETH×borrowAPY3\text{WETH}\times{\text{borrowAPY}}3WETH×borrowAPY

Assuming the difference between supplyAPYsupplyAPYsupplyAPY and borrowAPYborrowAPYborrowAPY is negligible, the position realizes a 4x profit for every decrement in WETH price.

🧠
🐂
đŸģ
Leverage Performance Modelling
Leverage Long Simulation
Leverage Short Simulation
Leverage Long PT Simulation
Leverage User Guides
Factor Studio
Collateralized Lending & Borrowing
Flash Loan
Market Orders
collateralization ratio
Health Factor
Liquidation Price
Leverage WETH long
Leverage WETH long