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

Conditions Monitor #7

Open
hadialaddin opened this issue Nov 13, 2021 · 0 comments
Open

Conditions Monitor #7

hadialaddin opened this issue Nov 13, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@hadialaddin
Copy link
Owner

Loops over all conditions every second to find if a condition is met to:

  • Add to Notifications Queue with message "Condition ID met on timestamp"
  • Moves associated asks to Tasks Executer

Conditions to support:

  • IF current_price "ABOVE/BELOW":
    - $"VALUE"
    - "-/+""VALUE"% of entry_price

Auto reject immediate conditions
Engine will automatically reject conditions that don't make sense based on current_price. Eg.: current_price is $60,000 and you try to create this condition: IF current_price "ABOVE" $"59,000" as practically it executes immediately and this might be a mistake.

@hadialaddin hadialaddin added the enhancement New feature or request label Nov 13, 2021
@hadialaddin hadialaddin added this to the Genie (v2.0) milestone Nov 13, 2021
@hadialaddin hadialaddin self-assigned this Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant