ccxws
Version:
Websocket client for 37 cryptocurrency exchanges
52 lines • 1.34 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const TestRunner_1 = require("../TestRunner");
const ZbClient_1 = require("../../src/exchanges/ZbClient");
(0, TestRunner_1.testClient)({
clientFactory: () => new ZbClient_1.ZbClient(),
clientName: "ZbClient",
exchangeName: "ZB",
markets: [
{
id: "btc_usdt",
base: "BTC",
quote: "USDT",
},
],
testConnectEvents: true,
testDisconnectEvents: true,
testReconnectionEvents: true,
testCloseEvents: true,
hasTickers: true,
hasTrades: true,
hasCandles: false,
hasLevel2Snapshots: true,
hasLevel2Updates: false,
hasLevel3Snapshots: false,
hasLevel3Updates: false,
ticker: {
hasTimestamp: true,
hasLast: true,
hasOpen: false,
hasHigh: true,
hasLow: true,
hasVolume: true,
hasQuoteVolume: false,
hasChange: false,
hasChangePercent: false,
hasAsk: true,
hasBid: true,
hasAskVolume: false,
hasBidVolume: false,
},
trade: {
hasTradeId: true,
tradeIdPattern: /[0-9]+/,
},
l2snapshot: {
hasTimestampMs: true,
hasSequenceId: false,
hasCount: false,
},
});
//# sourceMappingURL=ZbClient.spec.js.map