Stabilis Ecosystem | by ILIS DAO
  • Welcome!
  • Introduction
    • I Like It Stable Ecosystem
      • ILIS DAO
      • Flux
      • STAB Protocol
  • ILIS DAO
    • Using ILIS DAO
      • Membership
      • Incentives
      • Governance
    • Technical Info
      • Components & Manifests
      • Source Code
      • Liquidity Bootstrapping Pools
    • Founders
    • Official documents
  • Flux
    • Using Flux
      • Flux USD (fUSD)
      • Borrowing and Liquidations
      • Earning with Flux
      • Redemptions
    • Technical Info
      • Components & Manifests
      • Source Code
      • Oracle
      • System Parameters
    • Dangers
    • Whitepaper
  • Video Tutorials
  • STAB Protocol
    • Using STAB Protocol
      • Swap
      • Borrow
      • Manage loans
      • Liquidations
    • Technical Info
      • Components & Manifests
      • Source Code
      • Oracle
      • System Parameters
      • Interest Rate
      • Real 7d APY
    • Dangers
    • Whitepaper
  • Miscellaneous
    • Tokens
      • ILIS DAO
        • ILIS
        • Membership ID
          • Membership ID Unstake Receipt
          • Membership ID Transfer Receipt
        • Incentives ID
          • Incentives ID Unstake Receipt
          • Incentives ID Transfer Receipt
        • Proposal Receipt
      • STAB protocol
        • STAB
        • LPSTAB
        • Loan Receipt
        • Marker Receipt
        • Liquidation Receipt
        • Flash Loan Receipt
    • FAQ
    • Glossary
    • Useful links
    • DISCLAIMER
    • Terms & Conditions
Powered by GitBook
On this page
  1. STAB Protocol
  2. Technical Info

Real 7d APY

The 7d Real APY as displayed on the Swap page shows how profitable providing liquidity has been the last 7 days, compared to just holding both tokens.

7_day_real_apy = ((lp_valuation_now / lp_valuation_7_days_ago)^(365 / 7) - 1) * 100;

With lp_valuation_now being the value of 1 LPSTAB token currently.

And lp_valuation_7_days_ago being the value of 1 LPSTAB token 7 days ago WITH CURRENT STAB and XRD PRICES!

Because for both valuations the current asset prices are used, it makes for a fair comparison between holding and providing liquidity.

PreviousInterest RateNextDangers

Last updated 7 months ago