Browse Source

Bugfix/market price in base currency during the portfolio snapshot calculation (#5828)

* Add fallback for market price in base currency

* Update changelog
pull/5837/head
vitalymatyushik 5 days ago
committed by GitHub
parent
commit
31e2346101
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 2
      apps/api/src/app/portfolio/calculator/portfolio-calculator.ts

4
CHANGELOG.md

@ -26,6 +26,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed the style in the footer row of the accounts table
- Fixed the rendering of names and symbols for custom assets in the import activities dialog
### Fixed
- Fixed an issue with the market price in base currency during the portfolio snapshot calculation
## 2.210.1 - 2025-10-22
### Added

2
apps/api/src/app/portfolio/calculator/portfolio-calculator.ts

@ -336,7 +336,7 @@ export abstract class PortfolioCalculator {
).mul(
exchangeRatesByCurrency[`${item.currency}${this.currency}`]?.[
endDateString
]
] ?? 1
);
const {

Loading…
Cancel
Save