How does yield affect Portfolio Profit/Loss?
When yield is distributed, the weighted fee (average fee) of crypto decreases and the current available balance increases:
|
Weighted cost |
=(Total cost of BTC owned by the user) / (Total BTC purchased + yield) |
As a result, Unrealized Profit/Loss will increase. |
|
Unrealized Profit/Loss |
=(current mid-price - weighted cost) x current available balance.
|
Once the user sells his yield income, Realized Profit/Loss will increase. |
|
Realized Profit/Loss |
=(unit selling price - weighted cost) x units sold |
|








