@proton/ccxt
Version:
A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges
22 lines (21 loc) • 1.03 kB
TypeScript
import bitrueRest from '../bitrue.js';
import { Int } from '../base/types.js';
import Client from '../base/ws/Client.js';
export default class bitrue extends bitrueRest {
describe(): any;
watchBalance(params?: {}): Promise<any>;
handleBalance(client: Client, message: any): void;
parseWSBalances(balances: any): void;
watchOrders(symbol?: string, since?: Int, limit?: Int, params?: {}): Promise<any>;
handleOrder(client: Client, message: any): void;
parseWsOrder(order: any, market?: any): import("../base/types.js").Order;
watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<any>;
handleOrderBook(client: Client, message: any): void;
parseWsOrderType(typeId: any): string;
parseWsOrderStatus(status: any): string;
handlePing(client: Client, message: any): void;
pong(client: any, message: any): Promise<void>;
handleMessage(client: Client, message: any): void;
authenticate(params?: {}): Promise<any>;
keepAliveListenKey(params?: {}): Promise<void>;
}