@proton/ccxt
Version:
A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges
19 lines (18 loc) • 959 B
TypeScript
import ndaxRest from '../ndax.js';
import { Int } from '../base/types.js';
import Client from '../base/ws/Client.js';
export default class ndax extends ndaxRest {
describe(): any;
requestId(): any;
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): void;
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>;
handleOrderBook(client: Client, message: any): any;
handleOrderBookSubscription(client: Client, message: any, subscription: any): void;
handleSubscriptionStatus(client: Client, message: any): any;
handleMessage(client: Client, message: any): any;
}