Closed mrhzysbl closed 1 year ago
Attaching logs with DEBUG mode enabled:
If you take a look at the available balance at the moment this message shows up, it is the case that you'd have sufficient balance to place the buy order but then you won't have enough to place the sell order. Once the first order gets successfully canceled, you stop receiving that message because the available balance is now sufficient for both orders. The real issue here is the fact that the second order failed to cancel, but debug logging is not enabled for that log, so I don't have the extra information to try to diagnose it.
No issues longer found when creating orders/balance updates
Summary and Screenshots
Getting insufficient balance error when the bot is trying to cancel the orders. After the cancellation, it will prompt a message regarding insufficient balance and then only 1 order will be created on the next refresh.
https://user-images.githubusercontent.com/120451804/230330453-f5965823-5af5-4a7f-ad4c-404360c335a2.mov
Steps To Reproduce
Expected Results
The orders will be cancelled without any errors.
Test Result Comparison
n/a
Attachments
Inj_balance.zip
Another QA tried to replicate the issue and is also getting the same error. Here's the file. Injective_perp.zip