Skip to content

Commit

Permalink
Fix ccxt.d.ts errors of issue 1765
Browse files Browse the repository at this point in the history
  • Loading branch information
gfmio committed Feb 4, 2018
1 parent fb9b65b commit 0b257c0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ccxt.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,13 @@ declare module 'ccxt' {
extractParams (str: string): string[];
createOrder (market: string, type: string, side: string, amount: string, price?: string, params?: string): Promise<any>;
fetchBalance (params?: any): Promise<Balances>;
fetchOrderBook (market: string, limit: number = undefined, params?: any): Promise<OrderBook>;
fetchTicker (market: string): Promise<Ticker>;
fetchTickers (): Promise<Tickers>;
fetchTrades (symbol: string, since: number = undefined, limit: number = undefined, params?: {}): Promise<Trade[]>;
fetchOHLCV? (symbol: string, timeframe: string, since: number = undefined, limit: number = undefined, params: any = {}): Promise<OHLCV[]>;
fetchOrders (symbol?: string, since: number = undefined, limit: number = undefined, params?: {}): Promise<Order[]>;
fetchOpenOrders (symbol?: string, since: number = undefined, limit: number = undefined, params?: {}): Promise<Order[]>;
fetchOrderBook(market: string, limit?: number, params?: any): Promise<OrderBook>;
fetchTicker(market: string): Promise<Ticker>;
fetchTickers(): Promise<Tickers>;
fetchTrades(symbol: string, since?: number, limit?: number, params?: {}): Promise<Trade[]>;
fetchOHLCV?(symbol: string, timeframe: string, since?: number, limit?: number, params?: {}): Promise<OHLCV[]>;
fetchOrders(symbol?: string, since?: number, limit?: number, params?: {}): Promise<Order[]>;
fetchOpenOrders(symbol?: string, since?: number, limit?: number, params?: {}): Promise<Order[]>;
cancelOrder (id: string): Promise<any>;
deposit (currency: string, amount: string, address: string, params?: any): Promise<any>;
withdraw (currency: string, amount: string, address: string, params?: any): Promise<any>;
Expand Down

0 comments on commit 0b257c0

Please sign in to comment.