|
@ -5,7 +5,8 @@ import { HasPermissionGuard } from '@ghostfolio/api/guards/has-permission.guard' |
|
|
import { MarketDataService } from '@ghostfolio/api/services/market-data/market-data.service'; |
|
|
import { MarketDataService } from '@ghostfolio/api/services/market-data/market-data.service'; |
|
|
import { SymbolProfileService } from '@ghostfolio/api/services/symbol-profile/symbol-profile.service'; |
|
|
import { SymbolProfileService } from '@ghostfolio/api/services/symbol-profile/symbol-profile.service'; |
|
|
import { |
|
|
import { |
|
|
ghostfolioFearAndGreedIndexDataSource, |
|
|
ghostfolioFearAndGreedIndexDataSourceCryptocurrencies, |
|
|
|
|
|
ghostfolioFearAndGreedIndexDataSourceStocks, |
|
|
ghostfolioFearAndGreedIndexSymbolCryptocurrencies, |
|
|
ghostfolioFearAndGreedIndexSymbolCryptocurrencies, |
|
|
ghostfolioFearAndGreedIndexSymbolStocks |
|
|
ghostfolioFearAndGreedIndexSymbolStocks |
|
|
} from '@ghostfolio/common/config'; |
|
|
} from '@ghostfolio/common/config'; |
|
@ -59,14 +60,14 @@ export class MarketDataController { |
|
|
this.symbolService.get({ |
|
|
this.symbolService.get({ |
|
|
includeHistoricalData, |
|
|
includeHistoricalData, |
|
|
dataGatheringItem: { |
|
|
dataGatheringItem: { |
|
|
dataSource: 'MANUAL', |
|
|
dataSource: ghostfolioFearAndGreedIndexDataSourceCryptocurrencies, |
|
|
symbol: ghostfolioFearAndGreedIndexSymbolCryptocurrencies |
|
|
symbol: ghostfolioFearAndGreedIndexSymbolCryptocurrencies |
|
|
} |
|
|
} |
|
|
}), |
|
|
}), |
|
|
this.symbolService.get({ |
|
|
this.symbolService.get({ |
|
|
includeHistoricalData, |
|
|
includeHistoricalData, |
|
|
dataGatheringItem: { |
|
|
dataGatheringItem: { |
|
|
dataSource: ghostfolioFearAndGreedIndexDataSource, |
|
|
dataSource: ghostfolioFearAndGreedIndexDataSourceStocks, |
|
|
symbol: ghostfolioFearAndGreedIndexSymbolStocks |
|
|
symbol: ghostfolioFearAndGreedIndexSymbolStocks |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|