ccxws
Version:
Websocket client for 37 cryptocurrency exchanges
62 lines (54 loc) • 1.32 kB
text/typescript
import { LiquidClient } from "../../src/exchanges/LiquidClient";
import { testClient } from "../TestRunner";
testClient({
clientFactory: () => new LiquidClient(),
clientName: "LiquidClient",
exchangeName: "Liquid",
markets: [
{
id: "btcjpy",
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: true,
hasHigh: false,
hasLow: false,
hasVolume: true,
hasQuoteVolume: false,
hasChange: true,
hasChangePercent: true,
hasAsk: true,
hasBid: true,
hasAskVolume: false,
hasBidVolume: false,
},
trade: {
hasTradeId: true,
},
// l2snapshot: {
// hasTimestampMs: true,
// hasSequenceId: false,
// hasCount: true,
// },
l2update: {
hasSnapshot: false,
hasTimestampMs: false,
hasSequenceId: false,
hasCount: false,
},
});