diff --git a/apps/api/src/app/portfolio/portfolio.service.ts b/apps/api/src/app/portfolio/portfolio.service.ts index 4f182b4c2..b5656ab3a 100644 --- a/apps/api/src/app/portfolio/portfolio.service.ts +++ b/apps/api/src/app/portfolio/portfolio.service.ts @@ -639,7 +639,9 @@ export class PortfolioService { currentGrossPerformancePercent: 0, currentNetPerformance: 0, currentNetPerformancePercent: 0, - currentValue: 0 + currentValue: 0, + isAllTimeHigh: false, + isAllTimeLow: false } }; } @@ -672,7 +674,9 @@ export class PortfolioService { currentGrossPerformancePercent, currentNetPerformance, currentNetPerformancePercent, - currentValue + currentValue, + isAllTimeHigh: true, // TODO + isAllTimeLow: false // TODO } }; } diff --git a/apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html b/apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html index 42aa5a683..025a9de96 100644 --- a/apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html +++ b/apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html @@ -1,5 +1,11 @@
-
+
diff --git a/libs/common/src/lib/interfaces/portfolio-performance.interface.ts b/libs/common/src/lib/interfaces/portfolio-performance.interface.ts index 3a2770786..bd09c288b 100644 --- a/libs/common/src/lib/interfaces/portfolio-performance.interface.ts +++ b/libs/common/src/lib/interfaces/portfolio-performance.interface.ts @@ -5,4 +5,6 @@ export interface PortfolioPerformance { currentNetPerformance: number; currentNetPerformancePercent: number; currentValue: number; + isAllTimeHigh: boolean; + isAllTimeLow: boolean; }