UNPKG

ccxws

Version:

Websocket client for 37 cryptocurrency exchanges

58 lines 1.48 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const TestRunner_1 = require("../TestRunner"); const FtxClient_1 = require("../../src/exchanges/FtxClient"); (0, TestRunner_1.testClient)({ clientFactory: () => new FtxClient_1.FtxClient(), clientName: "FtxClient", exchangeName: "FTX", markets: [ { id: "BTC/USD", base: "BTC", quote: "USD", }, ], testConnectEvents: true, testDisconnectEvents: true, testReconnectionEvents: true, testCloseEvents: true, hasTickers: true, hasTrades: true, hasCandles: false, hasLevel2Snapshots: false, hasLevel2Updates: true, hasLevel3Snapshots: false, hasLevel3Updates: false, ticker: { hasTimestamp: true, hasLast: true, hasOpen: false, hasHigh: false, hasLow: false, hasVolume: false, hasQuoteVolume: false, hasChange: false, hasChangePercent: false, hasAsk: true, hasBid: true, hasAskVolume: true, hasBidVolume: true, }, trade: { hasTradeId: true, tradeIdPattern: /[0-9]+/, }, l2snapshot: { hasTimestampMs: true, hasSequenceId: false, hasCount: false, }, l2update: { hasSnapshot: true, hasTimestampMs: true, hasSequenceId: false, hasCount: false, }, }); //# sourceMappingURL=FtxClient.spec.js.map