This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://zoom.us/j/97222830064?pwd=U1d1cGIvUXVWR2RESjV3bnhMeDhIQT09#success |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip install tardis-client | |
import asyncio | |
from tardis_client import TardisClient, Channel | |
tardis_client = TardisClient(api_key="YOUR_API_KEY") | |
async def replay(): | |
messages = tardis_client.replay( | |
exchange="binance-futures", | |
from_date="2020-10-01", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { streamNormalized, normalizeLiquidations } = require('tardis-dev') | |
async function monitorBitMEXLiquidations() { | |
const bitmexLiquidations = streamNormalized( | |
{ | |
exchange: 'bitmex', | |
symbols: ['XBTUSD', 'ETHUSD'] | |
}, | |
normalizeLiquidations | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'] }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { streamNormalized, normalizeLiquidations, combine, Liquidation } from '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'] }, |