v1

latestOpenAPI 3.1.02026-07-24690345.5 KB

Order Multi-OP

Send Multiple order-related operations. Please note the sent object has only one property with a value of an array of arrays detailing each order operation. (Max 75 operations per request)

post/auth/w/order/multi

Request body

typestring

Order Type: LIMIT, EXCHANGE LIMIT, MARKET, EXCHANGE MARKET, STOP, EXCHANGE STOP, STOP LIMIT, EXCHANGE STOP LIMIT, TRAILING STOP, EXCHANGE TRAILING STOP, FOK, EXCHANGE FOK, IOC, EXCHANGE IOC.

symbolstring

Symbol for desired pair

pricestring

Price of order

amountstring

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

levinteger

Set the leverage for a derivative order, supported by derivative symbol orders only. The value should be between 1 and 100 inclusive. The field is optional, 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 (for STOP LIMIT)

price_oco_stopstring

OCO stop price

gidinteger

Group Order ID (int45)

tifstring

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.

idinteger

Order ID (Can be retrieved by calling the Retrieve Orders endpoint)

cidinteger

Client Order ID (int45)

cid_datestring

Client Order ID Date

allinteger

Cancel all open orders if value is set to: 1

metaobject

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

200