Browse Source

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

* Fix outdated exchange rates of indirect currency pairs

* Update changelog
pull/7628/head
Thomas Kaul 4 days ago
committed by GitHub
parent
commit
3ec7a55466
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 2
      apps/api/src/services/exchange-rate-data/exchange-rate-data.service.ts

1
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 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 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 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 ## 3.50.0 - 2026-08-13

2
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}`]; const factor2 = this.exchangeRates[`${DEFAULT_CURRENCY}${aToCurrency}`];
factor = factor1 * factor2; factor = factor1 * factor2;
this.exchangeRates[`${aFromCurrency}${aToCurrency}`] = factor;
} }
} }

Loading…
Cancel
Save