Unauthorized -- Your Public/Private API key is wrong.
Not Found -- No such object
Wrong Method - You are using wrong http method for the API.
Too Many Requests -- You exceeded request rate limit.
Internal Server Error -- We had a problem with our server. Try again later.
Service Unavailable -- We're temporarily offline for maintenance. Please try again later.
Expected Errors for Submit Order
The expected errors when creating an order with the submit order endpoint are listed below. Review the meaning of the error you received.
One of the giving parameters is not correct. For the accuracy of parameters, you can check our Submit an Order page.
The balance amount is not enough for this operation. Check your balance amount using the /api/v1/users/balances endpoint.
The order quantity is less than the minimum required. You can view the minimum order amount from the /api/v2/server/exchangeinfo endpoint. You can avoid the FAILED_MIN_TOTAL_AMOUNT error with the minExchangeValue object.
Stop buy price must be above current price. You can check the current price information from the /api/v2/ticker endpoint with the last object.
Stop sell price must be bellow current price. You can check the current price information from the /api/v2/ticker endpoint with the last object.
Buy or sell price must be less than max. You can view the maximum Price information from the /api/v2/server/exchangeinfo endpoint with the maximumLimitOrderPrice object.
Quantity*price must be greater than min amount. You can view the Min total amount information from the /api/v2/server/exchangeinfo endpoint with the minAmount object.
Order submission failed due to open orders. Your free balance is not enough for this transaction. You can view your available balance with the free object from the /api/v1/users/balance endpoint. You may have an open order or a request to withdraw.
Market order is not open for the pair. You can view the orderMethods values from the /api/v2/server/exchangeinfo endpoint.
Less than 1/10 of the current price has been set. You can view the current limits using the maximumLimitOrder Price and minimumLimitOrderPrice objects from the /api/v2/server/exchange info endpoint.
More than *10 of the current price has been set. You can view the current limits using the maximumLimitOrder Price and minimumLimitOrderPrice objects from the /api/v2/server/exchange info endpoint.
Expected Errors for Cancel Order
orderId not found. Check your orderId information.
Closed order cannot be cancelled. This error is received if the orderId belongs to the market order or order status is not partial or untouched or the operation fails.
Maintenance work is in progress for the trading pair. Visit our status page for more detailed information. https://status.btcturk.com/