A Java-based trading order matching engine that simulates real-world stock exchange behavior using price-time priority.
- Buy/Sell order matching
- Partial order execution
- Thread-safe processing using PriorityBlockingQueue
- REST API using Spring Boot
- Logging and error handling
- Java
- Spring Boot
- Data Structures (Heap / Priority Queue)
- Multithreading (Concurrency)
POST /api/orders
Sample Request: { "id": "1", "price": 100, "quantity": 10, "type": "BUY" }
- WebSocket real-time updates
- Database integration
- UI dashboard