POST
/
v1
/
batch-order
curl --request POST \
  --url https://api-evm.orderly.org/v1/batch-order \
  --header 'Content-Type: application/json' \
  --header 'orderly-account-id: <orderly-account-id>' \
  --header 'orderly-key: <orderly-key>' \
  --header 'orderly-signature: <orderly-signature>' \
  --header 'orderly-timestamp: <orderly-timestamp>' \
  --data '{
  "orders": [
    {
      "symbol": "<string>",
      "client_order_id": "<string>",
      "order_type": "<string>",
      "order_price": 123,
      "order_quantity": 123,
      "order_amount": 123,
      "reduce_only": true,
      "visible_quantity": 123,
      "side": "<string>",
      "order_tag": "<string>"
    }
  ]
}'
{
  "success": true,
  "timestamp": 1702989203989,
  "data": {
    "rows": [
      {
        "order_id": 13,
        "client_order_id": "testclientid",
        "order_type": "LIMIT",
        "order_price": 100.12,
        "order_quantity": 0.987654,
        "order_amount": 0.8,
        "error_message": "none"
      }
    ]
  }
}

Headers

orderly-timestamp
string
required
orderly-account-id
string
required
orderly-key
string
required
orderly-signature
string
required
x-recv-window
number

Use this parameter to control the timeout threshold for placing order, unit in miliseconds

Body

application/json
orders
object[]

Response

200 - application/json
OK
success
boolean
required
data
object
required
timestamp
integer