Skip to content

Instantly share code, notes, and snippets.

@thaaddeus
thaaddeus / liquidations_monitor.js
Last active May 11, 2023 20:23
liquidations_monitor.js
const { streamNormalized, normalizeLiquidations, combine } = require('tardis-dev')
// let's monitor BTC perpetuals swaps only
const monitoredExchanges = [
{ id: 'ftx', symbols: ['BTC-PERP'] },
{ id: 'bitmex', symbols: ['XBTUSD'] },
{ id: 'deribit', symbols: ['BTC-PERPETUAL'] },
{ id: 'binance-futures', symbols: ['BTCUSDT'] },
{ id: 'binance-delivery', symbols: ['BTCUSD_PERP'] },
{ id: 'bitfinex-derivatives', symbols: ['BTCF0:USTF0'] },