Browse Source

Readd factor

pull/3858/head
Thomas Kaul 11 months ago
parent
commit
7d2c07bb46
  1. 11
      apps/api/src/services/data-provider/data-provider.service.ts

11
apps/api/src/services/data-provider/data-provider.service.ts

@ -666,12 +666,13 @@ export class DataProviderService {
} = {}; } = {};
for (const date in rootData) { for (const date in rootData) {
if (rootData[date].marketPrice === null) { if (isNumber(rootData[date].marketPrice)) {
continue; data[date] = {
marketPrice: new Big(factor)
.mul(rootData[date].marketPrice)
.toNumber()
};
} }
data[date] = {
marketPrice: rootData[date].marketPrice
};
} }
return data; return data;

Loading…
Cancel
Save