UNPKG

ccxws

Version:

Websocket client for 37 cryptocurrency exchanges

62 lines (54 loc) 1.33 kB
import { testClient } from "../TestRunner"; import { BitflyerClient } from "../../src/exchanges/BitflyerClient"; testClient({ clientFactory: () => new BitflyerClient(), clientName: "BitflyerClient", exchangeName: "bitFlyer", markets: [ { id: "BTC_JPY", base: "BTC", quote: "JPY", }, ], 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: true, hasQuoteVolume: true, hasChange: false, hasChangePercent: false, hasBid: true, hasBidVolume: true, hasAsk: true, hasAskVolume: true, }, trade: { hasTradeId: true, }, l2snapshot: { hasTimestampMs: false, hasSequenceId: false, hasCount: false, }, l2update: { hasSnapshot: true, hasTimestampMs: false, hasSequenceId: false, hasCount: false, }, });