Skip to main content

Get History Tracking Orders

Get the list of historical (closed) tracking orders for the trader.

HTTP Request

GET /api/v1/copy/mix-trader/order-history-track

Request Parameters

ParameterTypeRequiredDescription
productTypestringYesProduct type. Only FUSD is supported
symbolstringNoTrading pair symbol (e.g., BTCUSDT)
startTimestringNoStart time in milliseconds
endTimestringNoEnd time in milliseconds
limitstringNoNumber of results per request. Default: 20, Max: 100
orderstringNoSort order. asc or desc. Default: desc
idLessThanstringNoFilter results with ID less than this value
idGreaterThanstringNoFilter results with ID greater than this value

Request Example

curl -X GET "https://open-api.bydoxe.com/api/v1/copy/mix-trader/order-history-track?productType=FUSD&symbol=BTCUSDT&startTime=1763372880000&endTime=1763459280000&limit=20" \
-H "ACCESS-KEY: your-api-key" \
-H "ACCESS-SIGN: your-signature" \
-H "ACCESS-PASSPHRASE: your-passphrase" \
-H "ACCESS-TIMESTAMP: 1659076670000" \
-H "Content-Type: application/json"

Response Parameters

ParameterTypeDescription
codestringResponse code
msgstringResponse message
requestTimenumberRequest timestamp in milliseconds
dataobjectResponse data
> trackingListarrayList of historical tracking orders
>> openOrderIdstringOpen order ID
>> closeOrderIdstringClose order ID
>> symbolstringTrading pair symbol
>> productTypestringProduct type
>> posSidestringPosition side (LONG/SHORT)
>> openLeveragestringLeverage used for opening
>> openPriceAvgstringAverage open price
>> closePriceAvgstringAverage close price
>> openTimestringOpen time in milliseconds
>> closeTimestringClose time in milliseconds
>> openSizestringOpen position size
>> closeSizestringClose position size
>> openFeestringOpen fee
>> closeFeestringClose fee
>> achievedPLstringAchieved profit/loss
>> cTimestringCreation time
> endIdstringLast ID for pagination

Response Example

{
"code": "00000",
"msg": "success",
"requestTime": 1763459280000,
"data": {
"trackingList": [
{
"openOrderId": "123456789",
"closeOrderId": "123456789",
"symbol": "BTCUSDT",
"productType": "FUSD",
"posSide": "LONG",
"openLeverage": "10",
"openPriceAvg": "40000.00",
"closePriceAvg": "40500.00",
"openTime": "1763372880000",
"closeTime": "1763459280000",
"openSize": "0.5",
"closeSize": "0.5",
"openFee": "2.00",
"closeFee": "2.50",
"achievedPL": "250.00",
"cTime": "1763372880000"
}
],
"endId": "123456789"
}
}

Error Codes

CodeMessage
45001Parameter productType cannot be empty
45001Invalid productType
45002User not found
45003Not a copy trader
50000System error