Create order
Submits a new order to Paradex.
Returns an order status object with a unique order id
assigned by Paradex. This
order id
serves as the primary identifier for the order.
The REST API performs basic validation and queues the order for risk checks
(order status
=NEW
).
Once validation and risk checks are successful, the order is sent to the matching
engine. The matching engine processes the order and updates the status to OPEN
if the order is resting. If the order is fully filled or cannot be processed, the
status changes to CLOSED
and a cancel_reason
code is provided (e.g., fully
filled or no liquidity).
Request
Order Instruction, GTC, IOC, RPI or POST_ONLY if empty GTC
Order flags, allow flag: REDUCE_ONLY
Self Trade Prevention, EXPIRE_MAKER, EXPIRE_TAKER or EXPIRE_BOTH, if empty EXPIRE_TAKER
Response
Order flags, allow flag: REDUCE_ONLY
Order last update time. No changes once status=CLOSED
Unique increasing number (non-sequential) that is assigned to this order update and changes on every order update. Can be used to deduplicate multiple feeds. WebSocket and REST responses use independently generated seq_no per event.