Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Bugfix/fix exception in portfolio calculator (#4109)
Thomas Kaulebef361d638e
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex b162d220ec..61d373992c 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,12 @@ 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++### Fixed++- Fixed an exception in the caching of the portfolio snapshot in the portfolio calculator+## 2.126.0 - 2024-12-07### Addeddiff --git a/apps/api/src/app/portfolio/calculator/portfolio-calculator.ts b/apps/api/src/app/portfolio/calculator/portfolio-calculator.tsindex dec0e63878..eb18b35842 100644--- a/apps/api/src/app/portfolio/calculator/portfolio-calculator.ts+++ b/apps/api/src/app/portfolio/calculator/portfolio-calculator.ts@@ -176,6 +176,7 @@ export abstract class PortfolioCalculator {if (!transactionPoints.length) {return {currentValueInBaseCurrency: new Big(0),+ errors: [],hasErrors: false,historicalData: [],positions: [],