API Reference

Current Open Sub Orders

Rate Limit: 3 requests per 10 seconds

Retrieve order details for all NEW/OPEN status.

Request

NameTypeMandatoryDescription
algoOrderIdStringYAlgo order ID
pageStringNCurrent page (Default 1)
pageSizeStringNPage size(Default 1000, max 1000)

Tip: query order state in NEW/OPEN status and in current algoOrderId.

Response

FieldTypeRemark
portfolioIdStringPortfolio ID
portfolioNameStringPortfolio Name
orderIdStringOrder ID
clientOrderIdStringCustomer-defined order ID
orderStateStringOrder state(NEW, OPEN, CANCELLED, FILLED, PARTIALLY_FILLED, REJECT, FAIL)
symStringTrading pair unique identifier ,for example BINANCE_SPOT_BTC_USDT
sideStringSide(BUY,SELL)
exchangeOrderTypeStringExchange order type(LIMIT, MARKET)
exchangeTypeStringExchange type(BINANCE,OKX)
businessTypeStringBusiness type(For example SPOT)
orderQtyStringOrder quantity, note: trading unit of OKX is the number of contracts/ trading unit of Binance is the number of coin
quoteOrderQtyStringOrder quote quantity, only use for Spot Market Buy order
limitPriceStringOrder price
timeInForceStringTimeinforce (default GTC,enums:GTC,IOC,FOK,GTX)
reasonStringFail message
executedQtyStringExecuted quantity, note: trading unit of OKX is the number of contracts/ trading unit of Binance is the number of coin
executedAvgPriceStringAverage transaction price
executedAmountStringExecuted quote quantity
reduceOnlyStringReduce position orders only, "true" or "false"
lastExecutedQtyStringLast transaction price
lastExecutedPriceStringLast transaction price
lastExecutedAmountStringLast transaction amount
feeStringExecuted transaction fee
leverageIntegerLeverage
borrowAmountStringBorrow amount
borrowAssetStringBorrow asset
positionSideStringPosition side, NONE/LONG/SHORT, default NONE. NONE stands for one-way mode.
createAtStringCreate time
updateAtStringUpdate time
Language