Browse Source

fix(api): remove adding account balance to net worth

pull/6171/head
KenTandrian 1 week ago
parent
commit
1f33cb0d92
  1. 4
      apps/api/src/app/portfolio/calculator/portfolio-calculator.ts

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

@ -605,9 +605,7 @@ export abstract class PortfolioCalculator {
netPerformance: totalNetPerformanceValue.toNumber(),
netPerformanceWithCurrencyEffect:
totalNetPerformanceValueWithCurrencyEffect.toNumber(),
netWorth: totalCurrentValueWithCurrencyEffect
.plus(totalAccountBalanceWithCurrencyEffect)
.toNumber(),
netWorth: totalCurrentValueWithCurrencyEffect.toNumber(),
totalAccountBalance: totalAccountBalanceWithCurrencyEffect.toNumber(),
totalInvestment: totalInvestmentValue.toNumber(),
totalInvestmentValueWithCurrencyEffect:

Loading…
Cancel
Save