Batch order
This endpoint allows users to submit multiple order operations in a single request. Batched orders are executed in the order they are batched in, and will not be split up by other users' orders.
Last updated
This endpoint allows users to submit multiple order operations in a single request. Batched orders are executed in the order they are batched in, and will not be split up by other users' orders.
Last updated
The provides a comprehensive example on using this endpoint
"actions"
array
required
List of order actions to perform Each action has an "type" field and action-specific "data"
See next three rows
"type"
string
required
Specifies type of action. This is DIFFERENT to the "type" used in signature headers
"Create" "Cancel"
(case sensitive)
"data"
object
required
Contains signed request payloads of individual "Create" or "Cancel" actions
Status 200: Batch operations processed successfully
Status 400: Bad request
Status 500: Internal server error
See code block below. Messages and corresponding fields are identical to and requests.