Browse Source

Merge branch 'main' into bugfix/fix-horizontal-overflow-in-historical-market-data-table-of-admin-control-panel

pull/3515/head
Thomas Kaul 1 year ago
committed by GitHub
parent
commit
e1a156ffd0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      CHANGELOG.md
  2. 7
      apps/api/src/services/data-provider/manual/manual.service.ts

3
CHANGELOG.md

@ -9,8 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Changed the mechanism of the `INTRADAY` data gathering to persist data only if the market state is `OPEN`
- Fixed the horizontal overflow in the historical market data table of the admin control panel
- Changed the mechanism of the `INTRADAY` data gathering to persist data only if the market state is `OPEN`
- Fixed the creation of activities with `MANUAL` data source (with no historical market data)
## 2.90.0 - 2024-06-22

7
apps/api/src/services/data-provider/manual/manual.service.ts

@ -167,9 +167,10 @@ export class ManualService implements DataProviderInterface {
});
for (const { currency, symbol } of symbolProfiles) {
let marketPrice = marketData.find((marketDataItem) => {
return marketDataItem.symbol === symbol;
})?.marketPrice;
let marketPrice =
marketData.find((marketDataItem) => {
return marketDataItem.symbol === symbol;
})?.marketPrice ?? 0;
response[symbol] = {
currency,

Loading…
Cancel
Save