This is a simple implementation of an orderbook, written in about 100 lines of Haskell. It maintains buy and sell orders at different pricelevels and matches orders when bid and ask limits overlap.
- Sides of the orderbook should be maintained by an (indexed) priority queue to support cancels and for efficiency
- Implement cancels