Skip to main content

Query Sub Orders(USER_DATA)

API Description

Get respective sub orders for a specified algoId

HTTP Request

GET /sapi/v1/algo/spot/subOrders

Request Weight(IP)

1

Request Parameters

NameTypeMandatoryDescription
algoIdLONGYES
pageINTNODefault is 1
pageSizeINTNOMIN 1, MAX 100; Default 100
recvWindowLONGNO
timestampLONGYES

Response Example

{
"total": 1,
"executedQty": "1.000",
"executedAmt": "3229.44000000",
"subOrders": [
{
"algoId": 13723,
"orderId": 8389765519993908929,
"orderStatus": "FILLED",
"executedQty": "1.000",
"executedAmt": "3229.44000000",
"feeAmt": "-1.61471999",
"feeAsset": "USDT",
"bookTime": 1649319001964,
"avgPrice": "3229.44",
"side": "SELL",
"symbol": "ETHUSDT",
"subId": 1,
"timeInForce": "IMMEDIATE_OR_CANCEL",
"origQty": "1.000"
}
]
}