ccxws
Version:
Websocket client for 37 cryptocurrency exchanges
29 lines (27 loc) • 815 B
text/typescript
import { BinanceBase, BinanceClientOptions } from "./BinanceBase";
export class BinanceJeClient extends BinanceBase {
constructor({
useAggTrades = true,
requestSnapshot = true,
socketBatchSize = 200,
socketThrottleMs = 1000,
restThrottleMs = 1000,
watcherMs,
l2updateSpeed,
l2snapshotSpeed,
}: BinanceClientOptions = {}) {
super({
name: "BinanceJe",
wssPath: "wss://stream.binance.je:9443/stream",
restL2SnapshotPath: "https://api.binance.je/api/v1/depth",
useAggTrades,
requestSnapshot,
socketBatchSize,
socketThrottleMs,
restThrottleMs,
watcherMs,
l2updateSpeed,
l2snapshotSpeed,
});
}
}