19 lines
532 B
TypeScript
19 lines
532 B
TypeScript
import { BenchmarkTrend } from '@ghostfolio/common/types/';
|
|
|
|
import { EnhancedSymbolProfile } from './enhanced-symbol-profile.interface';
|
|
|
|
export interface Benchmark {
|
|
dataSource: EnhancedSymbolProfile['dataSource'];
|
|
marketCondition: 'ALL_TIME_HIGH' | 'BEAR_MARKET' | 'NEUTRAL_MARKET';
|
|
name: EnhancedSymbolProfile['name'];
|
|
performances: {
|
|
allTimeHigh: {
|
|
date: Date;
|
|
performancePercent: number;
|
|
};
|
|
};
|
|
symbol: EnhancedSymbolProfile['symbol'];
|
|
trend50d: BenchmarkTrend;
|
|
trend200d: BenchmarkTrend;
|
|
}
|