From c3ec2205020c6b6002bb8809bffa6e12c8261618 Mon Sep 17 00:00:00 2001 From: Reto Kaul Date: Sat, 17 Aug 2024 20:22:17 +0200 Subject: [PATCH] Improve comment --- .../src/app/portfolio/calculator/twr/portfolio-calculator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/app/portfolio/calculator/twr/portfolio-calculator.ts b/apps/api/src/app/portfolio/calculator/twr/portfolio-calculator.ts index d7cbcfda3..d16665815 100644 --- a/apps/api/src/app/portfolio/calculator/twr/portfolio-calculator.ts +++ b/apps/api/src/app/portfolio/calculator/twr/portfolio-calculator.ts @@ -927,7 +927,7 @@ export class TWRPortfolioCalculator extends PortfolioCalculator { ]?.minus( // If the date range is 'max', take 0 as a start value. Otherwise, // the value of the end of the day of the start date is taken which - // can differ. + // differs from the buying price. dateRange === 'max' ? new Big(0) : (netPerformanceValuesWithCurrencyEffect[