From 86a1589834c95c520765fb3c39cfef8119bed9d7 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 19 Mar 2022 14:39:25 +0100 Subject: [PATCH] Release/1.128.0 (#763) --- CHANGELOG.md | 3 ++- apps/api/src/app/portfolio/portfolio-calculator-new.ts | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c53c150..1ca22062 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 6a5659d8..3b8d30cf 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 ceb78f57..3f4b6680 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": {