0

Portfolio Value Handle Negative Values


L
l y

Negative wallet values appear positive in total portfolio calculation.

If I have 2 wallets i.e
Wallet 1: $3500 USDT
Wallet 2: -$1000 USDC

when the total portfolios values are calculated it would appear incorrectly. Continuing with the last example it would be $4500 instead of the correct value of $2500.

have multiple portfolios, some with negative values (i.e -1000 USDC).

A