Browse Source

feat: add interface and types

pull/2575/head
Dhoni77 2 years ago
committed by Thomas
parent
commit
4c57b898a5
  1. 3
      libs/common/src/lib/interfaces/benchmark.interface.ts
  2. 1
      libs/common/src/lib/types/benchmark-trend-type.type.ts

3
libs/common/src/lib/interfaces/benchmark.interface.ts

@ -1,3 +1,4 @@
import { BenchmarkTrend } from '../types/benchmark-trend-type.type';
import { EnhancedSymbolProfile } from './enhanced-symbol-profile.interface';
export interface Benchmark {
@ -7,6 +8,8 @@ export interface Benchmark {
allTimeHigh: {
date: Date;
performancePercent: number;
trend50d: BenchmarkTrend;
trend200d: BenchmarkTrend;
};
};
}

1
libs/common/src/lib/types/benchmark-trend-type.type.ts

@ -0,0 +1 @@
export type BenchmarkTrend = 'DOWN' | 'NEUTRAL' | 'UP';
Loading…
Cancel
Save