From c95293e8a2cb3ec8142627f3adfdb8f3385dc1e0 Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Sat, 18 Dec 2021 09:02:53 +0100 Subject: [PATCH] Remove isAllTimeHigh / isAllTimeLow --- apps/api/src/app/portfolio/portfolio.service.ts | 8 ++------ .../src/lib/interfaces/portfolio-performance.interface.ts | 2 -- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/apps/api/src/app/portfolio/portfolio.service.ts b/apps/api/src/app/portfolio/portfolio.service.ts index 0887175f1..b4312ed3e 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 bd09c288b..3a2770786 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; }