Update Order

Updates an existing order, can be used to update margin, exchange, and derivative orders.

Body Params
int64
required

The ID of the order to update (can be retrieved by calling the Retrieve Orders and the Retrieve Orders (by symbol) endpoints).

string

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

string

Price of the order.

int64

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

string

YYYY-MM-DD Date of Client Order ID.

int64

Group ID for the order.

int32

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

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 delta to apply to the amount value.

string

Auxiliary Limit price (only for STOP LIMIT).

string

The trailing price for a trailing stop order.

string

Time-In-Force: UTC datetime for automatic order cancellation (e.g. 2020-01-15 10:45:23). Note: TIF can be updated but not removed.

meta
object

Object to pass order meta data. Options: 'aff_code' (to pass affiliate codes), '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: {aff_code: "AFF_CODE_HERE", make_visible: 1}

Response

Language
Response
Choose an example:
application/json