Browse Source

Clean up

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

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

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

Loading…
Cancel
Save