Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 375 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 375 Bytes

Simple Orderbook Demo

This demo constructs and maintains a level 2 orderbook using the Hydro API. Using the SDK HydroWatcher, a websocket connection will be created, and the orderbook will be updated in real time. A mini representation of the orderbook will be printed to the console.

To start the orderbook, use the following command:

ts-node src/index.ts [marketId]