New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@reactivemarkets/switchboard-sdk

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reactivemarkets/switchboard-sdk

SDK for the Reactive Markets Switchboard

latest
Source
npmnpm
Version
1.10.0
Version published
Maintainers
1
Created
Source

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.

Keywords

reactivemarkets

FAQs

Package last updated on 06 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts