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

mm,ui: double accounting for locked funds in allocation calcs #2991

Open
buck54321 opened this issue Sep 24, 2024 · 0 comments · May be fixed by #2992
Open

mm,ui: double accounting for locked funds in allocation calcs #2991

buck54321 opened this issue Sep 24, 2024 · 0 comments · May be fixed by #2992

Comments

@buck54321
Copy link
Member

In our front end bot allocation calculations, we're subtracting the inventory for already running bots from the available balance for an asset, but some of that inventory is already subtracted from the available balance because it is locked in orders. See BotMarket.adjustedBalances -> dexQuoteAvail for an entry point to trace the issue.

@buck54321 buck54321 linked a pull request Sep 24, 2024 that will close this issue
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 a pull request may close this issue.

1 participant