Skip to main content
POST
Place condition order (derivative)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
accountId
string
required

Custody code.

subAccountId
string
required

Derivative sub-account number.

side
enum<string>
required

B = buy, S = sell.

Available options:
B,
S
symbol
string
required

Derivative code, e.g. VN30F2110.

price
number<double>
required

Order price.

volume
number<double>
required

Quantity, greater than 0.

orderType
enum<string>
required

SOL = market price >= soPrice, SOU = market price <= soPrice, TSO = Trailing Stop.

Available options:
SOL,
SOU,
TSO
soPrice
number<double>
required

Activation price.

callbackPoint
number<double>
required

Trailing step (only for orderType = TSO).

activationPrice
number<double>
required

Activation price (only for orderType = TSO).

refId
string

Unique order ID.

Response

200 - application/json

Successful response

rc
string

Result code, 1 = success.

data[].symbol
string

Contract code.

data[].status
string

Order status.

data[].orderNo
integer<int64>

Order number.

data[].pk_orderNo
string

Order key (for cancel/modify).