Added snapshot functionality for the orderbook