Query Margin Account's All Orders (USER_DATA)
- 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.
Weight(IP): 200
Request Limit: 60 times/min per IP
Query parameters
Trading symbol, e.g. BNBUSDT
- TRUE - For isolated margin
- FALSE - Default, not for isolated margin
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
Margin order list
Example response
[
{
"clientOrderId": "ZwfQzuDIGpceVhKW5DvCmO",
"cummulativeQuoteQty": "0.00000000",
"executedQty": "0.00000000",
"icebergQty": "0.00000000",
"orderId": 213205622,
"origQty": "0.30000000",
"price": "0.00493630",
"side": "SELL",
"status": "NEW",
"stopPrice": "0.00000000",
"symbol": "BNBBTC",
"time": 1562133008725,
"timeInForce": "GTC",
"type": "LIMIT",
"updateTime": 1562133008725,
"selfTradePreventionMode": "NONE"
}
]Changes
Changed in 2 of the 26 revisions of this API.622
- ○
added the required property
items/selfTradePreventionModeto 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/isIsolatedbecame 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/origQtybecame 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
- ▲