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

Resolve "Hitting the max_investment ends in infinite loop" #38

Merged
merged 7 commits into from
Jan 8, 2025

Conversation

btschwertfeger
Copy link
Owner

Summary

By outsourcing the max_investment_reached calculation, we now have a more global access to these information. We also reduce the complexity of the new_buy_order function by no longer informing about hitting the maximum investment.

Additionally the local order book can now be filtered using exclusions.

@btschwertfeger btschwertfeger added the bug Something isn't working label Jan 8, 2025
@btschwertfeger btschwertfeger added this to the Upcoming Release milestone Jan 8, 2025
@btschwertfeger btschwertfeger self-assigned this Jan 8, 2025
@btschwertfeger btschwertfeger merged commit 843c731 into master Jan 8, 2025
21 checks passed
@btschwertfeger btschwertfeger deleted the fix-dead-loop branch January 8, 2025 06:52
@btschwertfeger btschwertfeger linked an issue Jan 8, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hitting the max_investment ends in infinite loop
1 participant