@ -74,15 +74,17 @@ export class MarketDataService {
}
],
where: {
OR: uniqueAssets.map(({ dataSource, symbol }) => ({
OR: uniqueAssets.map(({ dataSource, symbol }) => {
AND: [
return {
{
dataSource,
symbol,
date: dateQuery
]
}))
};
})
});