Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Bugfix/outdated exchange rates of indirect currency pairs (#7618)

Thomas Kaul3ec7a55466a2
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cb44dfe42c..d52aa9794c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed the cash balance update related to activities in a custom currency
- Fixed the missing mapping for Czech Republic in the country weightings of the _Financial Modeling Prep_ service
- Fixed the missing mapping for Macau in the data enhancer for asset profile data via _Yahoo Finance_
+- Fixed the outdated exchange rates of currency pairs which are calculated indirectly via the base currency
## 3.50.0 - 2026-08-13
diff --git a/apps/api/src/services/exchange-rate-data/exchange-rate-data.service.ts b/apps/api/src/services/exchange-rate-data/exchange-rate-data.service.ts
index 3b48ce2924..375a401736 100644
--- a/apps/api/src/services/exchange-rate-data/exchange-rate-data.service.ts
+++ b/apps/api/src/services/exchange-rate-data/exchange-rate-data.service.ts
@@ -261,8 +261,6 @@ export class ExchangeRateDataService {
const factor2 = this.exchangeRates[`${DEFAULT_CURRENCY}${aToCurrency}`];
factor = factor1 * factor2;
-
- this.exchangeRates[`${aFromCurrency}${aToCurrency}`] = factor;
}
}