Feature/add dialog for benchmarks in markets overview (#3493)

* Add benchmarks dialog in markets overview

* Update changelog
This commit is contained in:
Thomas Kaul
2024-06-15 09:49:54 +02:00
committed by GitHub
parent 79a7e12a9f
commit 519827045a
17 changed files with 302 additions and 13 deletions

View File

@@ -3,6 +3,7 @@ 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: {
@@ -11,6 +12,7 @@ export interface Benchmark {
performancePercent: number;
};
};
symbol: EnhancedSymbolProfile['symbol'];
trend50d: BenchmarkTrend;
trend200d: BenchmarkTrend;
}