From 3ec7a55466a2b3c02b6a7cf271a9c1abedba9d12 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Fri, 14 Aug 2026 20:16:32 +0200 Subject: [PATCH] Bugfix/outdated exchange rates of indirect currency pairs (#7618) * Fix outdated exchange rates of indirect currency pairs * Update changelog --- CHANGELOG.md | 1 + .../services/exchange-rate-data/exchange-rate-data.service.ts | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb44dfe42..d52aa9794 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 3b48ce292..375a40173 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; } }