API Reference

Current Open Orders

Rate Limit: 1200 requests per 60 seconds

Retrieve order details for all NEW/OPEN status.

Request

NameTypeMandatoryDescription
symStringNTrading pair unique identifier ,for example BINANCE_SPOT_BTC_USDT
exchangeStringNExchange type(BINANCE,OKX)
businessTypeStringNBusiness type(For example SPOT)
beginStringNBegin time
endStringNEnd time
pageStringNCurrent page (Default 1)
pageSizeStringNPage size(Default 1000, max 1000)

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

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
createAtStringCreate time
updateAtStringUpdate time
Language