Browse Source

Clean up

pull/3393/head
Thomas Kaul 1 year ago
parent
commit
9dfcae0c0d
  1. 4
      apps/api/src/app/portfolio/calculator/portfolio-calculator.ts

4
apps/api/src/app/portfolio/calculator/portfolio-calculator.ts

@ -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,

Loading…
Cancel
Save