Get Order Details by clientOid
Request via this interface to get a stop order information via the clientOid.
HTTP REQUEST
GET /api/v1/stop-order/queryOrderByClientOid
Example
GET /api/v1/stop-order/queryOrderByClientOid?symbol=BTC-USDT&clientOid=9823jnfda923a
[
{
"id": "vs8hoo8os561f5np0032vngj",
"symbol": "KCS-USDT",
"userId": "60fe4956c43cbc0006562c2c",
"status": "NEW",
"type": "limit",
"side": "buy",
"price": "0.01000000000000000000",
"size": "0.01000000000000000000",
"funds": null,
"stp": null,
"timeInForce": "GTC",
"cancelAfter": -1,
"postOnly": false,
"hidden": false,
"iceberg": false,
"visibleSize": null,
"channel": "API",
"clientOid": "2b700942b5db41cebe578cff48960e09",
"remark": null,
"tags": null,
"orderTime": 1629020492834532568,
"domainId": "kucoin",
"tradeSource": "USER",
"tradeType": "TRADE",
"feeCurrency": "USDT",
"takerFeeRate": "0.00200000000000000000",
"makerFeeRate": "0.00200000000000000000",
"createdAt": 1629020492837,
"stop": "loss",
"stopTriggerTime": null,
"stopPrice": "1.00000000000000000000"
}
]
API KEY PERMISSIONS
This endpoint requires the General permission.
REQUEST URL
This endpoint support Spot URL
REQUEST RATE LIMIT
Spot weight
:3
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
clientOid | String | Yes | Unique order id created by users to identify their orders |
symbol | String | No | Only list orders for a specific symbol. |
RESPONSES
Param | Description |
---|---|
id | Order ID, the ID of an order. |
symbol | Symbol |
userId | User ID |
status | Order status, include NEW, TRIGGERED |
type | Order type |
side | transaction direction,include buy and sell |
price | order price |
size | order quantity |
funds | order funds |
stp | self trade prevention |
timeInForce | time InForce,include GTC,GTT,IOC,FOK |
cancelAfter | cancel orders after n seconds,requires timeInForce to be GTT |
postOnly | postOnly |
hidden | hidden order |
iceberg | Iceberg order |
visibleSize | displayed quantity for iceberg order |
channel | order source |
clientOid | user-entered order unique mark |
remark | Remarks |
tags | tag order source |
orderTime | Time of place a stop order, accurate to nanoseconds |
domainId | domainId, e.g: kucoin |
tradeSource | trade source: USER(Order by user), MARGIN_SYSTEM(Order by margin system) |
tradeType | The type of trading : TRADE(Spot), MARGIN_TRADE (Cross Margin), MARGIN_ISOLATED_TRADE (Isolated Margin). |
feeCurrency | The currency of the fee |
takerFeeRate | Fee Rate of taker |
makerFeeRate | Fee Rate of maker |
createdAt | order creation time |
stop | Stop order type, include loss and entry |
stopTriggerTime | The trigger time of the stop order |
stopPrice | stop price |