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

refactor: deterministic queue execution #588

Merged

Conversation

uhliksk
Copy link
Contributor

@uhliksk uhliksk commented Jan 14, 2023

Description

All symbol processing will be done sequentially in the queue.

Related Issue

#587

Motivation and Context

Sequential processing in the queue is more deterministic than symbol locking which can occur at any time and can interrupt current job unexpectedly.

How Has This Been Tested?

Tested by refactored tests where lock/unlock symbols is replaced by job queueing.

Screenshots (if appropriate):

@chrisleekr chrisleekr added the enhancement New feature or request label Jan 14, 2023
@chrisleekr chrisleekr linked an issue Jan 14, 2023 that may be closed by this pull request
@chrisleekr
Copy link
Owner

@uhliksk

There is no feedback from me. Very clean and nice code refactoring. 👍

It's amazing.

I will merge in.

@chrisleekr chrisleekr merged commit 357bc0f into chrisleekr:master Jan 14, 2023
@uhliksk
Copy link
Contributor Author

uhliksk commented Jan 14, 2023

@chrisleekr Thank you. 👍

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

Successfully merging this pull request may close these issues.

Symbol locking can cause trailing trade interrupted unexpectedly
2 participants