Add Order Test - Old
POST
https://api.kucoin.com/api/v1/orders/test
domain:Spot
api-channel:Private
api-permission:Spot
api-rate-limit-pool:Spot
sdk-service:Spot
sdk-sub-service:Order
sdk-method-name:addOrderTestOld
api-rate-limit-weight:2
Description
Tips
Tips
Param | Type | Mandatory | Description |
---|---|---|---|
clientOid | String | Yes | clientOid, the unique identifier created by the client, use of UUID, with a maximum length of 128 bits. |
side | String | Yes | buy or sell |
symbol | String | Yes | symbol, e.g. ETH-BTC |
type | String | No | limit or market (default is limit) |
remark | String | No | remark, length cannot exceed 50 characters (ASCII) |
stp | String | No | self trade prevention, CN, CO, CB or DC |
tradeType | String | No | The type of trading : TRADE(Spot Trade), MARGIN_TRADE (Margin Trade). Default is TRADE. Note: To improve the system performance and to accelerate order placing and processing, KuCoin has added a new interface for order placing of margin. For traders still using the current interface, please move to the new one as soon as possible. The current one will no longer accept margin orders by May 1st, 2021 (UTC). At the time, KuCoin will notify users via the announcement, please pay attention to it. |
Additional Request Parameters Required by limit
Orders
Param | Type | Mandatory | Description |
---|---|---|---|
price | String | Yes | Specify price for currency |
size | String | Yes | Specify quantity for currency |
timeInForce | String | No | Order timing strategy GTC , GTT , IOC , FOK (The default is GTC ) |
cancelAfter | long | No | Cancel after n seconds,the order timing strategy is GTT |
postOnly | boolean | No | passive order labels, this is disabled when the order timing strategy is IOC or FOK |
hidden | boolean | No | Hidden or not (not shown in order book) |
iceberg | boolean | No | Whether or not only visible portions of orders are shown in iceberg orders |
visibleSize | String | No | Maximum visible quantity in iceberg orders |
Additional request parameters required by market
orders
Param | Type | Mandatory | Description |
---|---|---|---|
size | String | No | (Select one out of two: size or funds ) |
funds | String | No | (Select one out of two: size or funds ) |
Request
Body Params application/json
Request samples
Responses
Modified at 2025-03-19 02:11:58