-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathccxt.pro.d.ts
More file actions
65 lines (59 loc) · 2.87 KB
/
ccxt.pro.d.ts
File metadata and controls
65 lines (59 loc) · 2.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
declare module 'ccxt.pro' {
import {
Balances,
Dictionary,
Exchange as BaseExchange,
OHLCV,
Order,
OrderBook,
Params,
Ticker,
Trade,
} from 'ccxt'
export class Exchange extends BaseExchange {
watchTicker (symbol: string, params?: Params): Promise<Ticker>;
watchTickers (symbols?: string[], params?: Params): Promise<Dictionary<Ticker>>;
watchOrderBook (symbol: string, limit?: number, params?: Params): Promise<OrderBook>;
watchOHLCV (symbol: string, timeframe?: string, since?: number, limit?: number, params?: Params): Promise<OHLCV[]>;
// watchStatus (params?: Params): Promise<any>;
watchTrades (symbol: string, since?: number, limit?: number, params?: Params): Promise<Trade[]>;
watchBalance (params?: Params): Promise<Balances>;
watchOrder (id: string, symbol: string, params?: Params): Promise<Order>;
watchOrders (symbol?: string, since?: number, limit?: number, params?: Params): Promise<Order[]>;
watchOpenOrders (symbol?: string, since?: number, limit?: number, params?: Params): Promise<Order[]>;
watchClosedOrders (symbol?: string, since?: number, limit?: number, params?: Params): Promise<Order[]>;
watchMyTrades (symbol?: string, since?: any, limit?: any, params?: Params): Promise<Trade>;
// watchDeposits (currency?: string, since?: number, limit?: number, params?: Params): Promise<Transaction[]>;
// watchWithdrawals (currency?: string, since?: number, limit?: number, params?: Params): Promise<Transaction[]>;
}
/* tslint:disable */
export class bequant extends hitbtc {}
export class binance extends Exchange {}
export class binanceus extends binance {}
export class bitcoincom extends hitbtc {}
export class bitfinex extends Exchange {}
export class bitmex extends Exchange {}
export class bitstamp extends Exchange {}
export class bittrex extends Exchange {}
export class bitvavo extends Exchange {}
export class cdax extends huobipro {}
export class coinbaseprime extends coinbasepro {}
export class coinbasepro extends Exchange {}
export class currencycom extends Exchange {}
export class ftx extends Exchange {}
export class gateio extends Exchange {}
export class gopax extends Exchange {}
export class hitbtc extends Exchange {}
export class huobijp extends huobipro {}
export class huobipro extends Exchange {}
export class idex extends Exchange {}
export class kraken extends Exchange {}
export class kucoin extends Exchange {}
export class okcoin extends okex {}
export class okex extends Exchange {}
export class phemex extends Exchange {}
export class poloniex extends Exchange {}
export class ripio extends Exchange {}
export class upbit extends Exchange {}
/* tslint:enable */
}