Create batch of orders

POST

[Experimental] Place a batch of orders

  • Valid batch size is between 1-10 order(s)
  • If basic validation(including signature) fails - all orders will be rejected.
  • Orders are queued for risk checking independently and failure of one order doesn’t affect processing of another order.

Request

This endpoint expects a list of objects.
instructionstringRequired

Order Instruction, GTC, IOC or POST_ONLY if empty GTC

marketstringRequired

Market for which order is created

pricestringRequired

Order price

side"BUY" or "SELL"Required
Allowed values: BUYSELL

Order side

signaturestringRequired

Order Payload signed with STARK Private Key

signature_timestampintegerRequired

Timestamp of order creation, used for signature verification

sizestringRequired

Size of the order

typeenumRequired

Order type

client_idstringOptional<=64 characters

Unique client assigned ID for the order

flagslist of "REDUCE_ONLY"Optional

Order flags, allow flag: REDUCE_ONLY

recv_windowintegerOptional

Order will be created if it is received by API within RecvWindow milliseconds from signature timestamp, minimum is 10 milliseconds

stpstringOptional

Self Trade Prevention, EXPIRE_MAKER, EXPIRE_TAKER or EXPIRE_BOTH, if empty EXPIRE_TAKER

trigger_pricestringOptional

Trigger price for stop order

Response

Created

errorslist of objectsOptional
orderslist of objectsOptional

Errors