Question

How does Sandwich calculate Wallet balance?

Answer

Wallet Balance = Net Asset Value (NAV) - Unrealized Profit and Loss (UPnL)