Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to 15 mintues data, if less than 1.5 hour of 5 min data #308

Merged
merged 8 commits into from
Nov 8, 2024

Conversation

peterdudfield
Copy link
Collaborator

@peterdudfield peterdudfield commented Nov 7, 2024

Pull Request

Description

Switch over to 15 minutes data, if less than 1 hour and 30 hour of 5 min data. Currently it only swicthes if there is no data
#286 ,

We do this by checking if there is 75% of the "history" data we need. In live history is set to 120 minutes

had to pin flex-parser - hgrecco/flexparser#12

How Has This Been Tested?

CI tests

  • Yes

Checklist:

  • My code follows OCF's coding style guidelines
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked my code and corrected any misspellings

@peterdudfield peterdudfield marked this pull request as draft November 7, 2024 11:02
@peterdudfield peterdudfield removed the request for review from devsjc November 7, 2024 11:02
@peterdudfield peterdudfield changed the title switch to 15 mintues data, if less than 1 hour of 5 min data switch to 15 mintues data, if less than 1.5 hour of 5 min data Nov 7, 2024
@peterdudfield peterdudfield marked this pull request as ready for review November 7, 2024 11:32
@peterdudfield peterdudfield merged commit f871f08 into main Nov 8, 2024
3 of 4 checks passed
@peterdudfield peterdudfield deleted the issue/reduce-tolrence branch November 8, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants