Browse Source
Feature/improve asset profile validation in activities import for manual data source (#2886)
* Improve asset profile validation for MANUAL data source
* Update changelog
pull/2887/head
Thomas Kaul
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
27 additions and
25 deletions
-
CHANGELOG.md
-
apps/api/src/app/import/import.service.ts
|
@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
- Added the holdings table to the account detail dialog |
|
|
- Added the holdings table to the account detail dialog |
|
|
- Validated the currency of the search results in the _EOD Historical Data_ service |
|
|
- Validated the currency of the search results in the _EOD Historical Data_ service |
|
|
|
|
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
|
|
|
|
- Improved the asset profile validation for `MANUAL` data source in the activities import |
|
|
|
|
|
|
|
|
## 2.40.0 - 2024-01-15 |
|
|
## 2.40.0 - 2024-01-15 |
|
|
|
|
|
|
|
|
### Changed |
|
|
### Changed |
|
|
|
@ -583,7 +583,6 @@ export class ImportService { |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (dataSource !== 'MANUAL') { |
|
|
|
|
|
const assetProfile = ( |
|
|
const assetProfile = ( |
|
|
await this.dataProviderService.getAssetProfiles([ |
|
|
await this.dataProviderService.getAssetProfiles([ |
|
|
{ dataSource, symbol } |
|
|
{ dataSource, symbol } |
|
@ -611,7 +610,6 @@ export class ImportService { |
|
|
assetProfiles[getAssetProfileIdentifier({ dataSource, symbol })] = |
|
|
assetProfiles[getAssetProfileIdentifier({ dataSource, symbol })] = |
|
|
assetProfile; |
|
|
assetProfile; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return assetProfiles; |
|
|
return assetProfiles; |
|
|
} |
|
|
} |
|
|