Wrote the getStatus method for the orderbook.