@melonproject/ea-bitfinex
Version:
Integration for the Bitfinex API.
7 lines (6 loc) • 725 B
TypeScript
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 };