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
Best Practices
- Use WebSocket for updates - Subscribe to order updates instead of polling
- Preview before submit - Use the preview endpoint for order validation
- Handle rejects - Implement proper error handling for rejected orders
- Use synchronous execution - Set
synchronous_execution: trueto wait for order acknowledgment