An example terminal application connecting to the Reactive Switchboard. It displays the order book, public trades and the bid/offer spread.
npm i -g @reactivemarkets/switchboard-terminal
You need to give the terminal an api key to connect. You can either set an environment variable SWITCHBOARD_API_KEY
or pass in via the command line arg api-key
.
To run with an environment variable:
switchboard-terminal
or with an api key:
switchboard-terminal --api-key MY_API_KEY
For a full list of commands see the built in help:
switchboard-terminal --help
To install all dependencies and build run:
git clone https://github.com/reactivemarkets/switchboard-js.git
cd switchboard-js
npm ci
npm run build
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.