UNPKG

@jalmonter/ccxt

Version:

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

27 lines (26 loc) 1.4 kB
import hollaexRest from '../hollaex.js'; import type { Int, Str, OrderBook, Order, Trade, Balances } from '../base/types.js'; import Client from '../base/ws/Client.js'; export default class hollaex extends hollaexRest { describe(): any; watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>; handleOrderBook(client: Client, message: any): void; watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>; handleTrades(client: Client, message: any): void; watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>; handleMyTrades(client: Client, message: any, subscription?: any): number; watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>; handleOrder(client: Client, message: any, subscription?: any): number; watchBalance(params?: {}): Promise<Balances>; handleBalance(client: Client, message: any): void; watchPublic(messageHash: any, params?: {}): Promise<any>; watchPrivate(messageHash: any, params?: {}): Promise<any>; handleErrorMessage(client: Client, message: any): any; handleMessage(client: Client, message: any): void; ping(client: any): { op: string; }; handlePong(client: Client, message: any): any; onError(client: Client, error: any): void; onClose(client: Client, error: any): void; }