Browse Source

Refactoring

pull/2916/head
Thomas Kaul 2 years ago
parent
commit
0449f367a0
  1. 2
      apps/api/src/services/data-provider/eod-historical-data/eod-historical-data.service.ts

2
apps/api/src/services/data-provider/eod-historical-data/eod-historical-data.service.ts

@ -245,7 +245,7 @@ export class EodHistoricalDataService implements DataProviderInterface {
currency:
currency ??
this.convertFromEodSymbol(code)?.replace(DEFAULT_CURRENCY, ''),
dataSource: DataSource.EOD_HISTORICAL_DATA,
dataSource: this.getName(),
marketPrice: close,
marketState: isToday(new Date(timestamp * 1000))
? 'open'

Loading…
Cancel
Save