Get Execution List (2 years)
Query users' execution list, sort by execTime
in descending order
tip
You may have multiple executions in a single order.
HTTP Request
GET /contract/v3/private/copytrading/execution/list
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
symbol | true | string | Symbol name |
orderId | false | string | Order ID. Return all records if not passed |
orderLinkId | false | string | User customised order ID |
startTime | false | integer | The start timestamp (ms) |
endTime | false | integer | The end timestamp (ms) |
execType | false | string | Execution type |
limit | false | integer | Limit for data size per page. [1 , 100 ]. Default: 50 |
cursor | false | string | Cursor. Use the nextPageCursor token from the response to retrieve the next page of the result set |
Response Parameters
Parameter | Type | Comments |
---|---|---|
nextPageCursor | string | Cursor. Used to pagination |
list | array | Object |
> symbol | string | Symbol name |
> side | string | Buy ,Sell |
> orderId | string | Order id |
> orderLinkId | string | User customised order id |
> orderPrice | string | Order price |
> orderQty | string | Order qty |
> orderType | string | Market ,Limit |
> execId | string | Trade Id |
> execPrice | string | Execution price |
> execQty | string | Execution qty |
> execFee | string | Execution fee |
> execType | string | Execution type |
> execValue | string | Execution position value |
> feeRate | string | Trading fee rate |
> lastLiquidityInd | string | AddedLiquidity , RemovedLiquidity , LiquidityIndNA |
> isMaker | boolean | Is maker |
> leavesQty | string | Remaining qty waiting for execution |
> closedSize | string | Close size |
> markPrice | string | Mark price |
> execTime | string | Execution timestamp (ms) |
Request Example
GET /contract/v3/private/copytrading/execution/list?symbol=XRPUSDT&execType=Funding HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: XXXXXX
X-BAPI-TIMESTAMP: 1678788154878
X-BAPI-RECV-WINDOW: 5000
Response Example
{
"retCode": 0,
"retMsg": "success",
"result": {
"nextPageCursor": "0o+MpbbRsIrLhRXdulAiDPRZFkidzCCKmEOQR4TzFIYyq1tofpJ/bOX92Vn8uwRBSEUuSxC/9jnLZs7oFLgcMQ==",
"list": [
{
"symbol": "XRPUSDT",
"side": "Buy",
"orderId": "1678780800-XRPUSDT-1019213-Buy",
"orderLinkId": "",
"orderPrice": "0.0000",
"orderQty": "0",
"orderType": "UNKNOWN",
"execFee": "0.003679",
"execId": "73729a92-caf5-4911-8e85-5194dd2ee1c5",
"execPrice": "0.3679",
"execQty": "100",
"execType": "Funding",
"execValue": "36.79",
"feeRate": "0.0001",
"lastLiquidityInd": "LiquidityIndNA",
"isMaker": false,
"leavesQty": "0",
"closedSize": "0",
"markPrice": "0.3679",
"execTime": "1678780800000"
}
]
},
"retExtInfo": {},
"time": 1678788155282
}