Exchange Simulator in functional style

Market By Order, by Price and Price
Intraday

This forms the data model and business logic
of the exchange simulator