diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c53c1503..1ca220626 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleased +## 1.128.0 - 19.03.2022 ### Added @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixed an issue with the user currency of the public page +- Fixed an issue of the performance calculation with recent activities in the new calculation engine ## 1.127.0 - 16.03.2022 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) diff --git a/package.json b/package.json index ceb78f57a..3f4b66808 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghostfolio", - "version": "1.127.0", + "version": "1.128.0", "homepage": "https://ghostfol.io", "license": "AGPL-3.0", "scripts": {