cURL
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 }
Create a new condition order.
Request signature.
The user's API key.
The current time in milliseconds.
Source: https://exchangeopenapi.gitbook.io/pri-openapi/openapi-doc/futures-trading-api#create-condition-order
Successful Response
The response is of type object.
object