|
|
@ -79,13 +79,13 @@ export class CurrentRateService {
|
|
|
|
const result = [];
|
|
|
|
const result = [];
|
|
|
|
for (const symbol of symbols) {
|
|
|
|
for (const symbol of symbols) {
|
|
|
|
result.push({
|
|
|
|
result.push({
|
|
|
|
|
|
|
|
symbol,
|
|
|
|
date: today,
|
|
|
|
date: today,
|
|
|
|
marketPrice: this.exchangeRateDataService.toCurrency(
|
|
|
|
marketPrice: this.exchangeRateDataService.toCurrency(
|
|
|
|
dataResultProvider?.[symbol]?.marketPrice ?? 0,
|
|
|
|
dataResultProvider?.[symbol]?.marketPrice ?? 0,
|
|
|
|
dataResultProvider?.[symbol]?.currency,
|
|
|
|
dataResultProvider?.[symbol]?.currency,
|
|
|
|
userCurrency
|
|
|
|
userCurrency
|
|
|
|
),
|
|
|
|
)
|
|
|
|
symbol: symbol
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|