Place Order
Place a new order.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| op | string | Yes | Operation: trade |
| args | list | Yes | Trade arguments |
| > instType | string | Yes | Product type: SPOT |
| > channel | string | Yes | Channel: place-order |
| > instId | string | Yes | Product ID (e.g. BTCUSDT) |
| > params | object | Yes | Order parameters |
| >> orderType | string | Yes | Order type: limit / market |
| >> side | string | Yes | Order side: buy / sell |
| >> size | string | Yes | Order size |
| >> price | string | Cond | Order price (required for limit orders) |
Request Example
{
"op": "trade",
"args": [
{
"instType": "SPOT",
"channel": "place-order",
"instId": "BTCUSDT",
"params": {
"orderType": "limit",
"side": "buy",
"size": "0.1",
"price": "27000"
}
}
]
}
Response Example
{
"event": "trade",
"arg": [
{
"instType": "SPOT",
"channel": "place-order",
"instId": "BTCUSDT",
"params": {
"orderId": "123456789"
}
}
],
"code": "0",
"msg": "Success"
}