Displays an orderbook upto 10 levels using the Coinbase API
The WebSocket Feed of the Coinbase API is used. More information about the API can be obtained from its documentation
The project has been built using Java JDK 17.0.4
java -jar target/orderbook-1.0-SNAPSHOT-jar-with-dependencies.jar BTC-USD
- Takes a single command line argument that indicates the product id for which the market data feed is required. If the product id is not provided by default BTC-USD will be considered.
- Use CRTL + C to exit