mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
The accounts section of the holding detail dialog requests the accounts filtered by the data source and the symbol of the holding. In getValueOfAccountsAndPlatforms() the value of every account was seeded with the cash balance of that account, regardless of the filters, so the allocation percentages were computed from the cash balance plus the holding instead of the holding alone. Skip the cash balance if the request is filtered by a holding. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>pull/7531/head
3 changed files with 47 additions and 1 deletions
Loading…
Reference in new issue