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,
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
}
};
}

2
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;
}

Loading…
Cancel
Save