Thomas Kaul 1 day ago
committed by GitHub
parent
commit
6feefbcd2d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      CHANGELOG.md
  2. 16
      apps/api/src/services/market-data/market-data.service.ts
  3. 4
      package-lock.json
  4. 2
      package.json

6
CHANGELOG.md

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## 2.152.0-beta.1 - 2025-04-12
### Changed
- Optimized the query of the data range functionality (`getRange()`) in the market data service
## 2.151.0 - 2025-04-11
### Added

16
apps/api/src/services/market-data/market-data.service.ts

@ -75,17 +75,13 @@ export class MarketDataService {
}
],
where: {
dataSource: {
in: assetProfileIdentifiers.map(({ dataSource }) => {
return dataSource;
})
},
date: dateQuery,
symbol: {
in: assetProfileIdentifiers.map(({ symbol }) => {
return symbol;
})
}
OR: assetProfileIdentifiers.map(({ dataSource, symbol }) => {
return {
dataSource,
symbol
};
})
}
});
}

4
package-lock.json

@ -1,12 +1,12 @@
{
"name": "ghostfolio",
"version": "2.151.0",
"version": "2.152.0-beta.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "ghostfolio",
"version": "2.151.0",
"version": "2.152.0-beta.1",
"hasInstallScript": true,
"license": "AGPL-3.0",
"dependencies": {

2
package.json

@ -1,6 +1,6 @@
{
"name": "ghostfolio",
"version": "2.151.0",
"version": "2.152.0-beta.1",
"homepage": "https://ghostfol.io",
"license": "AGPL-3.0",
"repository": "https://github.com/ghostfolio/ghostfolio",

Loading…
Cancel
Save