Skip to main content

Get Current Tracking Orders

Frequency limit:10 times/1s (User ID)

HTTP Request

  • GET /api/v2/copy/mix-follower/query-current-orders
Request Example
curl "https://api.cointr.com/api/v2/copy/mix-follower/query-current-orders?productType=usdt-futures&symbol=BTCUSDT&endTime=1695721038000&startTime=1692599209000&limit=1" \
-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
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)
Milliseconds format of timestamp Unix, 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)
Milliseconds format of timestamp Unix, 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. )
limitStringNoNumber of queries: Default: 20, maximum: 100.
symbolStringNoTrading pairs, case sensitive
productTypeStringYesProduct type
USDT-FUTURES USDT professional futures
COIN-FUTURES Mixed futures
USDC-FUTURES USDC professional futures
traderIdStringNoTrader ID
Response example
{
"code": "00000",
"data": [
{
"trackingNo": "1",
"traderName": "xxxxxx",
"openOrderId": "1",
"closeOrderId": "",
"traderId": "**********",
"symbol": "BTCUSDT",
"posSide": "short",
"openLeverage": "47",
"openAvgPrice": "39827",
"openTime": "1627567376984",
"openSize": "0.0010000000000000",
"closeAvgPrice": "0",
"closeSize": "0.0000000000000000",
"openMarginSz": "21",
"closeTime": "0"
}
],
"msg": "success",
"requestTime": 1634107646972
}

Response parameters

ParameterTypeDescription
trackingNoStringTrack order number
traderIdStringTrader user ID
traderNameStringTrader alias
openOrderIdStringOpening order ID
closeOrderIdStringClosing order ID
symbolStringTrading pair
posSideStringPosition direction
long: long position in hedging mode
short: short position in hedging mode
openLeverageStringLeverage for opening position
openPriceAvgStringAverage entry price
openTimeStringPosition opening time (millisecond timestamp)
openFeeStringOpening fee (excluding discounts)
openSizeStringOpening volume
openMarginSzStringMargin amount
closeAvgPriceStringAverage closing price
closeSizeStringClosing volume
closeTimeStringPosition closing time (millisecond timestamp)