Submit Order

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

Body Params
string
required
Defaults to EXCHANGE LIMIT

The type of the order (see list above).

string
required
Defaults to tBTCUSD

The trading pair symbol to submit the order on.

string
required
Defaults to 0.1

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

string
required
Defaults to 10000

Price of the order.

int32

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.

string

The trailing price for a trailing stop order.

string

Auxiliary Limit price (only for STOP LIMIT).

string

OCO (One-Cancels-Other) stop price.

integer

Group ID for the order. (int45)

integer

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

int32

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

string

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

meta
object

Object to pass order meta data. Options: 'make_visible' (to toggle visible on hit for hidden orders), 'protect_selfmatch' (to cancel submitted order if it would match with one of your own orders). Example: meta: {make_visible: 1}

Response

Language
LoadingLoading…
Response
Choose an example:
application/json