Release/1.128.0 (#763)

This commit is contained in:
Thomas Kaul
2022-03-19 14:39:25 +01:00
committed by GitHub
parent 9f67993c03
commit 86a1589834
3 changed files with 5 additions and 4 deletions

View File

@@ -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)