Order Lifecycle
When a user places an order, it flows through Orderly’s layered architecture:- The Broker Front-end Layer forwards the request with the user’s Trading Key
- The Messaging Layer verifies the Trading Key
- The Engine Layer matches the order against the order book
- On execution, trade data is uploaded to the Settlement Layer
- The user receives order and execution updates
API Reference
Orders are managed through the following APIs:- Create order: POST
/v1/order - Batch create orders: POST
/v1/batch-order - Edit order: PUT
/v1/order - Cancel order: DELETE
/v1/order - Cancel all orders: DELETE
/v1/orders - Get order: GET
/v1/order/{oid} - Get orders: GET
/v1/orders