Place Order
Description
Place an order in futures trading.
HTTP Request
POST /v3/trade/order
Request Parameters
Parameter | Required | Type | Description |
---|---|---|---|
symbol | Yes | String | A trading pair, consisting of two currencies: base currency and quote currency |
side | Yes | String | Enumerate: BUY and SELL |
type | Yes | String | Order type; enumerate MARKET , LIMIT , and LIMIT_MAKER |
clOrdId | No | String | Order ID as assigned by the user |
px | No | String | Price, applicable for limit orders only. No price input is required for market orders. |
sz | Yes | String | Order size, specifically in Cont |
reduceOnly | No | Boolean | Reduce only |
timeInForce | No | String | Enumerate FOK , IOC , and GTC . It is an optional field with GTC by default. |
stpMode | No | String | Enumerate - EXPIRE_TAKER - EXPIRE_MAKER - EXPIRE_BOTH Default is NONE |
Response Parameters
Parameter | Type | Description |
---|---|---|
ordId | String | Order ID |
clOrdId | String | Client Order ID as assigned by the client |
Request Example
{
"clOrdId": "939a9d51-8f32-443a-9fb8-ff0852010487",
"symbol": "BTC_USDT_PERP",
"side": "buy",
"type": "limit_maker",
"px": "46050",
"sz": "10",
"timeInForce": "GTC",
"stpMode": "EXPIRE_TAKER",
"reduceOnly": false
}
Response Example
{
"code":200,
"data":{
"clOrdId":"939a9d51-8f32-443a-9fb8-ff0852010487",
"ordId":"331375826421678080"
},
"msg":"Success"
}