@proton/ccxt
Version:
A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges
39 lines (38 loc) • 2.19 kB
TypeScript
import blockchaincomRest from '../blockchaincom.js';
import { IndexType, Int } from '../base/types';
import Client from '../base/ws/Client.js';
export default class blockchaincom extends blockchaincomRest {
describe(): any;
watchBalance(params?: {}): Promise<any>;
handleBalance(client: Client, message: any): any;
watchOHLCV(symbol: string, timeframe?: string, since?: Int, limit?: Int, params?: {}): Promise<any>;
handleOHLCV(client: Client, message: any): any;
watchTicker(symbol: string, params?: {}): Promise<any>;
handleTicker(client: Client, message: any): any;
parseWsUpdatedTicker(ticker: any, lastTicker?: any, market?: any): import("../base/types").Ticker;
watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<any>;
handleTrades(client: Client, message: any): any;
parseWsTrade(trade: any, market?: any): import("../base/types").Trade;
watchOrders(symbol?: string, since?: Int, limit?: Int, params?: {}): Promise<any>;
handleOrders(client: Client, message: any): any;
parseWsOrder(order: any, market?: any): import("../base/types").Order;
parseWsOrderStatus(status: any): string;
watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<any>;
handleOrderBook(client: Client, message: any): any;
parseCountedBidAsk(bidAsk: any, priceKey?: IndexType, amountKey?: IndexType, countKey?: IndexType): number[];
parseCountedBidsAsks(bidasks: any, priceKey?: IndexType, amountKey?: IndexType, countKey?: IndexType): any[];
parseCountedOrderBook(orderbook: any, symbol: string, timestamp?: Int, bidsKey?: IndexType, asksKey?: IndexType, priceKey?: IndexType, amountKey?: IndexType, countKey?: IndexType): {
symbol: string;
bids: any;
asks: any;
timestamp: number;
datetime: string;
nonce: any;
};
handleDelta(bookside: any, delta: any): void;
handleDeltas(bookside: any, deltas: any): void;
checkSequenceNumber(client: Client, message: any): void;
handleMessage(client: Client, message: any): any;
handleAuthenticationMessage(client: Client, message: any): void;
authenticate(params?: {}): any;
}