Browse Source

fix(api): update comment

pull/5650/head
KenTandrian 1 month ago
parent
commit
1713a0e9d5
  1. 2
      apps/api/src/app/portfolio/portfolio.service.ts

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

@ -1702,7 +1702,7 @@ export class PortfolioService {
}
for (const symbol of Object.keys(cashPositions)) {
// Calculate allocations and net performances for each currency
// Calculate allocations and net performance percentages for each currency
cashPositions[symbol].allocationInPercentage = value.gt(0)
? new Big(cashPositions[symbol].valueInBaseCurrency)
.div(value)

Loading…
Cancel
Save