Bugfix/fix exception in portfolio calculator (#4113)
* Fix exception in portfolio calculator * Update changelog
This commit is contained in:
parent
291be3e605
commit
0841f8bd5b
@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- Extended the _X-ray_ page by a summary
|
- Extended the _X-ray_ page by a summary
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed an exception in the caching of the portfolio snapshot in the portfolio calculator
|
||||||
|
|
||||||
## 2.126.1 - 2024-12-07
|
## 2.126.1 - 2024-12-07
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -101,6 +101,7 @@ export class TWRPortfolioCalculator extends PortfolioCalculator {
|
|||||||
totalInterestWithCurrencyEffect,
|
totalInterestWithCurrencyEffect,
|
||||||
totalInvestment,
|
totalInvestment,
|
||||||
totalInvestmentWithCurrencyEffect,
|
totalInvestmentWithCurrencyEffect,
|
||||||
|
errors: [],
|
||||||
historicalData: [],
|
historicalData: [],
|
||||||
totalLiabilitiesWithCurrencyEffect: new Big(0),
|
totalLiabilitiesWithCurrencyEffect: new Big(0),
|
||||||
totalValuablesWithCurrencyEffect: new Big(0)
|
totalValuablesWithCurrencyEffect: new Big(0)
|
||||||
|
@ -13,7 +13,7 @@ export class PortfolioSnapshot {
|
|||||||
@Type(() => Big)
|
@Type(() => Big)
|
||||||
currentValueInBaseCurrency: Big;
|
currentValueInBaseCurrency: Big;
|
||||||
|
|
||||||
errors?: AssetProfileIdentifier[];
|
errors: AssetProfileIdentifier[];
|
||||||
|
|
||||||
hasErrors: boolean;
|
hasErrors: boolean;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user