tardis-dev
Advanced tools
Comparing version 12.6.8 to 12.6.9
@@ -1,2 +0,2 @@ | ||
export declare const EXCHANGES: readonly ["bitmex", "deribit", "binance-futures", "binance-delivery", "binance-options", "binance", "ftx", "okex-futures", "okex-options", "okex-swap", "okex", "huobi-dm", "huobi-dm-swap", "huobi-dm-linear-swap", "huobi", "bitfinex-derivatives", "bitfinex", "coinbase", "cryptofacilities", "kraken", "bitstamp", "gemini", "poloniex", "bybit", "phemex", "delta", "ftx-us", "binance-us", "gate-io-futures", "gate-io", "okcoin", "bitflyer", "hitbtc", "coinflex", "binance-jersey", "binance-dex", "upbit", "ascendex", "dydx", "serum", "huobi-dm-options"]; | ||
export declare const EXCHANGES: readonly ["bitmex", "deribit", "binance-futures", "binance-delivery", "binance-options", "binance", "ftx", "okex-futures", "okex-options", "okex-swap", "okex", "huobi-dm", "huobi-dm-swap", "huobi-dm-linear-swap", "huobi", "bitfinex-derivatives", "bitfinex", "coinbase", "cryptofacilities", "kraken", "bitstamp", "gemini", "poloniex", "bybit", "phemex", "delta", "ftx-us", "binance-us", "gate-io-futures", "gate-io", "okcoin", "bitflyer", "hitbtc", "coinflex", "binance-jersey", "binance-dex", "upbit", "ascendex", "dydx", "serum", "huobi-dm-options", "star-atlas"]; | ||
export declare const EXCHANGE_CHANNELS_INFO: { | ||
@@ -43,4 +43,5 @@ bitmex: readonly ["trade", "orderBookL2", "liquidation", "connected", "announcement", "chat", "publicNotifications", "instrument", "settlement", "funding", "insurance", "orderBookL2_25", "orderBook10", "quote", "quoteBin1m", "quoteBin5m", "quoteBin1h", "quoteBin1d", "tradeBin1m", "tradeBin5m", "tradeBin1h", "tradeBin1d"]; | ||
serum: readonly ["recent_trades", "trade", "quote", "l2snapshot", "l2update", "l3snapshot", "open", "fill", "change", "done"]; | ||
'star-atlas': readonly ["recent_trades", "trade", "quote", "l2snapshot", "l2update", "l3snapshot", "open", "fill", "change", "done"]; | ||
'huobi-dm-options': readonly ["trade", "detail", "depth", "bbo", "open_interest", "option_market_index", "option_index"]; | ||
}; | ||
//# sourceMappingURL=consts.d.ts.map |
@@ -45,3 +45,4 @@ "use strict"; | ||
'serum', | ||
'huobi-dm-options' | ||
'huobi-dm-options', | ||
'star-atlas' | ||
]; | ||
@@ -297,4 +298,5 @@ const BINANCE_CHANNELS = ['trade', 'aggTrade', 'ticker', 'depth', 'depthSnapshot', 'bookTicker', 'recentTrades', 'borrowInterest']; | ||
serum: SERUM_CHANNELS, | ||
'star-atlas': SERUM_CHANNELS, | ||
'huobi-dm-options': HUOBI_DM_OPTIONS_CHANNELS | ||
}; | ||
//# sourceMappingURL=consts.js.map |
@@ -28,3 +28,3 @@ import { BookChange, DerivativeTicker, Exchange, Liquidation, Trade } from '../types'; | ||
readonly symbol: string; | ||
readonly exchange: "bitmex" | "deribit" | "binance-futures" | "binance-delivery" | "binance-options" | "binance" | "ftx" | "okex-futures" | "okex-options" | "okex-swap" | "okex" | "huobi-dm" | "huobi-dm-swap" | "huobi-dm-linear-swap" | "huobi" | "bitfinex-derivatives" | "bitfinex" | "coinbase" | "cryptofacilities" | "kraken" | "bitstamp" | "gemini" | "poloniex" | "bybit" | "phemex" | "delta" | "ftx-us" | "binance-us" | "gate-io-futures" | "gate-io" | "okcoin" | "bitflyer" | "hitbtc" | "coinflex" | "binance-jersey" | "binance-dex" | "upbit" | "ascendex" | "dydx" | "serum" | "huobi-dm-options"; | ||
readonly exchange: "bitmex" | "deribit" | "binance-futures" | "binance-delivery" | "binance-options" | "binance" | "ftx" | "okex-futures" | "okex-options" | "okex-swap" | "okex" | "huobi-dm" | "huobi-dm-swap" | "huobi-dm-linear-swap" | "huobi" | "bitfinex-derivatives" | "bitfinex" | "coinbase" | "cryptofacilities" | "kraken" | "bitstamp" | "gemini" | "poloniex" | "bybit" | "phemex" | "delta" | "ftx-us" | "binance-us" | "gate-io-futures" | "gate-io" | "okcoin" | "bitflyer" | "hitbtc" | "coinflex" | "binance-jersey" | "binance-dex" | "upbit" | "ascendex" | "dydx" | "serum" | "huobi-dm-options" | "star-atlas"; | ||
readonly isSnapshot: boolean; | ||
@@ -31,0 +31,0 @@ readonly bids: { |
@@ -25,3 +25,3 @@ import { BookChange, DerivativeTicker, Exchange, Liquidation, OptionSummary, Trade } from '../types'; | ||
readonly symbol: string; | ||
readonly exchange: "bitmex" | "deribit" | "binance-futures" | "binance-delivery" | "binance-options" | "binance" | "ftx" | "okex-futures" | "okex-options" | "okex-swap" | "okex" | "huobi-dm" | "huobi-dm-swap" | "huobi-dm-linear-swap" | "huobi" | "bitfinex-derivatives" | "bitfinex" | "coinbase" | "cryptofacilities" | "kraken" | "bitstamp" | "gemini" | "poloniex" | "bybit" | "phemex" | "delta" | "ftx-us" | "binance-us" | "gate-io-futures" | "gate-io" | "okcoin" | "bitflyer" | "hitbtc" | "coinflex" | "binance-jersey" | "binance-dex" | "upbit" | "ascendex" | "dydx" | "serum" | "huobi-dm-options"; | ||
readonly exchange: "bitmex" | "deribit" | "binance-futures" | "binance-delivery" | "binance-options" | "binance" | "ftx" | "okex-futures" | "okex-options" | "okex-swap" | "okex" | "huobi-dm" | "huobi-dm-swap" | "huobi-dm-linear-swap" | "huobi" | "bitfinex-derivatives" | "bitfinex" | "coinbase" | "cryptofacilities" | "kraken" | "bitstamp" | "gemini" | "poloniex" | "bybit" | "phemex" | "delta" | "ftx-us" | "binance-us" | "gate-io-futures" | "gate-io" | "okcoin" | "bitflyer" | "hitbtc" | "coinflex" | "binance-jersey" | "binance-dex" | "upbit" | "ascendex" | "dydx" | "serum" | "huobi-dm-options" | "star-atlas"; | ||
readonly isSnapshot: boolean; | ||
@@ -55,3 +55,3 @@ readonly bids: { | ||
readonly symbol: string; | ||
readonly exchange: "bitmex" | "deribit" | "binance-futures" | "binance-delivery" | "binance-options" | "binance" | "ftx" | "okex-futures" | "okex-options" | "okex-swap" | "okex" | "huobi-dm" | "huobi-dm-swap" | "huobi-dm-linear-swap" | "huobi" | "bitfinex-derivatives" | "bitfinex" | "coinbase" | "cryptofacilities" | "kraken" | "bitstamp" | "gemini" | "poloniex" | "bybit" | "phemex" | "delta" | "ftx-us" | "binance-us" | "gate-io-futures" | "gate-io" | "okcoin" | "bitflyer" | "hitbtc" | "coinflex" | "binance-jersey" | "binance-dex" | "upbit" | "ascendex" | "dydx" | "serum" | "huobi-dm-options"; | ||
readonly exchange: "bitmex" | "deribit" | "binance-futures" | "binance-delivery" | "binance-options" | "binance" | "ftx" | "okex-futures" | "okex-options" | "okex-swap" | "okex" | "huobi-dm" | "huobi-dm-swap" | "huobi-dm-linear-swap" | "huobi" | "bitfinex-derivatives" | "bitfinex" | "coinbase" | "cryptofacilities" | "kraken" | "bitstamp" | "gemini" | "poloniex" | "bybit" | "phemex" | "delta" | "ftx-us" | "binance-us" | "gate-io-futures" | "gate-io" | "okcoin" | "bitflyer" | "hitbtc" | "coinflex" | "binance-jersey" | "binance-dex" | "upbit" | "ascendex" | "dydx" | "serum" | "huobi-dm-options" | "star-atlas"; | ||
readonly isSnapshot: false; | ||
@@ -71,3 +71,3 @@ readonly bids: { | ||
readonly symbol: string; | ||
readonly exchange: "bitmex" | "deribit" | "binance-futures" | "binance-delivery" | "binance-options" | "binance" | "ftx" | "okex-futures" | "okex-options" | "okex-swap" | "okex" | "huobi-dm" | "huobi-dm-swap" | "huobi-dm-linear-swap" | "huobi" | "bitfinex-derivatives" | "bitfinex" | "coinbase" | "cryptofacilities" | "kraken" | "bitstamp" | "gemini" | "poloniex" | "bybit" | "phemex" | "delta" | "ftx-us" | "binance-us" | "gate-io-futures" | "gate-io" | "okcoin" | "bitflyer" | "hitbtc" | "coinflex" | "binance-jersey" | "binance-dex" | "upbit" | "ascendex" | "dydx" | "serum" | "huobi-dm-options"; | ||
readonly exchange: "bitmex" | "deribit" | "binance-futures" | "binance-delivery" | "binance-options" | "binance" | "ftx" | "okex-futures" | "okex-options" | "okex-swap" | "okex" | "huobi-dm" | "huobi-dm-swap" | "huobi-dm-linear-swap" | "huobi" | "bitfinex-derivatives" | "bitfinex" | "coinbase" | "cryptofacilities" | "kraken" | "bitstamp" | "gemini" | "poloniex" | "bybit" | "phemex" | "delta" | "ftx-us" | "binance-us" | "gate-io-futures" | "gate-io" | "okcoin" | "bitflyer" | "hitbtc" | "coinflex" | "binance-jersey" | "binance-dex" | "upbit" | "ascendex" | "dydx" | "serum" | "huobi-dm-options" | "star-atlas"; | ||
readonly isSnapshot: true; | ||
@@ -74,0 +74,0 @@ readonly bids: { |
import { BookChange, DerivativeTicker, Liquidation, OptionSummary, Quote, Trade } from '../types'; | ||
import { Mapper } from './mapper'; | ||
export * from './mapper'; | ||
export declare const normalizeTrades: <T extends "bitmex" | "deribit" | "binance-futures" | "binance-delivery" | "binance-options" | "binance" | "ftx" | "okex-futures" | "okex-options" | "okex-swap" | "okex" | "huobi-dm" | "huobi-dm-swap" | "huobi-dm-linear-swap" | "huobi" | "bitfinex-derivatives" | "bitfinex" | "coinbase" | "cryptofacilities" | "kraken" | "bitstamp" | "gemini" | "poloniex" | "bybit" | "phemex" | "delta" | "ftx-us" | "binance-us" | "gate-io-futures" | "gate-io" | "okcoin" | "bitflyer" | "hitbtc" | "coinflex" | "binance-jersey" | "binance-dex" | "upbit" | "ascendex" | "dydx" | "serum" | "huobi-dm-options">(exchange: T, localTimestamp: Date) => Mapper<T, Trade>; | ||
export declare const normalizeBookChanges: <T extends "bitmex" | "deribit" | "binance-futures" | "binance-delivery" | "binance-options" | "binance" | "ftx" | "okex-futures" | "okex-options" | "okex-swap" | "okex" | "huobi-dm" | "huobi-dm-swap" | "huobi-dm-linear-swap" | "huobi" | "bitfinex-derivatives" | "bitfinex" | "coinbase" | "cryptofacilities" | "kraken" | "bitstamp" | "gemini" | "poloniex" | "bybit" | "phemex" | "delta" | "ftx-us" | "binance-us" | "gate-io-futures" | "gate-io" | "okcoin" | "bitflyer" | "hitbtc" | "coinflex" | "binance-jersey" | "binance-dex" | "upbit" | "ascendex" | "dydx" | "serum" | "huobi-dm-options">(exchange: T, localTimestamp: Date) => Mapper<T, BookChange>; | ||
export declare const normalizeTrades: <T extends "bitmex" | "deribit" | "binance-futures" | "binance-delivery" | "binance-options" | "binance" | "ftx" | "okex-futures" | "okex-options" | "okex-swap" | "okex" | "huobi-dm" | "huobi-dm-swap" | "huobi-dm-linear-swap" | "huobi" | "bitfinex-derivatives" | "bitfinex" | "coinbase" | "cryptofacilities" | "kraken" | "bitstamp" | "gemini" | "poloniex" | "bybit" | "phemex" | "delta" | "ftx-us" | "binance-us" | "gate-io-futures" | "gate-io" | "okcoin" | "bitflyer" | "hitbtc" | "coinflex" | "binance-jersey" | "binance-dex" | "upbit" | "ascendex" | "dydx" | "serum" | "huobi-dm-options" | "star-atlas">(exchange: T, localTimestamp: Date) => Mapper<T, Trade>; | ||
export declare const normalizeBookChanges: <T extends "bitmex" | "deribit" | "binance-futures" | "binance-delivery" | "binance-options" | "binance" | "ftx" | "okex-futures" | "okex-options" | "okex-swap" | "okex" | "huobi-dm" | "huobi-dm-swap" | "huobi-dm-linear-swap" | "huobi" | "bitfinex-derivatives" | "bitfinex" | "coinbase" | "cryptofacilities" | "kraken" | "bitstamp" | "gemini" | "poloniex" | "bybit" | "phemex" | "delta" | "ftx-us" | "binance-us" | "gate-io-futures" | "gate-io" | "okcoin" | "bitflyer" | "hitbtc" | "coinflex" | "binance-jersey" | "binance-dex" | "upbit" | "ascendex" | "dydx" | "serum" | "huobi-dm-options" | "star-atlas">(exchange: T, localTimestamp: Date) => Mapper<T, BookChange>; | ||
export declare const normalizeDerivativeTickers: <T extends "bitmex" | "deribit" | "binance-futures" | "binance-delivery" | "ftx" | "okex-futures" | "okex-swap" | "huobi-dm" | "huobi-dm-swap" | "huobi-dm-linear-swap" | "bitfinex-derivatives" | "cryptofacilities" | "bybit" | "phemex" | "delta" | "gate-io-futures" | "coinflex" | "ascendex" | "dydx">(exchange: T, localTimestamp: Date) => Mapper<T, DerivativeTicker>; | ||
@@ -7,0 +7,0 @@ export declare const normalizeOptionsSummary: <T extends "deribit" | "binance-options" | "okex-options" | "huobi-dm-options">(exchange: T, _localTimestamp: Date) => Mapper<T, OptionSummary>; |
@@ -91,3 +91,4 @@ "use strict"; | ||
dydx: () => new dydx_1.DydxTradesMapper(), | ||
serum: () => new serum_1.SerumTradesMapper() | ||
serum: () => new serum_1.SerumTradesMapper(), | ||
'star-atlas': () => new serum_1.SerumTradesMapper() | ||
}; | ||
@@ -137,3 +138,4 @@ const bookChangeMappers = { | ||
dydx: () => new dydx_1.DydxBookChangeMapper(), | ||
serum: () => new serum_1.SerumBookChangeMapper() | ||
serum: () => new serum_1.SerumBookChangeMapper(), | ||
'star-atlas': () => new serum_1.SerumBookChangeMapper() | ||
}; | ||
@@ -140,0 +142,0 @@ const derivativeTickersMappers = { |
@@ -41,2 +41,3 @@ "use strict"; | ||
const serum_1 = require("./serum"); | ||
const staratlas_1 = require("./staratlas"); | ||
__exportStar(require("./realtimefeed"), exports); | ||
@@ -84,2 +85,3 @@ const realTimeFeedsMap = { | ||
serum: serum_1.SerumRealTimeFeed, | ||
'star-atlas': staratlas_1.StarAtlasRealTimeFeed, | ||
'huobi-dm-options': huobi_1.HuobiDMOptionsRealTimeFeed | ||
@@ -86,0 +88,0 @@ }; |
{ | ||
"name": "tardis-dev", | ||
"version": "12.6.8", | ||
"version": "12.6.9", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=12" |
@@ -42,3 +42,4 @@ export const EXCHANGES = [ | ||
'serum', | ||
'huobi-dm-options' | ||
'huobi-dm-options', | ||
'star-atlas' | ||
] as const | ||
@@ -326,3 +327,4 @@ | ||
serum: SERUM_CHANNELS, | ||
'star-atlas': SERUM_CHANNELS, | ||
'huobi-dm-options': HUOBI_DM_OPTIONS_CHANNELS | ||
} |
@@ -109,3 +109,4 @@ import { ONE_SEC_IN_MS } from '../handy' | ||
dydx: () => new DydxTradesMapper(), | ||
serum: () => new SerumTradesMapper() | ||
serum: () => new SerumTradesMapper(), | ||
'star-atlas': () => new SerumTradesMapper() | ||
} | ||
@@ -165,3 +166,4 @@ | ||
dydx: () => new DydxBookChangeMapper(), | ||
serum: () => new SerumBookChangeMapper() | ||
serum: () => new SerumBookChangeMapper(), | ||
'star-atlas': () => new SerumBookChangeMapper() | ||
} | ||
@@ -168,0 +170,0 @@ |
@@ -42,2 +42,3 @@ import { Exchange, Filter } from '../types' | ||
import { SerumRealTimeFeed } from './serum' | ||
import { StarAtlasRealTimeFeed } from './staratlas' | ||
@@ -89,2 +90,3 @@ export * from './realtimefeed' | ||
serum: SerumRealTimeFeed, | ||
'star-atlas': StarAtlasRealTimeFeed, | ||
'huobi-dm-options': HuobiDMOptionsRealTimeFeed | ||
@@ -91,0 +93,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1231533
409
22491