Get Order Fill Details
Speed limit is 10 times/s for average users. Frequency limit imposed according to user ID
Description
Get order fill details
HTTP Request
- GET /api/v2/mix/order/fills
Request Example
curl "https://api.cointr.com/api/v2/mix/order/fills?productType=usdt-futures" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json"
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
orderId | String | No | Order ID |
symbol | String | No | Trading pair, e.g. ETHUSDT |
productType | String | Yes | Product typeUSDT-FUTURES USDT professional futuresCOIN-FUTURES Mixed futuresUSDC-FUTURES USDC professional futuresSUSDT-FUTURES USDT professional futures demoSCOIN-FUTURES Mixed futures demoSUSDC-FUTURES USDC professional futures demo |
idLessThan | String | No | Requests the content on the page before the tradeId (older data). |
startTime | String | No | Start time (time stamp in milliseconds) (The maximum time span supported is three months. The default end time is three months if no value is set for the end time. ) (For Managed Sub-Account, the StartTime cannot be earlier than the binding time) |
endTime | String | No | End time (time stamp in milliseconds) (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 | Number of queries: Default: 100, maximum: 100 |
Response Example
{
"code": "00000",
"data": {
"fillList": [
{
"tradeId": "123",
"symbol": "ethusdt",
"orderId": "121212",
"price": "1900",
"baseVolume": "1",
"feeDetail": [
{
"deduction": "yes",
"feeCoin": "PLATSK",
"totalDeductionFee": "-0.017118519726",
"totalFee": "-0.017118519726"
}
],
"side": "buy",
"quoteVolume": "1902",
"profit": "102",
"enterPointSource": "api",
"tradeSide": "close",
"posMode": "hedge_mode",
"tradeScope": "taker",
"cTime": "1627293509612"
}
],
"endId": "123"
},
"msg": "success",
"requestTime": 1627293504612
}
Response Parameters
Parameter | Type | Description |
---|---|---|
fillList | List<Object> | Transaction details |
>tradeId | String | Transaction id |
>symbol | String | Trading pair |
>orderId | String | Order no. |
>price | String | Order price |
>baseVolume | String | Amount of coins traded |
>feeDetail | String | Transaction fee |
>>deduction | String | Whether or not to deduct (vouchers) |
>>feeCoin | String | Crypto ticker |
>>totalDeductionFee | String | Total transaction fee discount |
>>totalFee | String | Total transaction fee |
>side | String | Type of transaction buy: Buy sell: Sell |
>quoteVolume | String | Trading amount in quote currency |
>profit | String | Profit |
>enterPointSource | String | Order source WEB: Orders created on the website API: Orders created on API SYS: System managed orders, usually generated by forced liquidation logic ANDROID: Orders created on the Android app IOS: Orders created on the iOS app |
>tradeSide | String | Direction open (open and close mode) close (open and close mode) reduce_close_long Liquidate partial long positions reduce_close_short Liquidate partial short positions offset_close_long Liquidate partial long positions for netting offset_close_short Liquidate partial short positions for netting burst_close_long Liquidate long positions burst_close_short Liquidate short positions delivery_close_long Close long positions delivery_close_short Close short positions |
>posMode | String | Position mode one_way_mode : one-way positionhedge_mode : two-way position |
>tradeScope | String | Trader tag taker: Taker maker: Maker |
>cTime | String | Date of transaction endId String The final order ID. This is used when idLessThan/idGreaterThan is set as a range. |
endId | String | The final Transaction ID. This is used when idLessThan/idGreaterThan is set as a range. |