- Request
- Response
string
required
Value:
addOrderstring
required
One of:
limit, market, stop-loss, stop-loss-limit, take-profit, take-profit-limit, trailing-stop, trailing-stop-limit, settle-positionThe execution model for the order.string
required
One of:
buy, sellSide of the order.string
required
Example:
BTC/USDCurrency pair.string
This parameter represents the limit price or trigger price depending on the order type:
- limit price for
limitorders. - trigger price for
stop-loss,stop-loss-limit,take-profit,take-profit-limit,trailing-stopandtrailing-stop-limitorders.
+, -, or # to specify the order price as an offset relative to the last traded price.+adds the amount to the last traded price.-subtracts the amount from the last traded price.#will either add or subtract the amount to the last traded price, depending on the direction.
% to signify the relative amount as a percentage, rather than an absolute price difference in the quote currency. Example, to specify a price as 2% from last price use "+2%".Note, trailing stop order types must use a relative price for this field, i.e. + to represent the reversion from the peak / trough price.string
This parameter represents the limit price for
stop-loss-limit, take-profit-limit and trailing-stop-limit orders.To specify a relative price, this field can be prefixed by + or - to specify the order price as an offset relative to the market price.+adds the amount to the reference price.-subtracts the amount from the reference price.
% to signify the relative amount as a percentage, rather than an absolute price difference in the quote currency. Example, to specify a price as 2% from last price use "+2%".Note, trailing stop order types must use a relative price for this field, i.e. + or - to represent the offset from the triggered price.string
required
Order volume in base currency.
string
One of:
2, 3, 4, 5Funds the order on margin using the amount of leverage specified. The maximum leverage available differs across pairs.boolean
One of:
Default:
false, trueDefault:
falseFunds the order on margin using the maximum leverage for the pair. Note, absolute max leverage is 5.boolean
One of:
Default:
Condition: Margin orders onlyIf true, order will only reduce a currently open position, not increase it or open a new position.
false, trueDefault:
falseCondition: Margin orders onlyIf true, order will only reduce a currently open position, not increase it or open a new position.
string
One of:
fciq, fcib, nompp, post, viqcComma delimited list of order flags.fcib: prefer fee in base currency (default if selling)fciq: prefer fee in quote currency (default if buying, mutually exclusive with fcib)nompp: no market price protection. DEPRECATED. If supplied, the flag is accepted but ignoredpost: post only order (only on limit orders).viqc: volume in quote currency (only available on buy market orders without margin funding).
string
Scheduled start time. 0 = now (default)
+n = schedule start time n seconds from now n = unix timestamp of start time.string
Expiration time. 0 = no expiration (default)
+n = expire n seconds from now n = unix timestamp of expiration time. GTD orders can have an expiry time up to one month in future.string
Format: RFC3339
Example:
Example:
2022-12-25T09:30:59.123ZRange of valid offsets (from current time) is 500 milliseconds to 60 seconds, default is 5 seconds. The precision of this parameter is to the millisecond. The engine will prevent this order from matching after this time, it provides protection against latency on time sensitive orders.string
Adds an alphanumeric client order identifier which uniquely identifies an open order for each client. This field is mutually exclusive with
userref parameter.The cl_ord_id parameter can be one of the following formats:- Long UUID:
6d1b345e-2821-40e2-ad83-4ecb18a0687632 hex characters separated with 4 dashes. - Short UUID:
da8e4ad59b78481c93e589746b0cf91f32 hex characters with no dashes. - Free text:
arb-20240509-00010Free format ascii text up to 18 characters.
string
Example:
"123456789"This is an optional non-unique, numeric identifier which can be associated with a number of orders by the client. This field is mutually exclusive with cl_ord_id parameter.Many clients choose a unique integer value generated by their systems (i.e. a timestamp). However, because we don’t enforce uniqueness on our side, it can also be used to easily tag a group of orders for querying or cancelling.string
Condition: For institutional accounts with enhanced Self Trade Prevention (STP)Adds an alphanumeric sub-account/trader identifier which enables STP to be performed at a more granular level.The
sender_sub_id parameter can be one of the following formats:- Long UUID:
6d1b345e-2821-40e2-ad83-4ecb18a0687632 hex characters separated with 4 dashes. - Short UUID:
da8e4ad59b78481c93e589746b0cf91f32 hex characters with no dashes. - Free text:
arb-20240509-00010Free format ascii text up to 18 characters.
string
One of:
Default:
cancel_newest, cancel_oldest, cancel_bothDefault:
cancel_newestSelf Trade Prevention (STP) is a protection feature to prevent users from inadvertently or deliberately trading against themselves.To prevent a self-match, one of the following STP modes can be used to define which order(s) will be expired:cancel_newest: arriving order will be canceled.cancel_oldest: resting order will be canceled.cancel_both: both arriving and resting orders will be canceled.
string
Validate inputs only; do not submit order.
string
One of:
Default:
GTC, GTD, IOC, FOKDefault:
GTCTime-in-force specifies how long an order remains in effect before expiry.GTC: Good Till Canceled - until user has cancelled.GTD: Good Till Date - untilexpiretmparameter.IOC: Immediate Or Cancel - immediately cancels back any quantity that cannot be filled on arrival.FOK: Fill Or Kill - immediately fills the full order quantity or cancels it entirely.
string
Order type of the secondary OTO order.
string
price of OTO secondary order - see price parameter.string
price2 of OTO secondary order - see price2 parameter.integer
Optional client originated request identifier sent as acknowledgment in the response.
string
required
Session token from the GetWebSocketsToken REST endpoint.