-
Notifications
You must be signed in to change notification settings - Fork 102
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: balance accounting is broken in some way #3133
Comments
May I ask ..
I am running DCR-USDT and USDC-USDT mm bots and I see no negative values yet on the Market Maker Settings page when I try to create a third bot for DCR-USDC and I am close to using all the funds in the funding wallets. Anyway I will leave the 2 bots running overnight and look tomorrow |
What I do see often on the running MM page is: Profit | -0.00% .. although sadly I never made profit so am unable to drill down on that although I suspect it may perhaps be a formatting issue in the JS. |
Note: I am running on master as updated today |
What I see with running 2 bots when looking to make a third bot for USDC-USDT: Market Maker Settings: |
That looks similar to what I saw, I don't know if it is limited to EVM-based assets or if MM bot keeps track of balances on his own and doesn't account for something. |
I think we can assume any coin for now since we reproduced on 2 already .. thanks. |
Do you have the full log or at least the core lines leading up to the above trace? Unfortunately the errors captured at the web-server level are very general. |
Exactly, I don't see anything relevant to this issue in my own logs (so not sharing - also since it'd be hard to anonymize those) |
Different from the issue described above (but possibly related in some way), (cc @martonp) today I'm observing a bunch of "negative dex balance" MM bot errors with BTC-DCR market:
and it doesn't seem to affect bot operations in any noticeable way, after stopping & starting bot again via UI the error appears again in logs (but negative value reported is somewhat different):
what's curious is it seems that same value shows as "profit" (with positive sign): |
I've noticed the balance accounting for MM bot sometimes shows negative value for
Available
balance on "Market Maker Settings" pageand if I try to run the bot the following mirroring error shows up in logs (note screenshot and this log line are from different bot-runs hence those negative values are different):
this happens when I have DCR-USDC bot running and I navigate to USDC-USDT bot - so both bots use USDC and hence somehow interfere with each other.
The text was updated successfully, but these errors were encountered: