Batch order execution and cancellation support
Issue #71 | State: OPEN | Created: 2026-01-22T10:55:37Z
Updated: 2026-01-23T04:03:03Z | Closed: N/A
Summary
Improve efficiency by supporting batch execution and cancellation of orders in a single transaction.
Motivation
- Reduce gas costs for users managing multiple orders
- Improve UX for market makers adjusting positions
- Enable atomic operations across multiple orders
Requirements
- Batch order placement (multiple orders in one tx)
- Batch order cancellation
- Batch order matching/execution
- Atomic success/failure handling
Technical Considerations
- Gas optimization for batch operations
- Error handling (partial vs all-or-nothing execution)
- Maximum batch size limits
- Event emission for batch operations
Reference
See detailed implementation plan