POST
/
fapi
/
v1
/
conditionOrder

Headers

x-ch-sign
string
required

Request signature.

x-ch-apikey
string
required

The user's API key.

x-ch-ts
string
required

The current time in milliseconds.

Body

application/json

Create a new condition order.

Source: https://exchangeopenapi.gitbook.io/pri-openapi/openapi-doc/futures-trading-api#create-condition-order

contract_name
string
required
open
enum<string>
required
Available options:
OPEN,
CLOSE
position_type
enum<integer>
required
Available options:
1,
2
side
enum<string>
required
Available options:
BUY,
SELL
trigger_price
required
trigger_type
enum<integer>
required
Available options:
1,
2,
3,
4
type
enum<string>
required
Available options:
LIMIT,
MARKET
volume
required
clientOrderId
string | null
price

Response

200 - application/json
code
string
required
data
object
required

Contains an arrays with trigger_ids, ids, cancel_ids.

msg
string
required
succ
boolean
required