@proton/ccxt
Version:
A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges
29 lines (28 loc) • 1.6 kB
TypeScript
import huobijpRest from '../huobijp.js';
import { Int } from '../base/types.js';
import Client from '../base/ws/Client.js';
export default class huobijp extends huobijpRest {
describe(): any;
requestId(): any;
watchTicker(symbol: string, params?: {}): Promise<any>;
handleTicker(client: Client, message: any): any;
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): void;
watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<any>;
handleOrderBookSnapshot(client: Client, message: any, subscription: any): void;
watchOrderBookSnapshot(client: any, message: any, subscription: any): Promise<any>;
handleDelta(bookside: any, delta: any): void;
handleDeltas(bookside: any, deltas: any): void;
handleOrderBookMessage(client: Client, message: any, orderbook: any): any;
handleOrderBook(client: Client, message: any): void;
handleOrderBookSubscription(client: Client, message: any, subscription: any): void;
handleSubscriptionStatus(client: Client, message: any): any;
handleSystemStatus(client: Client, message: any): any;
handleSubject(client: Client, message: any): any;
pong(client: any, message: any): Promise<void>;
handlePing(client: Client, message: any): void;
handleErrorMessage(client: Client, message: any): any;
handleMessage(client: Client, message: any): void;
}