Solana - Drift incorrect account balance
The calculation of my total Drift balance is incorrect.
The amount returned by portfolio.jup is 123.40 for the account.

It adds the position size (1.47), while it should add the unsettled PnL of that position.
From Drift:


I just claimed on Drift (and refreshed the portfolio), so unsettled should be 0.
Thanks for fixing this.
Post Information
Subscribe to post
Get notified by email when there are changes.
Upvoters
Post Details