mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
Aggregate the value of accounts and platforms with Big.js, so that activities cancelling each other out result in exactly zero instead of a floating-point residue. Such a residue distorted the allocation per account in the holding detail dialog, e.g. -8.5277e-16 for a closed position and 1.0000000000000009 for the remaining one. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>bugfix/rounding-of-value-per-account-and-platform
3 changed files with 91 additions and 31 deletions
Loading…
Reference in new issue