POST
/
fapi
/
v1
/
order

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 order.

Source: https://exchangeopenapi.gitbook.io/pri-openapi/openapi-doc/futures-trading-api#create-new-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
type
enum<string>
required
Available options:
LIMIT,
MARKET
volume
required
clientOrderId
string | null
price
timeInForce
enum<string> | null
Available options:
IOC,
FOK,
POST_ONLY

Response

200 - application/json

Contains an object with order id.

orderId
integer
required