private OrderBook orderBook;
private MatchingEngine matchingEngine;
public RealMatchingEngine() {
OrderList bids = new PrioritisedOrderList(new BidOrderComparator());
OrderList asks = new PrioritisedOrderList(new AskOrderComparator());
this.orderBook = OrderBookFactory.newInstance(bids, asks);
matchingEngine = new MatchingEngine(orderBook);
}