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

Simplify balance trade logic... #1241

Merged
merged 2 commits into from
Aug 21, 2023

Conversation

tgibson11
Copy link
Contributor

  1. Eliminate use of status objects

  2. Update the order attributes directly to avoid having to return multiple values

One might argue that the calls to the rollback function are repetitive, but in this case I think the reduced complexity and improved readability is worth a little repetition.

@robcarver17 robcarver17 merged commit 84629ee into robcarver17:develop Aug 21, 2023
2 checks passed
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