UNPKG

tardis-dev

Version:

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

17 lines 977 B
import { Filter } from '../types.ts'; import { RealTimeFeedBase, MultiConnectionRealTimeFeedBase } from './realtimefeed.ts'; export declare class GateIOFuturesRealTimeFeed extends MultiConnectionRealTimeFeedBase { protected _getRealTimeFeeds(exchange: string, filters: Filter<string>[], timeoutIntervalMS?: number, onError?: (error: Error) => void): Generator<GateIOFuturesSingleConnectionRealTimeFeed, void, unknown>; private _only; } declare class GateIOFuturesSingleConnectionRealTimeFeed extends RealTimeFeedBase { protected readonly wssURL: string; protected readonly extraHeaders: { 'X-Gate-Size-Decimal': string; }; constructor(wsURLSuffix: string, exchange: string, filters: Filter<string>[], timeoutIntervalMS?: number, onError?: (error: Error) => void); protected mapToSubscribeMessages(filters: Filter<string>[]): any[]; protected messageIsError(message: any): boolean; } export {}; //# sourceMappingURL=gateiofutures.d.ts.map