UNPKG

@melonproject/ea-bitfinex

Version:
7 lines (6 loc) 725 B
declare const websocket: { watchAssetPair: (pair: string, options?: Pick<import("./public/websocket/book").SubscriptionOptions, "prec" | "freq" | "length">) => import("rxjs").Observable<import("./public/websocket/book").TradingPairBookEntry | import("./public/websocket/book").TradingPairBookEntry[]>; watchCurrency: (symbol: string, options?: Pick<import("./public/websocket/book").SubscriptionOptions, "prec" | "freq" | "length">) => import("rxjs").Observable<import("./public/websocket/book").CurrencyBookEntry | import("./public/websocket/book").CurrencyBookEntry[]>; socket: <T>(subscribe: () => import("./public/websocket/socket").SubscribeMessage) => import("rxjs").Observable<T>; }; export { websocket };