OCO Order

Place Order

Do not include extra spaces in JSON strings in request body.

Limitation

The maximum untriggered stop orders for a single trading pair in one account is 20.

HTTP REQUEST

POST /api/v3/oco/order

Example

POST /api/v3/oco/order

{
    "orderId": "6572fdd65723280007deb5e0"
}
API KEY PERMISSIONS

This endpoint requires the General permission.

REQUEST URL

This endpoint support `Spot URL``

REQUEST RATE LIMIT

Spot weight:2

PARAMETERS
Param Type Mandatory Description
symbol String Yes symbol, such as, ETH-BTC
side String Yes buy or sell
price String Yes Specify price for currency
size String Yes Specify quantity for currency
stopPrice String Yes trigger price.
limitPrice String Yes The limit order price after take-profit and stop-loss are triggered.
tradeType String No Transaction Type, currently only supports TRADE (spot transactions), the default is TRADE
clientOid String Yes Client Order Id,unique identifier created by the user, the use of UUID is recommended, e.g. UUID, with a maximum length of 128 bits.
remark String No Order placement remarks, length cannot exceed 100 characters (UTF-8)
RESPONSES
Param Description
orderId An order Id is returned once an order is successfully placed.