ghostfolio/libs/common/src/lib/interfaces/benchmark.interface.ts
Thomas Kaul 519827045a
Feature/add dialog for benchmarks in markets overview (#3493)
* Add benchmarks dialog in markets overview

* Update changelog
2024-06-15 09:49:54 +02:00

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