Browse Source
Bugfix/data provider info of holding (#7817)
* Fix data provider info of holding
* Update changelog
pull/7814/head
Thomas Kaul
3 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
4 additions and
1 deletions
-
CHANGELOG.md
-
apps/api/src/app/portfolio/portfolio.service.ts
|
|
@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
|
### Fixed |
|
|
### Fixed |
|
|
|
|
|
|
|
|
|
|
|
- Fixed the data provider information in the holding detail dialog |
|
|
- Fixed the immediate expiration of a portfolio snapshot with errors |
|
|
- Fixed the immediate expiration of a portfolio snapshot with errors |
|
|
- Fixed the missing country mapping of _Congo (Dem. Rep. of the)_ and _Congo (Rep. of)_ in the _Financial Modeling Prep_ service |
|
|
- Fixed the missing country mapping of _Congo (Dem. Rep. of the)_ and _Congo (Rep. of)_ in the _Financial Modeling Prep_ service |
|
|
|
|
|
|
|
|
|
|
|
@ -1094,7 +1094,9 @@ export class PortfolioService { |
|
|
userId: assetProfile.userId |
|
|
userId: assetProfile.userId |
|
|
}, |
|
|
}, |
|
|
averagePrice: averagePrice.toNumber(), |
|
|
averagePrice: averagePrice.toNumber(), |
|
|
dataProviderInfo: portfolioCalculator.getDataProviderInfos()?.[0], |
|
|
dataProviderInfo: this.dataProviderService |
|
|
|
|
|
.getDataProvider(dataSource) |
|
|
|
|
|
.getDataProviderInfo(), |
|
|
dividendInBaseCurrency: dividendInBaseCurrency.toNumber(), |
|
|
dividendInBaseCurrency: dividendInBaseCurrency.toNumber(), |
|
|
dividendYieldPercent: dividendYieldPercent.toNumber(), |
|
|
dividendYieldPercent: dividendYieldPercent.toNumber(), |
|
|
dividendYieldPercentWithCurrencyEffect: |
|
|
dividendYieldPercentWithCurrencyEffect: |
|
|
|