|
@ -1122,6 +1122,7 @@ 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 |
|
|
); |
|
|
); |
|
@ -1133,9 +1134,6 @@ export abstract class PortfolioCalculator { |
|
|
totalInvestmentValuesWithCurrencyEffect.length |
|
|
totalInvestmentValuesWithCurrencyEffect.length |
|
|
: 0; |
|
|
: 0; |
|
|
|
|
|
|
|
|
// TODO: Not sure if this is correct
|
|
|
|
|
|
console.log(historicalDataItem.totalInvestmentValueWithCurrencyEffect); |
|
|
|
|
|
|
|
|
|
|
|
// TODO: Normalize remaining metrics
|
|
|
// TODO: Normalize remaining metrics
|
|
|
newChartData.push({ |
|
|
newChartData.push({ |
|
|
...historicalDataItem, |
|
|
...historicalDataItem, |
|
|