Skip to content

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

Bugfix/add missing country mapping for Macau in Yahoo Finance data enhancer (#7620)

Thomas Kaul579943f6594f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bcf39f9a13..51ca350696 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,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_
## 3.50.0 - 2026-08-13
diff --git a/apps/api/src/services/data-provider/data-enhancer/yahoo-finance/yahoo-finance.service.ts b/apps/api/src/services/data-provider/data-enhancer/yahoo-finance/yahoo-finance.service.ts
index f2cbcf8eaf..25b7ec06bc 100644
--- a/apps/api/src/services/data-provider/data-enhancer/yahoo-finance/yahoo-finance.service.ts
+++ b/apps/api/src/services/data-provider/data-enhancer/yahoo-finance/yahoo-finance.service.ts
@@ -26,6 +26,7 @@ import type { Price } from 'yahoo-finance2/esm/src/modules/quoteSummary-iface';
export class YahooFinanceDataEnhancerService implements DataEnhancerInterface {
private static countriesMapping = {
'Czech Republic': 'CZ',
+ Macau: 'MO',
Turkey: 'TR'
};