| 帳戶模式 | 交易類型 | 訂單狀態 | 最大查詢範圍 |
|---|---|---|---|
| 經典帳戶 | SPOT | Canceled | 2 days(從現在回溯至 2 * 24 hours) |
| 經典帳戶 | SPOT | Filled | 7 days(從現在回溯至 7 * 24 hours) |
| 經典帳戶 | FUTURES | Canceled / Filled | 使用 orderId:最近 3 個月使用 clientOid:最近 7 天 |
curl --location --request GET 'https://api.kucoin.com/api/ua/v1//order/detail?tradeType=SPOT&symbol&orderId&clientOid'{
"code": "200000",
"data": {
"orderId": "695536a68b76bc0007458a4d",
"clientOid": "test20938451234982234374054",
"status": 2,
"filledSize": "0",
"avgPrice": "0",
"fee": "0",
"tax": "0",
"symbol": "BTC-USDT",
"feeCurrency": "USDT",
"side": "BUY",
"orderType": "LIMIT",
"size": "0.0001",
"sizeUnit": "BASECCY",
"price": "9000",
"timeInForce": "GTC",
"cancelSize": "0",
"cancelAfter": 0,
"postOnly": true,
"orderTime": 1767192230186000000,
"updatedTime": 1768214898194000000,
"tradeType": "SPOT"
}
}