Simple orderbook demo
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
package-lock.json
package.json
tsconfig.json

README.md

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]