Closed rennel-tabing closed 4 years ago
After a series of tests on different pairs, we have confirmed that this behavior occurs on token pairs that have price with 8 decimal digit (price is below 1000 Satoshi) and the issue is linked to bug #1618. Since bot detects up to 7 decimal digit, it affects the mid-price and calculation of orders. The ask/sell price is affected, as most of the time, it's hitting the same price as the mid-price or within the midprice range. Increasing the ask threshold will allow the creation of sell orders.
Confirm fix on PR #1624, use different bid and ask threshold and verified that sell orders are created as long as the balance is enough and within the target base percentage.
Inventory skew = False
Inventory skew = True
Fix will be in the upcoming 0.26.0
release.
Describe the bug // A clear and concise description of what the bug is. There is an unusual case where in the bot will only place buy orders
Steps To Reproduce // A concise description of the steps to reproduce the buggy behavior:
** It seems that the issue is more likely to happen if you are using a spread that is less than 0.1%
Here are the results that I have run
Screenshots // If applicable, add screenshots to help explain your problem.
Only bid order was placed even if there is enough inventory
Release version // Include your bot's version number (Can be found at the upper left corner of your CLI). 0.25.0 dev-0.26.0
Attachments
WARNING: Do NOT publish any exchange API keys or your wallet's private key. Whoever has access to them may steal your assets!
Optional: your discord username: Optional: your ETH address: (If you want to participate in the bug bounty)