| 帳戶模式 | 交易類型 | 維度 | 上限 |
|---|---|---|---|
| 統一帳戶 | 現貨 合約 槓桿 | 每個 UID 的活躍訂單數 | 3000 |
| 統一帳戶 | 現貨 合約 槓桿 | 每個交易對的活躍訂單數 | 500 |
| 經典帳戶 | 現貨 全倉槓桿 逐倉槓桿 | 每個 UID 的活躍訂單數 | 2000 |
| 經典帳戶 | 現貨 全倉槓桿 逐倉槓桿 | 每個交易對的活躍訂單數 | 200 |
| 經典帳戶 | 合約 | 每個合約每個 UID 的限價單數 | 100 |
| 經典帳戶 | 合約 | 每個合約每個 UID 的條件單數 | 200 |
备注 1.主 UID 與子 UID 的配額相互獨立(以 UID 維度計算)。 2.統一帳戶(UTA)配額與經典帳戶(Classic Account)配額相互獨立。 3.配額刷新:即時。 4.最新介面中已不再使用「Stop Order」,統一改稱「Conditional Order」。
curl --location --request POST 'https://api.kucoin.com/api/ua/v1//order/place?tradeType=SPOT' \
--header 'Content-Type: application/json' \
--data-raw '// 1. Market Order
{
"tradeType": "SPOT",
"symbol": "BTC-USDT",
"clientOid": "273edcef-532d-46ba-9e0c-14a8da03ca9b",
"side": "BUY",
"orderType": "MARKET",
"size": "0.00001",
"sizeUnit": "BASECCY",
"postOnly": false,
"reduceOnly": false,
"timeInForce": "GTC",
"tags": "KuCoin API Service"
}
// 2. Limit Order
{
"tradeType": "SPOT",
"symbol": "BTC-USDT",
"clientOid": "273edcef-532d-46ba-9e0c-14a8da03ca9b",
"side": "BUY",
"orderType": "LIMIT",
"size": "0.00001",
"price": "66550",
"sizeUnit": "BASECCY",
"postOnly": false,
"reduceOnly": false,
"timeInForce": "GTC",
"tags": "KuCoin API Service"
}
// 3. Conditional Order Up
{
"tradeType": "SPOT",
"symbol": "BTC-USDT",
"clientOid": "273edcef-532d-46ba-9e0c-14a8da03ca9b",
"triggerDirection": "UP",
"triggerPriceType": "TP",
"triggerPrice": "66330",
"side": "BUY",
"orderType": "MARKET",
"size": "0.00001",
"sizeUnit": "BASECCY",
"postOnly": false,
"reduceOnly": false,
"timeInForce": "GTC",
"tags": "KuCoin API Service"
}
// 4. Conditional Order Down
{
"tradeType": "SPOT",
"symbol": "BTC-USDT",
"clientOid": "273edcef-532d-46ba-9e0c-14a8da03ca9b",
"triggerDirection": "DOWN",
"triggerPriceType": "TP",
"triggerPrice": "66340",
"side": "SELL",
"orderType": "LIMIT",
"size": "0.00001",
"price": "66380",
"sizeUnit": "BASECCY",
"postOnly": false,
"reduceOnly": false,
"timeInForce": "GTC",
"tags": "KuCoin API Service"
}'{
"code": "200000",
"data": {
"tradeType": "SPOT",
"orderId": "692fb45123cc870007c5f069",
"clientOid": "test20938451234982234374054"
}
}