POST
/
sapi
/
v1
/
batchOrders
curl --request POST \
  --url https://openapi.odyssey.trade/sapi/v1/batchOrders \
  --header 'Content-Type: application/json' \
  --data '{
  "symbol": "<string>",
  "orders": [
    {
      "volume": 123,
      "side": "BUY",
      "batch_type": "LIMIT",
      "price": 123
    }
  ]
}'
{
  "ids": [
    "<string>"
  ]
}

Body

application/json
symbol
string
required
orders
object[]
required

An object with information about a single order in batch orders.

Response

200
application/json
Successful Response

Response of the request: :class:odyssey_exchange_api.requests.SpotBatchOrdersRequest.

Contains an array of created order_ids.

ids
string[]
required