mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
- Filter balances to date <= today in getAccountBalanceItems() so the balance time series is not affected by future entries - Filter balances to date <= endOfToday() in order service when building synthetic cash activities so future balances do not create SELLs that zero the position - Extend portfolio-calculator-cash.spec.ts mock with a future-dated balance (2050-12-31) to assert it is ignoredpull/6318/head
3 changed files with 25 additions and 3 deletions
Loading…
Reference in new issue