Feature/add historical data chart of fear and greed index (#515)
* Add historical data chart of market mood * Update changelogpull/516/head
parent
563f354e7e
commit
3e82de6b21
@ -1,7 +1,9 @@
|
||||
import { HistoricalDataItem } from '@ghostfolio/api/app/portfolio/interfaces/portfolio-position-detail.interface';
|
||||
import { DataSource } from '@prisma/client';
|
||||
|
||||
export interface SymbolItem {
|
||||
currency: string;
|
||||
dataSource: DataSource;
|
||||
historicalData: HistoricalDataItem[];
|
||||
marketPrice: number;
|
||||
}
|
||||
|
@ -1,13 +1,13 @@
|
||||
<div class="align-items-center d-flex flex-row">
|
||||
<div class="h3 mb-0 mr-2">{{ fearAndGreedIndexEmoji }}</div>
|
||||
<div class="h2 mb-0 mr-2">{{ fearAndGreedIndexEmoji }}</div>
|
||||
<div>
|
||||
<div class="h3 mb-0">
|
||||
<div class="h4 mb-0">
|
||||
<span class="mr-2">{{ fearAndGreedIndexText }}</span>
|
||||
<small class="text-muted"
|
||||
><strong>{{ fearAndGreedIndex }}</strong
|
||||
>/100</small
|
||||
>
|
||||
</div>
|
||||
<small class="d-block" i18n>Market Mood</small>
|
||||
<small class="d-block" i18n>Current Market Mood</small>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in new issue