|
@ -119,14 +119,16 @@ export class BenchmarkService { |
|
|
const assetProfiles = |
|
|
const assetProfiles = |
|
|
await this.symbolProfileService.getSymbolProfilesByIds(symbolProfileIds); |
|
|
await this.symbolProfileService.getSymbolProfilesByIds(symbolProfileIds); |
|
|
|
|
|
|
|
|
return assetProfiles.map(({ dataSource, id, name, symbol }) => { |
|
|
return assetProfiles |
|
|
|
|
|
.map(({ dataSource, id, name, symbol }) => { |
|
|
return { |
|
|
return { |
|
|
dataSource, |
|
|
dataSource, |
|
|
id, |
|
|
id, |
|
|
name, |
|
|
name, |
|
|
symbol |
|
|
symbol |
|
|
}; |
|
|
}; |
|
|
}); |
|
|
}) |
|
|
|
|
|
.sort((a, b) => a.name.localeCompare(b.name)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public async getMarketDataBySymbol({ |
|
|
public async getMarketDataBySymbol({ |
|
|