Skip to main content
All CollectionsTrading Errors & Troubleshooting
Why do I see error code '51008 order failed' on OKX
Why do I see error code '51008 order failed' on OKX

OKX trading bot: '51008 order failed' indicates insufficient quote currency funds.

Pete Darby avatar
Written by Pete Darby
Updated over 6 months ago

When you see the error message '51008 order failed' in your OKX trading bot, it means you have insufficient funds of the quote currency to open a new position.

You can check the available funds of your quote currency under Current assets on the Dashboard or under the $ symbol on the Advanced Dashboard to see how much is available for opening new positions.

A similar error in the trading bot output looks like this:

05/22/2024 6:25:02 PM ERROR Error placing buy order, data: {"error":"{"code":"51008","message":"Order failed. Insufficient EUR balance in account. "}"}

05/22/2024 6:25:02 PM ERROR Error placing buy order, data: {"error":"{\"code\":\"51008\",\"message\":\"Order failed. Insufficient EUR balance in account. \"}"}

Did this answer your question?