@reactivemarkets/switchboard-sdk v1.7.3
Reactive Switchboard JavaScript SDK
The Reactive Switchboard SDK for JavaScript. See Developer Docs for full documentation
Quick Start
import { MarketDataClient, toJS } from "@reactivemarkets/switchboard-sdk";
const marketDataClient = new MarketDataClient({
apiKey: MY_API_KEY,
});
marketDataClient
.on("open", () => {
marketDataClient.subscribe({
markets: [{
symbol: "BTCUSD",
venue: "REX",
}],
});
})
.on("snapshot", (snapshot) => {
console.log(toJS(snapshot));
});
Installing
npm i @reactivemarkets/switchboard-sdk
Building
To install all dependencies and build run:
git clone https://github.com/reactivemarkets/switchboard-js.git
cd switchboard-js
npm ci
npm run build
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
License
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
2 months ago
4 months ago
4 months ago
4 months ago
9 months ago
9 months ago
9 months ago
10 months ago
5 months ago
6 months ago
9 months ago
10 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
1 year ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago