Puzzle Lend Guidebook
  • Puzzle Lend intro
  • Get Started on Waves
    • Create wallet
    • Top up wallet
  • Supplier's Guide
    • How to supply collateral
    • What is Supply APY?
    • Safety features
  • Borrower's guide
    • FAQ
    • How to borrow
    • Borrow APY
    • Net APY
    • Account Health
  • ROME stablecoin
    • ROME explained
  • Protocol details
    • Asset parameters
    • Risks
Powered by GitBook
On this page
  1. Borrower's guide

Net APY

How your Net APY is calculated

PreviousBorrow APYNextAccount Health

Last updated 2 years ago

Net APY refers to the overall profitability or unprofitability of your account based on your current assets and loans.

Net APY is calculated as follows:​

​

Margin=∑assets(SuppliedValuei⋅SupplyAPYi−BorrowedValuei⋅BorrowAPYi)\begin{split} Margin = \sum_{assets} (SuppliedValue_i\cdot SupplyAPY_i -\newline BorrowedValue_i\cdot BorrowAPY_i) \end{split}Margin=assets∑​(SuppliedValuei​⋅SupplyAPYi​−BorrowedValuei​⋅BorrowAPYi​)​
NetAPY={MargintotalSuppliedValue,if Margin>0MargintotolBorrowedValue,if Margin<00,if Margin=0Net APY = \begin{cases} \frac{Margin}{totalSuppliedValue},&if\ Margin>0\newline\newline \frac{Margin}{totolBorrowedValue}, &if\ Margin <0\newline 0, &if\ Margin=0 \end{cases}NetAPY=⎩⎨⎧​totalSuppliedValueMargin​,totolBorrowedValueMargin​,0,​if Margin>0if Margin<0if Margin=0​

Example

Supplied: 1000 WAVES ($5000) with 4% Supply APY.

Borrowed: 1000 USDT ($1000) with 8% Supply APY.

Margin = 5000 ⋅ 0.04 – 1000 ⋅ 0.08 = 200 – 80 = 120 > 0

Net APY = 120 / 5000 = 0.024 = 2.4%