Browse Source

Update portfolio.service.ts

pull/1692/head
Agustin Alexander 3 years ago
committed by GitHub
parent
commit
b10767a13b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      apps/api/src/app/portfolio/portfolio.service.ts

4
apps/api/src/app/portfolio/portfolio.service.ts

@ -462,7 +462,7 @@ export class PortfolioService {
});
const holdings: PortfolioDetails['holdings'] = {};
currentPositions.totalInvestment.plus(
const totalInvestmentInBaseCurrency = currentPositions.totalInvestment.plus(
cashDetails.balanceInBaseCurrency
);
let filteredValueInBaseCurrency = currentPositions.currentValue;
@ -1273,7 +1273,7 @@ export class PortfolioService {
return cashPositions;
}
private getDividend({
activities,
date = new Date(0),

Loading…
Cancel
Save