POST
/
fapi
/
v1
/
order
curl --request POST \
  --url https://futuresopenapi.odyssey.trade/fapi/v1/order \
  --header 'Content-Type: application/json' \
  --header 'x-ch-apikey: <x-ch-apikey>' \
  --header 'x-ch-sign: <x-ch-sign>' \
  --header 'x-ch-ts: <x-ch-ts>' \
  --data '{
  "contract_name": "<string>",
  "volume": 123,
  "side": "BUY",
  "type": "LIMIT",
  "open": "OPEN",
  "position_type": 1,
  "price": 123,
  "clientOrderId": "<string>",
  "timeInForce": "IOC"
}'
{
  "orderId": 123
}

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.

Response

200
application/json

Successful Response

Contains an object with order id.