Portfolio value calculation bug

Please fix portfolio values:

I have on my account 3000 usdt, however on the portfolio value total sum of 14600 usdt, due to incorrect calculation.

Did you click update balance button?

Steps done so far:

  1. Move assets between exchange wallets
    No effect

  2. Update button
    No effect

  3. Delete api keys. Connected again.

See the screenshot above.

1 Like

If that’s a bug it will be fixed , dont worry :wink:

The user already removed the exchange, so I cannot test it.

It’s probably Multi-asset margin-related. In multi-asset mode, all margin-supported tokens (FDUSD, BTC, BNB, ETH, USDT, USDC) share the same balance, and, in response to exchange, tokens are returned with non-balance. We can observe this on the first screenshot—all tokens around 3k.

From the balance response, we cannot determine whether there is a shared balance across all tokens or whether each token has its own balance.

There is another request where we can get balances: through account info. I have replaced it in case there will be a difference.