|
@ -708,7 +708,6 @@ export abstract class PortfolioCalculator { |
|
|
netPerformanceWithCurrencyEffectAtStartDate; |
|
|
netPerformanceWithCurrencyEffectAtStartDate; |
|
|
|
|
|
|
|
|
if (historicalDataItem.totalInvestmentValueWithCurrencyEffect > 0) { |
|
|
if (historicalDataItem.totalInvestmentValueWithCurrencyEffect > 0) { |
|
|
// TODO: Not sure if this is correct
|
|
|
|
|
|
totalInvestmentValuesWithCurrencyEffect.push( |
|
|
totalInvestmentValuesWithCurrencyEffect.push( |
|
|
historicalDataItem.totalInvestmentValueWithCurrencyEffect |
|
|
historicalDataItem.totalInvestmentValueWithCurrencyEffect |
|
|
); |
|
|
); |
|
@ -720,7 +719,6 @@ export abstract class PortfolioCalculator { |
|
|
totalInvestmentValuesWithCurrencyEffect.length |
|
|
totalInvestmentValuesWithCurrencyEffect.length |
|
|
: 0; |
|
|
: 0; |
|
|
|
|
|
|
|
|
// TODO: Normalize remaining metrics
|
|
|
|
|
|
newChartData.push({ |
|
|
newChartData.push({ |
|
|
...historicalDataItem, |
|
|
...historicalDataItem, |
|
|
netPerformance: |
|
|
netPerformance: |
|
|