Bugfix/persist intraday market data only if market state is open (#3509)

* Persist INTRADAY data only if market state is open

* Update changelog
pull/3514/head
Thomas Kaul 6 months ago committed by GitHub
parent c4499df74c
commit 8cda43bb63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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).
## Unreleased
### Fixed
- Changed the mechanism of the `INTRADAY` data gathering to persist data only if the market state is `OPEN`
## 2.90.0 - 2024-06-22
### Added

@ -516,7 +516,8 @@ export class DataProviderService {
.filter((symbol) => {
return (
isNumber(response[symbol].marketPrice) &&
response[symbol].marketPrice > 0
response[symbol].marketPrice > 0 &&
response[symbol].marketState === 'open'
);
})
.map((symbol) => {

Loading…
Cancel
Save