Skip to main content

Get Execution

Query users' execution records, sorted by execTime in descending order.

Normal account covers: USDT perpetual / Inverse contract

tip
  • You may have multiple executions in a single order.
  • You can query by symbol, baseCoin, orderId and orderLinkId, and if you pass multiple params, the system will process them according to this priority: orderId > orderLinkId > symbol > baseCoin.

HTTP Request

GET /cloud/trade/v3/execution/list

Request Parameters

ParameterRequiredTypeComments
categorytruestringProduct type
  • Normal account: linear, inverse
symbolfalsestringSymbol name
orderIdfalsestringOrder ID
startTimefalseintegerThe start timestamp (ms)
endTimefalseintegerThe end timestamp (ms)
execTypefalsestringExecution type.
limitfalseintegerLimit for data size per page. [1, 100]. Default: 50
cursorfalsestringCursor. Use the nextPageCursor token from the response to retrieve the next page of the result set

Response Parameters

ParameterTypeComments
categorystringProduct type
listarrayObject
> symbolstringSymbol name
> orderIdstringOrder ID
> orderLinkIdstringUser customized order ID.
> sidestringSide. Buy,Sell
> orderPricestringOrder price
> orderQtystringOrder qty
> leavesQtystringThe remaining qty not executed.
> orderTypestringOrder type. Market,Limit
> stopOrderTypestringStop order type. If the order is not stop order, any type is not returned.
> execFeestringExecuted trading fee.
> execIdstringExecution ID
> execPricestringExecution price
> execQtystringExecution qty
> execTypestringExecuted type.
> execValuestringExecuted order value.
> execTimestringExecuted timestamp(ms)
> isMakerbooleanIs maker order. true: maker, false: taker
> feeRatestringTrading fee rate
> markPricestringThe mark price of the symbol when executing.
> closedSizestringClosed position size
nextPageCursorstringRefer to the cursor request parameter

Request Example

GET /cloud/trade/v3/execution/list?category=linear&limit=1 HTTP/1.1
Host: openapi-testnet.zoomex.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1672283754132
X-BAPI-RECV-WINDOW: 5000

Response Example

{
"retCode": 0,
"retMsg": "OK",
"result": {
"nextPageCursor": "132766%3A2%2C132766%3A2",
"category": "linear",
"list": [
{
"symbol": "ETHUSDT",
"orderType": "Market",
"orderLinkId": "",
"side": "Buy",
"orderId": "8c065341-7b52-4ca9-ac2c-37e31ac55c94",
"stopOrderType": "UNKNOWN",
"leavesQty": "0",
"execTime": "1672282722429",
"isMaker": false,
"execFee": "0.071409",
"feeRate": "0.0006",
"execId": "e0cbe81d-0f18-5866-9415-cf319b5dab3b",
"markPrice": "1183.54",
"execPrice": "1190.15",
"orderQty": "0.1",
"orderPrice": "1236.9",
"execValue": "119.015",
"execType": "Trade",
"execQty": "0.1",
"closedSize": ""
}
]
},
"retExtInfo": {},
"time": 1672283754510
}