UNPKG

@proton/ccxt

Version:

A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges

21 lines (20 loc) 1.11 kB
import hitbtcRest from '../hitbtc.js'; import { Int } from '../base/types.js'; import Client from '../base/ws/Client.js'; export default class hitbtc extends hitbtcRest { describe(): any; watchPublic(symbol: string, channel: any, timeframe?: any, params?: {}): Promise<any>; watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<any>; handleOrderBookSnapshot(client: Client, message: any): void; handleOrderBookUpdate(client: Client, message: any): void; handleDelta(bookside: any, delta: any): void; handleDeltas(bookside: any, deltas: any): void; watchTicker(symbol: string, params?: {}): Promise<any>; handleTicker(client: Client, message: any): void; watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<any>; handleTrades(client: Client, message: any): any; watchOHLCV(symbol: string, timeframe?: string, since?: Int, limit?: Int, params?: {}): Promise<any>; handleOHLCV(client: Client, message: any): any; handleNotification(client: Client, message: any): any; handleMessage(client: Client, message: any): void; }