tardis-dev stream market data normalized

node v12.13.1
version: 1.0.0
endpointsharetweet
const { streamNormalized, normalizeTrades, normalizeBookChanges } = require('tardis-dev') async function run() { const messages = streamNormalized( { exchange: 'bitmex', symbols: ['XBTUSD', 'ETHUSD'] }, normalizeTrades, normalizeBookChanges ) for await (const message of messages) { console.log(`${message.symbol} ${message.type} ${message.timestamp.toISOString()}`) } } run()
Loading…

no comments

    sign in to comment