Agustin Alexander
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
apps/api/src/app/portfolio/portfolio.service.ts
|
@ -462,7 +462,7 @@ export class PortfolioService { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
const holdings: PortfolioDetails['holdings'] = {}; |
|
|
const holdings: PortfolioDetails['holdings'] = {}; |
|
|
currentPositions.totalInvestment.plus( |
|
|
const totalInvestmentInBaseCurrency = currentPositions.totalInvestment.plus( |
|
|
cashDetails.balanceInBaseCurrency |
|
|
cashDetails.balanceInBaseCurrency |
|
|
); |
|
|
); |
|
|
let filteredValueInBaseCurrency = currentPositions.currentValue; |
|
|
let filteredValueInBaseCurrency = currentPositions.currentValue; |
|
@ -1273,7 +1273,7 @@ export class PortfolioService { |
|
|
|
|
|
|
|
|
return cashPositions; |
|
|
return cashPositions; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private getDividend({ |
|
|
private getDividend({ |
|
|
activities, |
|
|
activities, |
|
|
date = new Date(0), |
|
|
date = new Date(0), |
|
|