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

Loading…
Cancel
Save