UNPKG

btcturk-js

Version:
27 lines (26 loc) 2.06 kB
export declare class Btcturk { private apiKey; private apiSecretKey; constructor(apiKey: string, apiSecretKey: string); getHeaderCredentials(): { "X-PCK": string; "X-Stamp": string; "X-Signature": string; "Content-Type": string; }; getTicker(symbol?: string): Promise<import("axios").AxiosResponse<any, any>>; getOrderBook(symbol: string, limit?: number): Promise<import("axios").AxiosResponse<any, any>>; getTrades(symbol: string, last?: number): Promise<import("axios").AxiosResponse<any, any>>; getOhlcData(symbol: string, from?: number, to?: number): Promise<import("axios").AxiosResponse<any, any>>; getExchangeInfo(): Promise<import("axios").AxiosResponse<any, any>>; getAccountBalance(): Promise<import("axios").AxiosResponse<any, any>>; getUserTransactions(type: string[], symbol: string[], startDate?: number, endDate?: number): Promise<import("axios").AxiosResponse<any, any>>; getUserTransactionByID(orderID: number): Promise<import("axios").AxiosResponse<any, any>>; getCryptoTransactions(type: string[], symbol: string[], startDate?: number, endDate?: number): Promise<import("axios").AxiosResponse<any, any>>; getFiatTransactions(type: string[], symbol: string[], startDate?: number, endDate?: number): Promise<import("axios").AxiosResponse<any, any>>; getOpenOrders(symbol: string): Promise<import("axios").AxiosResponse<any, any>>; getAllOrders(symbol: string, startTime?: number, endTime?: number, page?: number, limit?: number): Promise<import("axios").AxiosResponse<any, any>>; getAllOrdersByID(orderID: number, symbol: string, startTime: number, endTime: number, page?: number, limit?: number): Promise<import("axios").AxiosResponse<any, any>>; submitOrder(quantity: number, price: number, stopPrice: number, orderMethod: string, orderType: string, pairSymbol: string, newOrderClientId?: string): Promise<import("axios").AxiosResponse<any, any>>; cancelOrder(id: number): Promise<import("axios").AxiosResponse<any, any>>; }