All Orders (USER_DATA)
Get all account orders; active, canceled, or filled..
- If orderId is set, it will get orders >= that orderId. Otherwise most recent orders are returned.
- For some historical orders cummulativeQuoteQty will be < 0, meaning the data is not available at this time.
- If startTime and/or endTime provided, orderId is not required
Weight(IP): 20
Query parameters
Trading symbol, e.g. BNBUSDT
Order id
UTC timestamp in ms
UTC timestamp in ms
Default 500; max 1000.
The value cannot be greater than 60000
UTC timestamp in ms
Signature
Response
Current open orders
Example response
[
{
"symbol": "LTCBTC",
"orderId": 1,
"orderListId": -1,
"clientOrderId": "myOrder1",
"price": "0.1",
"origQty": "1.0",
"executedQty": "0.0",
"cummulativeQuoteQty": "0.0",
"status": "NEW",
"timeInForce": "GTC",
"type": "LIMIT",
"side": "BUY",
"stopPrice": "0.0",
"icebergQty": "0.0",
"time": 1499827319559,
"updateTime": 1499827319559,
"workingTime": 1499827319559,
"origQuoteOrderQty": "0.00000000",
"selfTradePreventionMode": "NONE",
"preventedQuantity": "1.200000"
}
]Changes
Changed in 3 of the 26 revisions of this API.626
- ○
added the optional property
items/preventedMatchIdto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/preventedQuantityto the response with the200statusresponse-optional-property-added
- ○
- ○
added the required property
items/selfTradePreventionModeto the response with the200statusresponse-required-property-added
- ○
added the required property
items/workingTimeto the response with the200statusresponse-required-property-added
- ○
- ▲
for the
queryrequest parameterendTime, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterlimit, the type/format was changed frominteger/tointeger/int32request-parameter-type-changed
- ▲
for the
queryrequest parameterorderId, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterrecvWindow, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterstartTime, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parametertimestamp, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ○
the response property
codebecame required for the status400response-property-became-required
- ○
the response property
codebecame required for the status401response-property-became-required
- ○
the response property
items/clientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
items/cummulativeQuoteQtybecame required for the status200response-property-became-required
- ○
the response property
items/executedQtybecame required for the status200response-property-became-required
- ○
the response property
items/icebergQtybecame required for the status200response-property-became-required
- ○
the response property
items/isWorkingbecame required for the status200response-property-became-required
- ○
the response property
items/orderIdbecame required for the status200response-property-became-required
- ○
the response property
items/orderListIdbecame required for the status200response-property-became-required
- ○
the response property
items/origQtybecame required for the status200response-property-became-required
- ○
the response property
items/origQuoteOrderQtybecame required for the status200response-property-became-required
- ○
the response property
items/pricebecame required for the status200response-property-became-required
- ○
the response property
items/sidebecame required for the status200response-property-became-required
- ○
the response property
items/statusbecame required for the status200response-property-became-required
- ○
the response property
items/stopPricebecame required for the status200response-property-became-required
- ○
the response property
items/symbolbecame required for the status200response-property-became-required
- ○
the response property
items/timebecame required for the status200response-property-became-required
- ○
the response property
items/timeInForcebecame required for the status200response-property-became-required
- ○
the response property
items/typebecame required for the status200response-property-became-required
- ○
the response property
items/updateTimebecame required for the status200response-property-became-required
- ○
the response property
msgbecame required for the status400response-property-became-required
- ○
the response property
msgbecame required for the status401response-property-became-required
- ▲