Browse Source
Merge branch 'main' into feat/GF-3866
pull/3867/head
Thomas Kaul
11 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
11 additions and
3 deletions
-
CHANGELOG.md
-
apps/api/src/services/data-provider/data-provider.service.ts
|
|
@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
- Set up a git-hook via `husky` to lint and format the changes before a commit |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
- Handled an exception in the historical market data gathering of derived currencies |
|
|
|
|
|
|
|
## 2.112.0 - 2024-10-03 |
|
|
|
|
|
|
|
### Added |
|
|
|
|
|
@ -666,9 +666,13 @@ export class DataProviderService { |
|
|
|
} = {}; |
|
|
|
|
|
|
|
for (const date in rootData) { |
|
|
|
data[date] = { |
|
|
|
marketPrice: new Big(factor).mul(rootData[date].marketPrice).toNumber() |
|
|
|
}; |
|
|
|
if (isNumber(rootData[date].marketPrice)) { |
|
|
|
data[date] = { |
|
|
|
marketPrice: new Big(factor) |
|
|
|
.mul(rootData[date].marketPrice) |
|
|
|
.toNumber() |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
return data; |
|
|
|