DefiTuna Docs
  • DefiTuna Introduction
    • DefiTuna - Our Mission
  • Introduction - Who is it for?
  • Onboarding
    • Requirements
    • How to open a position
    • Monitoring Opened Positions
    • How to Lend
    • Setting Up a Directional Bias
  • Platform Info
    • Supply APR
    • Yield (24h) Estimation
    • Borrow APR and Lending Utilization
    • Supported Pools
    • Terminology
    • Fees
    • Take Profit / Stop Loss
    • Liquidations
    • Compound
  • Transaction Priority Fees
  • Security and Risks
    • Audits
    • Platform risks
    • Terms of Use
    • Disclaimer
  • Learn More
    • FAQ
    • Understanding Pseudo Delta Neutral
    • Understanding Impermanent Loss
    • How to open different strategies
      • Position opening
      • Long Farming
      • Short Farming
      • Neutral Farming
      • Perpetual Swap on DefiTuna
  • Brand Kit
    • Brand Kit
    • Contact
  • DefiTuna for Builders
    • SDK and Smart Contracts
Powered by GitBook
On this page
  1. Onboarding

Setting Up a Directional Bias

In simple terms, when you borrow an asset, you typically short it (If Borrow ratio is set as only SOL on SOL/USDC pair - you are shorting Solana). However, things aren't always as straight forward. In liquidity farming, the relationship between price and profit isn’t linear. DeFiTuna created a Direction Bias Indicator (DBI). DBI has a range that varies from 0 (which stands for maximum possible Short) to 1 (which stands for maximum possible Long). DBI takes into account leverage and borrow ration as well as collateral and calculates your Bias accordingly.

position directional bias = (total_position_size - debt_token_A) / total_position_size

Where

The DBI ranges from 0 to 1:

• 0 means the strongest possible Short position.

• 1 means the strongest possible Long position.

Note only debt of token A in the provided equation is used. Token B debt is not taken into account.

Keep an eye on your range, deposit ratio, and borrow ratio, and always double-check the amount you’re trading—these factors can all impact your profit, loss, and directional bias.

PreviousHow to LendNextPlatform Info

Last updated 5 months ago