tardis-node stream market data

node v12.22.12
version: 1.0.0
endpointsharetweet
const { tardis } = require('tardis-node') async function stream() { const messages = tardis.stream({ exchange: 'bitmex', filters: [ { channel: 'trade', symbols: ['XBTUSD'] }, { channel: 'orderBookL2', symbols: ['XBTUSD'] } ] }) for await (const message of messages) { console.log(message) } } await stream()
Loading…

no comments

    sign in to comment