ccxt 4.3.65 → 4.3.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/ccxt.browser.min.js +2 -2
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/base/Exchange.js +2 -2
- package/dist/cjs/src/bingx.js +151 -19
- package/dist/cjs/src/bithumb.js +61 -17
- package/dist/cjs/src/hyperliquid.js +63 -7
- package/dist/cjs/src/independentreserve.js +0 -1
- package/dist/cjs/src/kraken.js +27 -0
- package/dist/cjs/src/pro/hyperliquid.js +103 -1
- package/dist/cjs/src/pro/okx.js +22 -9
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/bingx.d.ts +7 -0
- package/js/src/base/Exchange.d.ts +14 -13
- package/js/src/base/Exchange.js +2 -2
- package/js/src/bingx.js +151 -19
- package/js/src/bithumb.js +61 -17
- package/js/src/hyperliquid.d.ts +3 -1
- package/js/src/hyperliquid.js +63 -7
- package/js/src/independentreserve.js +1 -1
- package/js/src/kraken.d.ts +7 -0
- package/js/src/kraken.js +27 -0
- package/js/src/pro/bitget.d.ts +1 -1
- package/js/src/pro/bybit.d.ts +1 -1
- package/js/src/pro/coinone.d.ts +1 -1
- package/js/src/pro/currencycom.d.ts +1 -1
- package/js/src/pro/hollaex.d.ts +1 -1
- package/js/src/pro/hyperliquid.d.ts +5 -2
- package/js/src/pro/hyperliquid.js +103 -1
- package/js/src/pro/kucoin.d.ts +1 -1
- package/js/src/pro/kucoinfutures.d.ts +1 -1
- package/js/src/pro/mexc.d.ts +1 -1
- package/js/src/pro/okcoin.d.ts +1 -1
- package/js/src/pro/okx.d.ts +2 -2
- package/js/src/pro/okx.js +23 -10
- package/js/src/pro/oxfun.d.ts +1 -1
- package/js/src/pro/p2b.d.ts +1 -1
- package/js/src/pro/poloniex.d.ts +1 -1
- package/js/src/pro/whitebit.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/src/abstract/bittrex.js +0 -9
- package/dist/cjs/src/bittrex.js +0 -2308
- package/dist/cjs/src/pro/bittrex.js +0 -959
- package/js/src/bittrex.d.ts +0 -97
- package/js/src/bittrex.js +0 -2309
- package/js/src/pro/bittrex.d.ts +0 -69
- package/js/src/pro/bittrex.js +0 -960
package/js/src/bittrex.d.ts
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import Exchange from './abstract/bittrex.js';
|
|
2
|
-
import { Int, OrderSide, OrderType, OHLCV, Order, Trade, Balances, Str, Transaction, Ticker, OrderBook, Tickers, Market, Strings, Currency } from './base/types.js';
|
|
3
|
-
/**
|
|
4
|
-
* @class bittrex
|
|
5
|
-
* @augments Exchange
|
|
6
|
-
*/
|
|
7
|
-
export default class bittrex extends Exchange {
|
|
8
|
-
describe(): any;
|
|
9
|
-
feeToPrecision(symbol: any, fee: any): any;
|
|
10
|
-
fetchMarkets(params?: {}): Promise<import("./base/types.js").MarketInterface[]>;
|
|
11
|
-
parseMarket(market: any): Market;
|
|
12
|
-
parseBalance(response: any): Balances;
|
|
13
|
-
fetchBalance(params?: {}): Promise<Balances>;
|
|
14
|
-
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
15
|
-
fetchCurrencies(params?: {}): Promise<{}>;
|
|
16
|
-
parseTicker(ticker: any, market?: Market): Ticker;
|
|
17
|
-
fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
18
|
-
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
19
|
-
fetchBidsAsks(symbols?: Strings, params?: {}): Promise<import("./base/types.js").Dictionary<Ticker>>;
|
|
20
|
-
parseTrade(trade: any, market?: Market): Trade;
|
|
21
|
-
fetchTime(params?: {}): Promise<number>;
|
|
22
|
-
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
23
|
-
fetchTradingFee(symbol: string, params?: {}): Promise<{
|
|
24
|
-
info: any;
|
|
25
|
-
symbol: string;
|
|
26
|
-
maker: number;
|
|
27
|
-
taker: number;
|
|
28
|
-
}>;
|
|
29
|
-
fetchTradingFees(params?: {}): Promise<{
|
|
30
|
-
info: any;
|
|
31
|
-
}>;
|
|
32
|
-
parseTradingFee(fee: any, market?: Market): {
|
|
33
|
-
info: any;
|
|
34
|
-
symbol: string;
|
|
35
|
-
maker: number;
|
|
36
|
-
taker: number;
|
|
37
|
-
};
|
|
38
|
-
parseTradingFees(fees: any): {
|
|
39
|
-
info: any;
|
|
40
|
-
};
|
|
41
|
-
parseOHLCV(ohlcv: any, market?: Market): OHLCV;
|
|
42
|
-
fetchOHLCV(symbol: string, timeframe?: string, since?: Int, limit?: Int, params?: {}): Promise<OHLCV[]>;
|
|
43
|
-
fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
44
|
-
fetchOrderTrades(id: string, symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
45
|
-
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: any, price?: any, params?: {}): Promise<Order>;
|
|
46
|
-
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<any>;
|
|
47
|
-
cancelAllOrders(symbol?: Str, params?: {}): Promise<Order[]>;
|
|
48
|
-
fetchDeposit(id: string, code?: Str, params?: {}): Promise<any>;
|
|
49
|
-
fetchDeposits(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
50
|
-
fetchPendingDeposits(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
51
|
-
fetchWithdrawal(id: string, code?: Str, params?: {}): Promise<any>;
|
|
52
|
-
fetchWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
53
|
-
fetchPendingWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
54
|
-
parseTransaction(transaction: any, currency?: Currency): Transaction;
|
|
55
|
-
parseTimeInForce(timeInForce: any): string;
|
|
56
|
-
parseOrder(order: any, market?: Market): Order;
|
|
57
|
-
parseOrders(orders: any, market?: any, since?: Int, limit?: Int, params?: {}): Order[];
|
|
58
|
-
parseOrderStatus(status: any): string;
|
|
59
|
-
fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
60
|
-
fetchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
61
|
-
fetchClosedOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
62
|
-
createDepositAddress(code: string, params?: {}): Promise<{
|
|
63
|
-
currency: string;
|
|
64
|
-
address: string;
|
|
65
|
-
tag: string;
|
|
66
|
-
network: any;
|
|
67
|
-
info: any;
|
|
68
|
-
}>;
|
|
69
|
-
fetchDepositAddress(code: string, params?: {}): Promise<{
|
|
70
|
-
currency: string;
|
|
71
|
-
address: string;
|
|
72
|
-
tag: string;
|
|
73
|
-
network: any;
|
|
74
|
-
info: any;
|
|
75
|
-
}>;
|
|
76
|
-
parseDepositWithdrawFee(fee: any, currency?: Currency): {
|
|
77
|
-
info: any;
|
|
78
|
-
withdraw: {
|
|
79
|
-
fee: number;
|
|
80
|
-
percentage: boolean;
|
|
81
|
-
};
|
|
82
|
-
deposit: {
|
|
83
|
-
fee: any;
|
|
84
|
-
percentage: any;
|
|
85
|
-
};
|
|
86
|
-
networks: {};
|
|
87
|
-
};
|
|
88
|
-
fetchDepositWithdrawFees(codes?: Strings, params?: {}): Promise<any>;
|
|
89
|
-
withdraw(code: string, amount: any, address: any, tag?: any, params?: {}): Promise<Transaction>;
|
|
90
|
-
sign(path: any, api?: string, method?: string, params?: {}, headers?: any, body?: any): {
|
|
91
|
-
url: string;
|
|
92
|
-
method: string;
|
|
93
|
-
body: any;
|
|
94
|
-
headers: any;
|
|
95
|
-
};
|
|
96
|
-
handleErrors(code: any, reason: any, url: any, method: any, headers: any, body: any, response: any, requestHeaders: any, requestBody: any): any;
|
|
97
|
-
}
|