Browse Source
Feature/extend trackinsight data enhancer by cusip (#4362)
* Extend Trackinsight data enhancer by cusip
* Update changelog
pull/4340/head^2
Thomas Kaul
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
16 additions and
1 deletions
-
CHANGELOG.md
-
apps/api/src/services/data-provider/data-enhancer/trackinsight/trackinsight.service.ts
-
apps/api/src/services/queues/data-gathering/data-gathering.service.ts
|
|
@ -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 |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
|
|
- Extended the _Trackinsight_ data enhancer for asset profile data by `cusip` |
|
|
|
|
|
|
|
## 2.141.0 - 2025-02-25 |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
@ -71,7 +71,13 @@ export class TrackinsightDataEnhancerService implements DataEnhancerInterface { |
|
|
|
return {}; |
|
|
|
}); |
|
|
|
|
|
|
|
const isin = profile?.isin?.split(';')?.[0]; |
|
|
|
const cusip = profile?.cusip; |
|
|
|
|
|
|
|
if (cusip) { |
|
|
|
response.cusip = cusip; |
|
|
|
} |
|
|
|
|
|
|
|
const isin = profile?.isins?.[0]; |
|
|
|
|
|
|
|
if (isin) { |
|
|
|
response.isin = isin; |
|
|
|
|
|
@ -200,6 +200,7 @@ export class DataGatheringService { |
|
|
|
assetSubClass, |
|
|
|
countries, |
|
|
|
currency, |
|
|
|
cusip, |
|
|
|
dataSource, |
|
|
|
figi, |
|
|
|
figiComposite, |
|
|
@ -218,6 +219,7 @@ export class DataGatheringService { |
|
|
|
assetSubClass, |
|
|
|
countries, |
|
|
|
currency, |
|
|
|
cusip, |
|
|
|
dataSource, |
|
|
|
figi, |
|
|
|
figiComposite, |
|
|
@ -234,6 +236,7 @@ export class DataGatheringService { |
|
|
|
assetSubClass, |
|
|
|
countries, |
|
|
|
currency, |
|
|
|
cusip, |
|
|
|
figi, |
|
|
|
figiComposite, |
|
|
|
figiShareClass, |
|
|
|