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. \"}"}