Bugfix/fix fear and greed data source (#840)
* Fix data source of Fear & Greed Index * Update changelog
This commit is contained in:
parent
8ae041faa0
commit
82ede2fe32
@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fixed an issue with changing the investment horizon in the chart of the _FIRE_ calculator
|
- Fixed an issue with changing the investment horizon in the chart of the _FIRE_ calculator
|
||||||
|
- Fixed the data source of the _Fear & Greed Index_ (market mood)
|
||||||
|
|
||||||
## 1.138.0 - 16.04.2022
|
## 1.138.0 - 16.04.2022
|
||||||
|
|
||||||
|
@ -52,9 +52,15 @@ export class InfoService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.configurationService.get('ENABLE_FEATURE_FEAR_AND_GREED_INDEX')) {
|
if (this.configurationService.get('ENABLE_FEATURE_FEAR_AND_GREED_INDEX')) {
|
||||||
info.fearAndGreedDataSource = encodeDataSource(
|
if (
|
||||||
ghostfolioFearAndGreedIndexDataSource
|
this.configurationService.get('ENABLE_FEATURE_SUBSCRIPTION') === true
|
||||||
);
|
) {
|
||||||
|
info.fearAndGreedDataSource = encodeDataSource(
|
||||||
|
ghostfolioFearAndGreedIndexDataSource
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
info.fearAndGreedDataSource = ghostfolioFearAndGreedIndexDataSource;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.configurationService.get('ENABLE_FEATURE_IMPORT')) {
|
if (this.configurationService.get('ENABLE_FEATURE_IMPORT')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user