v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Spot Algo

Query Sub Orders

Get respective sub orders for a specified algoId

Weight(IP): 1

get/sapi/v1/algo/spot/subOrders

Query parameters

algoIdinteger required
pageinteger
Example:1

Default 1

pageSizestring

MIN 1, MAX 100; Default 100

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

twap sub orders

totalinteger required
executedQtystring required
executedAmtstring required

Example response

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