POST
/
fapi
/
v1
/
conditionOrder
curl --request POST \
  --url https://futuresopenapi.odyssey.trade/fapi/v1/conditionOrder \
  --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>",
  "trigger_type": 1,
  "trigger_price": 123,
  "volume": 123,
  "side": "BUY",
  "type": "LIMIT",
  "open": "OPEN",
  "position_type": 1,
  "price": 123,
  "clientOrderId": "<string>"
}'
{
  "code": "<string>",
  "msg": "<string>",
  "data": {
    "ids": [
      123
    ],
    "trigger_ids": [
      123
    ],
    "cancel_ids": [
      123
    ]
  },
  "succ": true
}

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

The response is of type object.