What does this error mean?
Error 51020 means your order amount is below the minimum required by OKX for that trading pair.
Why does this happen?
Every trading pair on OKX has a minimum order amount. If your Cryptohopper places an order that falls below this threshold, OKX rejects it with error 51020.
What you can do
Check the minimum trade amounts for your trading pair on OKX's market info page and make sure your quote currency amount is high enough to meet the minimum.
Remove the coin from your bot if you no longer want to trade it. Go to Configuration → Base config → Currencies and amounts and remove the coin.
Verify it's fixed
After making changes, monitor your bot's log to confirm orders are being placed without error 51020.
Error log example
04/18/2024 1:22:34 PM ERROR Error placing buy order, data: {"error":"{\"code\":\"51020\",\"message\":\"Order amount should be greater than the minimum available amount\"}"}
