Thomas Kaul 5 days 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/), 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). 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 ## 2.151.0 - 2025-04-11
### Added ### Added

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

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

4
package-lock.json

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

2
package.json

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

Loading…
Cancel
Save