Get Trader's Pending Orders
Rate limit: 10 requests/sec (IP)
HTTP Request
- GET /api/v2/copy/mix-broker/query-current-traces
Request Example
curl "https://api.cointr.com/api/v2/copy/mix-broker/query-current-traces?traderId=7c6525121a9&productType=USDT-FUTURES&symbol=btcusdt" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
traderId | String | Yes | Trader user ID |
symbol | String | No | Trading pair |
productType | String | Yes | Product typeUSDT-FUTURES USDT professional futuresCOIN-FUTURES Mixed futuresUSDC-FUTURES USDC professional futures |
idLessThan | String | No | Separate page content before this ID is requested (older data), and the value input should be the end ID of the corresponding interface. |
idGreaterThan | String | No | Separate page content after this ID is requested (newer data), and the value input should be the end ID of the corresponding interface. |
startTime | String | No | Start timestamp (Copy trade creation time) Unix timestamp in milliseconds format, e.g. 1597026383085 (The maximum time span supported is three months. The default end time is three months if no value is set for the end time. ) |
endTime | String | No | End timestamp (Copy trade creation time) Unix timestamp in milliseconds format, e.g. 1597026383085 (The maximum time span supported is three months. The default start time is three months ago if no value is set for the start time. ) |
limit | String | No | Page size Default: 20, Max: 100 |
Response example
{
"code": "00000",
"msg": "success",
"requestTime": 1685692706038,
"data": [
{
"trackingNo": "1",
"openOrderId": "12121",
"marginMode": "cross",
"posSide": "long",
"symbol": "ETHUSDT",
"openLeverage": "20",
"openPriceAvg": "2121",
"openTime": "1685692706038",
"openSize": "10",
"openFee": "-0.12",
"marginAmount": "1212",
"followCount": "16",
"stopSurplusPrice": "2300",
"stopLossPrice": "1500",
"cTime": "1685692706038"
}
]
}
Response parameters
Parameter | Type | Description |
---|---|---|
trackingNo | String | Order tracking number |
openOrderId | String | Opening order ID |
marginMode | String | Position mode isolated: isolated margin cross: cross margin |
posSide | String | Position direction long: long position in hedging mode short: short position in hedging mode |
symbol | String | Trading pair |
openLeverage | String | Leverage for opening position |
openPriceAvg | String | Average entry price |
openTime | String | Position opening time (millisecond timestamp) |
openSize | String | Opening volume |
openFee | String | Opening fee (In USDT only, excluding discounts) |
marginAmount | String | Margin |
followCount | String | Number of followers for this order |
stopSurplusPrice | String | TP price |
stopLossPrice | String | SL price |