Browse Source

fix portfolio calculator logger

pull/4793/head
bptrgx 1 month ago
parent
commit
d373b5aa62
  1. 8
      apps/api/src/app/portfolio/calculator/roai/portfolio-calculator.ts

8
apps/api/src/app/portfolio/calculator/roai/portfolio-calculator.ts

@ -938,9 +938,11 @@ export class RoaiPortfolioCalculator extends PortfolioCalculator {
Net performance: ${totalNetPerformance.toFixed(
2
)} / ${netPerformancePercentage.mul(100).toFixed(2)}%
Net performance with currency effect: ${netPerformancePercentageWithCurrencyEffectMap[
'max'
].toFixed(2)}%`
Net performance with currency effect: ${netPerformanceValuesWithCurrencyEffect[
endDateString
].toFixed(2)} / ${netPerformancePercentageWithCurrencyEffectMap['max']
.mul(100)
.toFixed(2)}%`
);
}

Loading…
Cancel
Save