Skip to main content
POST
Place 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. VN30F2103.

price
number<double>
required

Order price (within floor-ceiling range).

volume
integer<int64>
required

Quantity.

orderType
string
required

0 = regular; SLP=1.0,0.8 = SL/TP; ABI=contract = arbitrage.

refId
string
required

Unique random id identifying the order channel (H.). You can use a UUID for this case.

Response

200 - application/json

Successful response

cmd
string

Command name (echo).

rc
string

Result code, 1 = success.

rs
string

Error message (if any).

oID
string

Order session ID.

data[].orderNo
string

Order number.

data[].pk_orderNo
string

Order key.

data[].showPrice
string

Display price.