From 466078ff920492f5b30e520b495be3c562bb6025 Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Sat, 19 Mar 2022 14:37:35 +0100 Subject: [PATCH] Fix typo --- apps/api/src/app/portfolio/portfolio-calculator-new.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/src/app/portfolio/portfolio-calculator-new.ts b/apps/api/src/app/portfolio/portfolio-calculator-new.ts index 6a5659d85..3b8d30cf8 100644 --- a/apps/api/src/app/portfolio/portfolio-calculator-new.ts +++ b/apps/api/src/app/portfolio/portfolio-calculator-new.ts @@ -922,7 +922,7 @@ export class PortfolioCalculatorNew { : new Big(0) : // This formula has the issue that buying more units with a price // lower than the average buying price results in a positive - // performance even if the market pricse stays constant + // performance even if the market price stays constant unitPriceAtEndDate .div(averagePriceAtEndDate) .div( @@ -944,7 +944,7 @@ export class PortfolioCalculatorNew { : new Big(0) : // This formula has the issue that buying more units with a price // lower than the average buying price results in a positive - // performance even if the market pricse stays constant + // performance even if the market price stays constant unitPriceAtEndDate .minus(feesPerUnit) .div(averagePriceAtEndDate)