UNPKG

@jalmonter/tardis-dev

Version:

Convenient access to tick-level historical and real-time cryptocurrency market data via Node.js

29 lines 872 B
import { Exchange, FilterForExchange } from './types'; export type SymbolType = 'spot' | 'future' | 'perpetual' | 'option'; export type Stats = { trades: number; bookChanges: number; }; export type DatasetType = 'trades' | 'incremental_book_L2' | 'quotes' | 'derivative_ticker' | 'options_chain'; export type ExchangeDetailsBase<T extends Exchange> = { id: T; name: string; filterable: boolean; enabled: boolean; availableSince: string; availableChannels: FilterForExchange[T]['channel'][]; availableSymbols: { id: string; type: SymbolType; availableSince: string; availableTo?: string; name?: string; }[]; incidentReports: { from: string; to: string; status: 'resolved' | 'wontfix'; details: string; }; }; //# sourceMappingURL=exchangedetails.d.ts.map