tardis-dev
Version:
Convenient access to tick-level historical and real-time cryptocurrency market data via Node.js
19 lines • 878 B
TypeScript
import { Filter } from '../types.ts';
import { RealTimeFeedBase } from './realtimefeed.ts';
declare abstract class BitgetRealTimeFeedBase extends RealTimeFeedBase {
protected throttleSubscribeMS: number;
protected readonly wssURL = "wss://ws.bitget.com/v3/ws/public";
protected mapToSubscribeMessages(filters: Filter<string>[]): any[];
protected messageIsError(message: any): boolean;
abstract getInstType(symbol: string): string;
protected getLiquidationInstTypes(): string[];
}
export declare class BitgetRealTimeFeed extends BitgetRealTimeFeedBase {
getInstType(_: string): string;
}
export declare class BitgetFuturesRealTimeFeed extends BitgetRealTimeFeedBase {
getInstType(symbol: string): "usdt-futures" | "usdc-futures" | "coin-futures";
protected getLiquidationInstTypes(): string[];
}
export {};
//# sourceMappingURL=bitget.d.ts.map