hummingbot
hummingbot copied to clipboard
Client: Error Message - Not meeting the exchange minimum order amount
Describe the bug Client will display a known error, when order_amount is set below the exchange minimum order amount.
Would it be possible to improve this error message to something with more detail, as so the user can easily understand why it was shown?
Possible behavior:
bid_order_amount_is_below_min_exchange_rules
ask_order_amount_is_below_min_exchange_rules
In reference to PR5460
2022-07-27 03:08:25,002 - 1322747 - hummingbot.core.utils.async_utils - ERROR - Unhandled error in background task: Order amount must be greater than zero.
Traceback (most recent call last):
File "/home/ubuntu/Hummingbot/pull_request/development/hummingbot/core/utils/async_utils.py", line 9, in safe_wrapper
return await c
File "/home/ubuntu/Hummingbot/pull_request/development/hummingbot/connector/exchange/ascend_ex/ascend_ex_exchange.py", line 913, in _create_order
raise ValueError("Order amount must be greater than zero.")
ValueError: Order amount must be greater than zero.
2022-07-27 03:08:25,004 - 1322747 - hummingbot.core.utils.async_utils - ERROR - Unhandled error in background task: Order amount must be greater than zero.
Traceback (most recent call last):
File "/home/ubuntu/Hummingbot/pull_request/development/hummingbot/core/utils/async_utils.py", line 9, in safe_wrapper
return await c
File "/home/ubuntu/Hummingbot/pull_request/development/hummingbot/connector/exchange/ascend_ex/ascend_ex_exchange.py", line 913, in _create_order
raise ValueError("Order amount must be greater than zero.")
ValueError: Order amount must be greater than zero.
2022-07-27 02:53:25,002 - 1321019 - hummingbot.core.utils.async_utils - ERROR - Unhandled error in background task: Order amount must be greater than zero.
Traceback (most recent call last):
File "/home/ubuntu/Hummingbot/pull_request/master/hummingbot/core/utils/async_utils.py", line 9, in safe_wrapper
return await c
File "/home/ubuntu/Hummingbot/pull_request/master/hummingbot/connector/exchange/ascend_ex/ascend_ex_exchange.py", line 913, in _create_order
raise ValueError("Order amount must be greater than zero.")
ValueError: Order amount must be greater than zero.
2022-07-27 02:53:25,004 - 1321019 - hummingbot.core.utils.async_utils - ERROR - Unhandled error in background task: Order amount must be greater than zero.
Traceback (most recent call last):
File "/home/ubuntu/Hummingbot/pull_request/master/hummingbot/core/utils/async_utils.py", line 9, in safe_wrapper
return await c
File "/home/ubuntu/Hummingbot/pull_request/master/hummingbot/connector/exchange/ascend_ex/ascend_ex_exchange.py", line 913, in _create_order
raise ValueError("Order amount must be greater than zero.")
ValueError: Order amount must be greater than zero.
Here are the steps to reproduce the issue (see attachments in the section below): Steps to reproduce:
- Connect Ascendex API
- Create simple
Pure_MM strategy - Set order amount just below min order amount (0.003 ETH)
- Start strategy and observe log pane
...
Screenshots

Release version Dev1.7.0 & Master v1.6.0
Attachments dev1.7.0_logs_conf_pure_mm_1.log m_v1.6.0logs_conf_pure_mm_1.log