UNPKG

tardis-dev

Version:

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

17 lines 770 B
import { Filter } from '../types'; import { RealTimeFeedBase } from './realtimefeed'; declare abstract class BitgetRealTimeFeedBase extends RealTimeFeedBase { protected throttleSubscribeMS: number; protected readonly wssURL = "wss://ws.bitget.com/v2/ws/public"; protected mapToSubscribeMessages(filters: Filter<string>[]): any[]; protected messageIsError(message: any): boolean; abstract getInstType(symbol: string): string; } export declare class BitgetRealTimeFeed extends BitgetRealTimeFeedBase { getInstType(_: string): string; } export declare class BitgetFuturesRealTimeFeed extends BitgetRealTimeFeedBase { getInstType(symbol: string): "COIN-FUTURES" | "USDT-FUTURES" | "USDC-FUTURES"; } export {}; //# sourceMappingURL=bitget.d.ts.map