|
|
@ -433,9 +433,8 @@ export abstract class PortfolioCalculator { |
|
|
investment: totalInvestment, |
|
|
investment: totalInvestment, |
|
|
investmentWithCurrencyEffect: totalInvestmentWithCurrencyEffect, |
|
|
investmentWithCurrencyEffect: totalInvestmentWithCurrencyEffect, |
|
|
marketPrice: |
|
|
marketPrice: |
|
|
marketSymbolMap[endDateString]?.[item.symbol]?.toNumber() ?? null, |
|
|
marketSymbolMap[endDateString]?.[item.symbol]?.toNumber() ?? 1, |
|
|
marketPriceInBaseCurrency: |
|
|
marketPriceInBaseCurrency: marketPriceInBaseCurrency?.toNumber() ?? 1, |
|
|
marketPriceInBaseCurrency?.toNumber() ?? null, |
|
|
|
|
|
netPerformance: !hasErrors ? (netPerformance ?? null) : null, |
|
|
netPerformance: !hasErrors ? (netPerformance ?? null) : null, |
|
|
netPerformancePercentage: !hasErrors |
|
|
netPerformancePercentage: !hasErrors |
|
|
? (netPerformancePercentage ?? null) |
|
|
? (netPerformancePercentage ?? null) |
|
|
|