ccxt 4.4.74 → 4.4.77
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 +3 -3
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/base/Exchange.js +16 -9
- package/dist/cjs/src/binance.js +43 -219
- package/dist/cjs/src/bitget.js +1 -1
- package/dist/cjs/src/bitopro.js +37 -0
- package/dist/cjs/src/bitrue.js +48 -0
- package/dist/cjs/src/coinex.js +3 -0
- package/dist/cjs/src/coinlist.js +90 -1
- package/dist/cjs/src/okx.js +47 -33
- package/dist/cjs/src/paradex.js +3 -12
- package/dist/cjs/src/pro/hyperliquid.js +1 -1
- package/dist/cjs/src/upbit.js +64 -46
- package/dist/cjs/src/xt.js +122 -4
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/coinlist.d.ts +3 -0
- package/js/src/abstract/myokx.d.ts +4 -0
- package/js/src/abstract/okx.d.ts +4 -0
- package/js/src/abstract/upbit.d.ts +15 -1
- package/js/src/abstract/xt.d.ts +3 -0
- package/js/src/base/Exchange.d.ts +1 -0
- package/js/src/base/Exchange.js +16 -9
- package/js/src/binance.d.ts +2 -0
- package/js/src/binance.js +43 -219
- package/js/src/bitget.js +1 -1
- package/js/src/bitopro.js +37 -0
- package/js/src/bitrue.js +48 -0
- package/js/src/coinex.js +3 -0
- package/js/src/coinlist.d.ts +12 -1
- package/js/src/coinlist.js +90 -1
- package/js/src/okx.js +47 -33
- package/js/src/paradex.js +3 -12
- package/js/src/pro/hyperliquid.js +1 -1
- package/js/src/upbit.js +64 -46
- package/js/src/xt.d.ts +19 -0
- package/js/src/xt.js +122 -4
- package/package.json +1 -1
- package/js/src/abstract/bitcoincom.d.ts +0 -118
- package/js/src/abstract/bitcoincom.js +0 -11
- package/js/src/abstract/bitfinex1.d.ts +0 -72
- package/js/src/abstract/bitfinex1.js +0 -11
- package/js/src/abstract/bitpanda.d.ts +0 -26
- package/js/src/abstract/bitpanda.js +0 -5
- package/js/src/abstract/poloniexfutures.d.ts +0 -51
- package/js/src/abstract/poloniexfutures.js +0 -11
- package/js/src/abstract/wazirx.d.ts +0 -33
- package/js/src/abstract/wazirx.js +0 -11
- package/js/src/bitcoincom.d.ts +0 -4
- package/js/src/bitcoincom.js +0 -18
- package/js/src/bitpanda.d.ts +0 -4
- package/js/src/bitpanda.js +0 -17
- package/js/src/poloniexfutures.d.ts +0 -321
- package/js/src/poloniexfutures.js +0 -1941
- package/js/src/pro/bitcoincom.d.ts +0 -4
- package/js/src/pro/bitcoincom.js +0 -34
- package/js/src/pro/bitpanda.d.ts +0 -4
- package/js/src/pro/bitpanda.js +0 -17
- package/js/src/pro/poloniexfutures.d.ts +0 -108
- package/js/src/pro/poloniexfutures.js +0 -1042
- package/js/src/pro/wazirx.d.ts +0 -102
- package/js/src/pro/wazirx.js +0 -784
- package/js/src/static_dependencies/starknet/utils/json.d.ts +0 -24
- package/js/src/static_dependencies/starknet/utils/json.js +0 -43
package/js/src/pro/wazirx.d.ts
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import wazirxRest from '../wazirx.js';
|
|
2
|
-
import type { Int, OHLCV, Str, Strings, OrderBook, Order, Trade, Ticker, Tickers, Balances } from '../base/types.js';
|
|
3
|
-
import Client from '../base/ws/Client.js';
|
|
4
|
-
export default class wazirx extends wazirxRest {
|
|
5
|
-
describe(): any;
|
|
6
|
-
/**
|
|
7
|
-
* @method
|
|
8
|
-
* @name wazirx#watchBalance
|
|
9
|
-
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
10
|
-
* @see https://docs.wazirx.com/#account-update
|
|
11
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
12
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
13
|
-
*/
|
|
14
|
-
watchBalance(params?: {}): Promise<Balances>;
|
|
15
|
-
handleBalance(client: Client, message: any): void;
|
|
16
|
-
parseWsTrade(trade: any, market?: any): Trade;
|
|
17
|
-
/**
|
|
18
|
-
* @method
|
|
19
|
-
* @name wazirx#watchTicker
|
|
20
|
-
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
21
|
-
* @see https://docs.wazirx.com/#all-market-tickers-stream
|
|
22
|
-
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
23
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
24
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
25
|
-
*/
|
|
26
|
-
watchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
27
|
-
/**
|
|
28
|
-
* @method
|
|
29
|
-
* @name wazirx#watchTickers
|
|
30
|
-
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
31
|
-
* @see https://docs.wazirx.com/#all-market-tickers-stream
|
|
32
|
-
* @param {string[]} symbols unified symbol of the market to fetch the ticker for
|
|
33
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
34
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
35
|
-
*/
|
|
36
|
-
watchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
37
|
-
handleTicker(client: Client, message: any): void;
|
|
38
|
-
parseWSTicker(ticker: any, market?: any): Ticker;
|
|
39
|
-
/**
|
|
40
|
-
* @method
|
|
41
|
-
* @name wazirx#watchTrades
|
|
42
|
-
* @description get the list of most recent trades for a particular symbol
|
|
43
|
-
* @see https://docs.wazirx.com/#trade-streams
|
|
44
|
-
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
45
|
-
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
46
|
-
* @param {int} [limit] the maximum amount of trades to fetch
|
|
47
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
48
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
49
|
-
*/
|
|
50
|
-
watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
51
|
-
handleTrades(client: Client, message: any): void;
|
|
52
|
-
/**
|
|
53
|
-
* @method
|
|
54
|
-
* @name wazirx#watchMyTrades
|
|
55
|
-
* @description watch trades by user
|
|
56
|
-
* @see https://docs.wazirx.com/#trade-update
|
|
57
|
-
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
58
|
-
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
59
|
-
* @param {int} [limit] the maximum amount of trades to fetch
|
|
60
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
61
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
62
|
-
*/
|
|
63
|
-
watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
64
|
-
/**
|
|
65
|
-
* @method
|
|
66
|
-
* @name wazirx#watchOHLCV
|
|
67
|
-
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
68
|
-
* @see https://docs.wazirx.com/#kline-candlestick-stream
|
|
69
|
-
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
70
|
-
* @param {string} timeframe the length of time each candle represents
|
|
71
|
-
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
72
|
-
* @param {int} [limit] the maximum amount of candles to fetch
|
|
73
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
74
|
-
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
75
|
-
*/
|
|
76
|
-
watchOHLCV(symbol: string, timeframe?: string, since?: Int, limit?: Int, params?: {}): Promise<OHLCV[]>;
|
|
77
|
-
handleOHLCV(client: Client, message: any): void;
|
|
78
|
-
parseWsOHLCV(ohlcv: any, market?: any): OHLCV;
|
|
79
|
-
/**
|
|
80
|
-
* @method
|
|
81
|
-
* @name wazirx#watchOrderBook
|
|
82
|
-
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
83
|
-
* @see https://docs.wazirx.com/#depth-stream
|
|
84
|
-
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
85
|
-
* @param {int} [limit] the maximum amount of order book entries to return
|
|
86
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
87
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
88
|
-
*/
|
|
89
|
-
watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
90
|
-
handleDelta(bookside: any, delta: any): void;
|
|
91
|
-
handleDeltas(bookside: any, deltas: any): void;
|
|
92
|
-
handleOrderBook(client: Client, message: any): void;
|
|
93
|
-
watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
94
|
-
handleOrder(client: Client, message: any): void;
|
|
95
|
-
parseWsOrder(order: any, market?: any): Order;
|
|
96
|
-
handleMyTrades(client: Client, message: any): void;
|
|
97
|
-
handleConnected(client: Client, message: any): any;
|
|
98
|
-
handleSubscribed(client: Client, message: any): any;
|
|
99
|
-
handleError(client: Client, message: any): void;
|
|
100
|
-
handleMessage(client: Client, message: any): void;
|
|
101
|
-
authenticate(params?: {}): Promise<string>;
|
|
102
|
-
}
|