diff --git a/CHANGELOG.md b/CHANGELOG.md index c83658fc..4d1fc56b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Changed + +- Removed the redundant all time high and all time low from the performance endpoint + ### Fixed - Fixed the symbol conversion from _Yahoo Finance_ including a hyphen diff --git a/apps/api/src/app/portfolio/portfolio.service.ts b/apps/api/src/app/portfolio/portfolio.service.ts index 0887175f..b4312ed3 100644 --- a/apps/api/src/app/portfolio/portfolio.service.ts +++ b/apps/api/src/app/portfolio/portfolio.service.ts @@ -693,9 +693,7 @@ export class PortfolioService { currentGrossPerformancePercent: 0, currentNetPerformance: 0, currentNetPerformancePercent: 0, - currentValue: 0, - isAllTimeHigh: false, - isAllTimeLow: false + currentValue: 0 } }; } @@ -728,9 +726,7 @@ export class PortfolioService { currentGrossPerformancePercent, currentNetPerformance, currentNetPerformancePercent, - currentValue, - isAllTimeHigh: true, - isAllTimeLow: false + currentValue } }; } diff --git a/libs/common/src/lib/interfaces/portfolio-performance.interface.ts b/libs/common/src/lib/interfaces/portfolio-performance.interface.ts index bd09c288..3a277078 100644 --- a/libs/common/src/lib/interfaces/portfolio-performance.interface.ts +++ b/libs/common/src/lib/interfaces/portfolio-performance.interface.ts @@ -5,6 +5,4 @@ export interface PortfolioPerformance { currentNetPerformance: number; currentNetPerformancePercent: number; currentValue: number; - isAllTimeHigh: boolean; - isAllTimeLow: boolean; }