This hook requires the
OrderbookProvider to be present in your component tree to provide the underlying Orderbook instance.Import
Usage
Return Type
Actions
Disconnects the Websocket, clears the price maps, empties the history buffer, and removes all internal event listeners.

