|
|
@ -136,9 +136,6 @@ export class ExchangeRateDataService { |
|
|
|
getYesterday() |
|
|
|
); |
|
|
|
|
|
|
|
if (Object.keys(result).length !== this.currencyPairs.length) { |
|
|
|
// Load currencies directly from data provider as a fallback
|
|
|
|
// if historical data is not fully available
|
|
|
|
const quotes = await this.dataProviderService.getQuotes({ |
|
|
|
items: this.currencyPairs.map(({ dataSource, symbol }) => { |
|
|
|
return { dataSource, symbol }; |
|
|
@ -155,7 +152,6 @@ export class ExchangeRateDataService { |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
const resultExtended = result; |
|
|
|
|
|
|
|