@proton/ccxt
Version:
A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges
24 lines (23 loc) • 1.18 kB
TypeScript
import lunoRest from '../luno.js';
import { Int } from '../base/types.js';
import Client from '../base/ws/Client.js';
export default class luno extends lunoRest {
describe(): any;
watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<any>;
handleTrades(client: Client, message: any, subscription: any): void;
parseTrade(trade: any, market?: any): import("../base/types.js").Trade;
watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<any>;
handleOrderBook(client: Client, message: any, subscription: any): void;
customParseOrderBook(orderbook: any, symbol: any, timestamp?: any, bidsKey?: string, asksKey?: string, priceKey?: string, amountKey?: string, thirdKey?: any): {
symbol: any;
bids: any;
asks: any;
timestamp: any;
datetime: string;
nonce: any;
};
parseBidsAsks(bidasks: any, priceKey?: string, amountKey?: string, thirdKey?: any): any[];
customParseBidAsk(bidask: any, priceKey?: string, amountKey?: string, thirdKey?: any): number[];
handleDelta(orderbook: any, message: any): any;
handleMessage(client: Client, message: any): any;
}