Skip to main content

Orders API

The Orders API provides order entry and management capabilities for trading on markets.

Endpoints

Order Entry

Order Query

Order Cancellation

Order Types

Order Intent

Orders require an intent indicating position direction:

Order States

Orders progress through these states:

Time in Force

Real-Time Order UpdatesAfter submitting orders via REST, use the WebSocket Private Stream to receive real-time updates on order status, fills, and cancellations.

Best Practices

  1. Use WebSocket for updates - Subscribe to order updates instead of polling
  2. Preview before submit - Use the preview endpoint for order validation
  3. Handle rejects - Implement proper error handling for rejected orders
  4. Use synchronous execution - Set synchronous_execution: true to wait for order acknowledgment