Merge branch 'main' of github.com:ghostfolio/ghostfolio

This commit is contained in:
sudacode 2025-02-27 11:46:16 -08:00
commit 1b61089475
3 changed files with 16 additions and 1 deletions
CHANGELOG.md
apps/api/src/services
data-provider/data-enhancer/trackinsight
queues/data-gathering

@ -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/), 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). 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 ## 2.141.0 - 2025-02-25
### Added ### Added

@ -71,7 +71,13 @@ export class TrackinsightDataEnhancerService implements DataEnhancerInterface {
return {}; return {};
}); });
const isin = profile?.isin?.split(';')?.[0]; const cusip = profile?.cusip;
if (cusip) {
response.cusip = cusip;
}
const isin = profile?.isins?.[0];
if (isin) { if (isin) {
response.isin = isin; response.isin = isin;

@ -200,6 +200,7 @@ export class DataGatheringService {
assetSubClass, assetSubClass,
countries, countries,
currency, currency,
cusip,
dataSource, dataSource,
figi, figi,
figiComposite, figiComposite,
@ -218,6 +219,7 @@ export class DataGatheringService {
assetSubClass, assetSubClass,
countries, countries,
currency, currency,
cusip,
dataSource, dataSource,
figi, figi,
figiComposite, figiComposite,
@ -234,6 +236,7 @@ export class DataGatheringService {
assetSubClass, assetSubClass,
countries, countries,
currency, currency,
cusip,
figi, figi,
figiComposite, figiComposite,
figiShareClass, figiShareClass,