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

Attempt All Possible Rebalancing Strategies Before Giving Up #24

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

dowlandaiello
Copy link
Contributor

Currently, the bot will not successfully rebalance many tokens. This is due to giving up after attempting the first possible execution plan, which often times is not a profitable or valid execution plan. This PR fixes this bug by attempting all possible execution plans until one succeeds for each rebalancing denom.

@dowlandaiello dowlandaiello requested a review from stiiifff August 18, 2024 20:57
@dowlandaiello dowlandaiello self-assigned this Aug 18, 2024
@dowlandaiello dowlandaiello added bug Something isn't working enhancement New feature or request labels Aug 18, 2024
@dowlandaiello dowlandaiello requested a review from uditvira August 26, 2024 14:38
@dowlandaiello dowlandaiello merged commit e3bd8fa into main Aug 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants