Browse Source

Remove isAllTimeHigh / isAllTimeLow

pull/551/head
Thomas 4 years ago
parent
commit
c95293e8a2
  1. 8
      apps/api/src/app/portfolio/portfolio.service.ts
  2. 2
      libs/common/src/lib/interfaces/portfolio-performance.interface.ts

8
apps/api/src/app/portfolio/portfolio.service.ts

@ -693,9 +693,7 @@ export class PortfolioService {
currentGrossPerformancePercent: 0, currentGrossPerformancePercent: 0,
currentNetPerformance: 0, currentNetPerformance: 0,
currentNetPerformancePercent: 0, currentNetPerformancePercent: 0,
currentValue: 0, currentValue: 0
isAllTimeHigh: false,
isAllTimeLow: false
} }
}; };
} }
@ -728,9 +726,7 @@ export class PortfolioService {
currentGrossPerformancePercent, currentGrossPerformancePercent,
currentNetPerformance, currentNetPerformance,
currentNetPerformancePercent, currentNetPerformancePercent,
currentValue, currentValue
isAllTimeHigh: true,
isAllTimeLow: false
} }
}; };
} }

2
libs/common/src/lib/interfaces/portfolio-performance.interface.ts

@ -5,6 +5,4 @@ export interface PortfolioPerformance {
currentNetPerformance: number; currentNetPerformance: number;
currentNetPerformancePercent: number; currentNetPerformancePercent: number;
currentValue: number; currentValue: number;
isAllTimeHigh: boolean;
isAllTimeLow: boolean;
} }

Loading…
Cancel
Save