"tradeType": "limit"
. For market orders, please see here.429
is received, it’s your obligation as an API user to back off and not spam the API.429
responses could result in a ban.429 Too Many Requests
response.
Note that the rate limit counter is updated every minute (not every second).
400
status code.
We also enforce a tick size, lot size and minimum order value for each market. Please refer to Product Specifications page for details.
order
object, quantity
represents the remaining quantity and filledQuantity
represents the cumulative filled quantity.
The two values will add up to the original order quantity.
1
. To update the leverage, you can use Update Leverage request.
Acknowledgment | Confirmation | |
---|---|---|
Body | order created, pending acceptance | order accepted |
Order Status | pending | active |
Status Code | 202 | 200 |
postOnly
option to true
or false
. By default, this option is set to false
, which means the order may match with an existing order in the order book and you may become the taker.
We provide a post-only option for limit orders. When this option is set to true
, the order will only be placed if it does not match with an existing order in the order book.
Using post-only orders will ensure that you are always the maker and never the taker.
If the order would match with an existing order, you will first receive the normal Acknowledgment and Confirmation responses, followed by a 400
response with resultType: rejectOrder
.
For more details, refer to ourOrder Rejected Notifications
400
status code and an error message receive window exceeded, order rejected
indicating that the request has timed out.
The order status in the response will be set to rejected
. You can then retry the request with a new clientRequestId
.
ETH-USD
. To get all supported markets, call /api/v1/markets endpoint.Sec-WebSocket-Protocol
headers in the WebSocket handshake request or on connect()
.