v1

latestOpenAPI 3.1.02026-07-24690345.5 KB

Submit Order

Submits an order on a trading pair (e.g. BTCUSD, LTCBTC, ...).

post/auth/w/order/submit

Request body

typestring required

The type of the order (see list above).

symbolstring required

The trading pair symbol to submit the order on.

amountstring required

Amount of order (positive for buy, negative for sell).

pricestring required

Price of the order.

levinteger

Set the leverage for a derivative order, supported by derivative symbol orders only. The value should be between 1 and 100 inclusive. If omitted the default leverage value of 10 will be used.

price_trailingstring

The trailing price for a trailing stop order.

price_aux_limitstring

Auxiliary Limit price (only for STOP LIMIT).

price_oco_stopstring

OCO (One-Cancels-Other) stop price.

gidinteger

Group ID for the order. (int45)

cidinteger

Client Order ID; should be unique in the day (UTC+0). (int45)

flagsinteger

The sum of all order flags (see https://docs.bitfinex.com/docs/flag-values).

tifstring

Time-In-Force: UTC datetime for automatic order cancellation (e.g. 2020-01-15 10:45:23).

Response

200

{"stackTrail":"paths:/auth/w/order/submit:post:responses:200:content:application/json:schema:items","oasType":"schema","type":"unknown"}