Skip to main content

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

ParameterTypeRequiredDescription
traderIdStringYesTrader user ID
symbolStringNoTrading pair
productTypeStringYesProduct type
USDT-FUTURES USDT professional futures
COIN-FUTURES Mixed futures
USDC-FUTURES USDC professional futures
idLessThanStringNoSeparate page content before this ID is requested (older data), and the value input should be the end ID of the corresponding interface.
idGreaterThanStringNoSeparate page content after this ID is requested (newer data), and the value input should be the end ID of the corresponding interface.
startTimeStringNoStart 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. )
endTimeStringNoEnd 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. )
limitStringNoPage 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

ParameterTypeDescription
trackingNoStringOrder tracking number
openOrderIdStringOpening order ID
marginModeStringPosition mode
isolated: isolated margin
cross: cross margin
posSideStringPosition direction
long: long position in hedging mode
short: short position in hedging mode
symbolStringTrading pair
openLeverageStringLeverage for opening position
openPriceAvgStringAverage entry price
openTimeStringPosition opening time (millisecond timestamp)
openSizeStringOpening volume
openFeeStringOpening fee
(In USDT only, excluding discounts)
marginAmountStringMargin
followCountStringNumber of followers for this order
stopSurplusPriceStringTP price
stopLossPriceStringSL price