Browse Source

Clean up

pull/2834/head
Thomas Kaul 2 years ago
parent
commit
9643244d3c
  1. 4
      apps/api/src/app/portfolio/portfolio-calculator.ts

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

@ -1350,10 +1350,6 @@ export class PortfolioCalculator {
);
}
// TODO:
// Do all order types have a unit price? What about dividends that
// are defined with an order quantity of 1 and the unit price of the total
// dividend?
const valueOfInvestmentBeforeTransaction = totalUnits.mul(
order.unitPriceInBaseCurrency
);

Loading…
Cancel
Save