Browse Source

Task/extend countries mapping in Trackinsight data enhancer service (#6959)

* Extend countries mapping with USA

* Update changelog
pull/6960/head^2
Thomas Kaul 3 days ago
committed by GitHub
parent
commit
aa0ec2622f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      CHANGELOG.md
  2. 3
      apps/api/src/services/data-provider/data-enhancer/trackinsight/trackinsight.service.ts

6
CHANGELOG.md

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Changed
- Extended the countries mapping in the data enhancer for asset profile data via _Trackinsight_
## 3.6.0 - 2026-05-28
### Added

3
apps/api/src/services/data-provider/data-enhancer/trackinsight/trackinsight.service.ts

@ -13,7 +13,8 @@ import { countries } from 'countries-list';
export class TrackinsightDataEnhancerService implements DataEnhancerInterface {
private static baseUrl = 'https://www.trackinsight.com/data-api';
private static countriesMapping = {
'Russian Federation': 'Russia'
'Russian Federation': 'Russia',
USA: 'United States'
};
private static holdingsWeightTreshold = 0.85;
private static sectorsMapping = {

Loading…
Cancel
Save