Account Position Calculations
Last updated
Last updated
It is worth noting that multiple pools should be taken into consideration.
Based on the implemented Logic for each of the enabled Pools, the account has a unique position:
Total deposit balance,
Max loan limit,
Loan balance,
Loan limit used,
NetAPY,
Daily.
Represents a sum of user deposit balances across all pools, denominated in USD.
Each Pool has a unique Loan to Value (“LTV”) defining how much of deposited funds are accounted as provided collateral. For example, when LTV is 0.8, it means that for each $100 USD deposited, the max loan limit is $80 USD.
The Max Loan Limit represents the value which could be borrowed against all provided collateral.
Notice the asset_price is set in USD for a given asset.
The Loan Balance is a sum of all borrowed assets' values across all available pools.
The Loan Limit Used represents the ratio between the Loan Balance and Max Loan Limit. The expected value is in the 0-1 range.
NetAPY represents the net user interests within the protocol, including all deposited and borrowed assets. It is a decimal representation used only in front-end calculations and does not affect the protocol.
Daily results represent the NetAPY, denominated in USD, daily, for a given user. Like Net APY, It is used only for frontend purposes.