UNPKG

@exchanges/binance

Version:

Exchange provider for Binance API

19 lines (18 loc) 620 B
import { BinanceClient } from '../../../clients'; export interface IndividualSymbolBookTickerStreamsResponse { orderBookUpdateId: number; symbol: string; bestBidPrice: number; bestBidQuantity: number; bestAskPrice: number; bestAskQuantity: number; } export interface IndividualSymbolBookTickerStreamsResponseRaw { u: number; s: string; b: string; B: string; a: string; A: string; } export declare function individualSymbolBookTickerStreams(client: BinanceClient, symbol: string, callback: (data: IndividualSymbolBookTickerStreamsResponse, error?: any) => any): () => any;