ccxt 4.3.89 → 4.3.90
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/alpaca.js +2 -2
- package/dist/cjs/src/ascendex.js +95 -97
- package/dist/cjs/src/bingx.js +31 -17
- package/dist/cjs/src/bitfinex2.js +21 -22
- package/dist/cjs/src/bitget.js +2 -2
- package/dist/cjs/src/bitmart.js +6 -9
- package/dist/cjs/src/coinbaseinternational.js +2 -1
- package/dist/cjs/src/coinex.js +1 -17
- package/dist/cjs/src/hitbtc.js +1 -0
- package/dist/cjs/src/htx.js +49 -49
- package/dist/cjs/src/huobijp.js +0 -9
- package/dist/cjs/src/latoken.js +1 -0
- package/dist/cjs/src/okx.js +1 -8
- package/dist/cjs/src/pro/binance.js +323 -0
- package/dist/cjs/src/pro/bingx.js +263 -91
- package/dist/cjs/src/pro/bithumb.js +5 -1
- package/dist/cjs/src/pro/bybit.js +1 -1
- package/dist/cjs/src/pro/coinex.js +994 -679
- package/dist/cjs/src/pro/lbank.js +2 -3
- package/dist/cjs/src/pro/okx.js +159 -3
- package/dist/cjs/src/whitebit.js +5 -3
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/alpaca.js +2 -2
- package/js/src/ascendex.js +95 -97
- package/js/src/bingx.js +31 -17
- package/js/src/bitfinex2.d.ts +0 -1
- package/js/src/bitfinex2.js +21 -22
- package/js/src/bitget.js +2 -2
- package/js/src/bitmart.d.ts +0 -1
- package/js/src/bitmart.js +6 -9
- package/js/src/coinbaseinternational.js +2 -1
- package/js/src/coinex.d.ts +0 -2
- package/js/src/coinex.js +1 -17
- package/js/src/hitbtc.js +1 -0
- package/js/src/htx.js +49 -49
- package/js/src/huobijp.d.ts +0 -1
- package/js/src/huobijp.js +0 -9
- package/js/src/latoken.js +1 -0
- package/js/src/okx.d.ts +0 -1
- package/js/src/okx.js +1 -8
- package/js/src/pro/binance.d.ts +9 -1
- package/js/src/pro/binance.js +327 -1
- package/js/src/pro/bingx.d.ts +2 -2
- package/js/src/pro/bingx.js +263 -91
- package/js/src/pro/bithumb.js +5 -1
- package/js/src/pro/bybit.js +1 -1
- package/js/src/pro/coinex.d.ts +12 -6
- package/js/src/pro/coinex.js +996 -681
- package/js/src/pro/lbank.js +2 -3
- package/js/src/pro/okx.d.ts +7 -0
- package/js/src/pro/okx.js +162 -4
- package/js/src/whitebit.js +5 -3
- package/package.json +1 -1
|
@@ -33,6 +33,7 @@ class bithumb extends bithumb$1 {
|
|
|
33
33
|
* @method
|
|
34
34
|
* @name bithumb#watchTicker
|
|
35
35
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
36
|
+
* @see https://apidocs.bithumb.com/v1.2.0/reference/%EB%B9%97%EC%8D%B8-%EA%B1%B0%EB%9E%98%EC%86%8C-%EC%A0%95%EB%B3%B4-%EC%88%98%EC%8B%A0
|
|
36
37
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
37
38
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
38
39
|
* @param {string} [params.channel] the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
|
|
@@ -52,8 +53,9 @@ class bithumb extends bithumb$1 {
|
|
|
52
53
|
async watchTickers(symbols = undefined, params = {}) {
|
|
53
54
|
/**
|
|
54
55
|
* @method
|
|
55
|
-
* @name
|
|
56
|
+
* @name bithumb#watchTickers
|
|
56
57
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
58
|
+
* @see https://apidocs.bithumb.com/v1.2.0/reference/%EB%B9%97%EC%8D%B8-%EA%B1%B0%EB%9E%98%EC%86%8C-%EC%A0%95%EB%B3%B4-%EC%88%98%EC%8B%A0
|
|
57
59
|
* @param {string[]} symbols unified symbol of the market to fetch the ticker for
|
|
58
60
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
59
61
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -167,6 +169,7 @@ class bithumb extends bithumb$1 {
|
|
|
167
169
|
/**
|
|
168
170
|
* @method
|
|
169
171
|
* @name bithumb#watchOrderBook
|
|
172
|
+
* @see https://apidocs.bithumb.com/v1.2.0/reference/%EB%B9%97%EC%8D%B8-%EA%B1%B0%EB%9E%98%EC%86%8C-%EC%A0%95%EB%B3%B4-%EC%88%98%EC%8B%A0
|
|
170
173
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
171
174
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
172
175
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
@@ -254,6 +257,7 @@ class bithumb extends bithumb$1 {
|
|
|
254
257
|
* @method
|
|
255
258
|
* @name bithumb#watchTrades
|
|
256
259
|
* @description get the list of most recent trades for a particular symbol
|
|
260
|
+
* @see https://apidocs.bithumb.com/v1.2.0/reference/%EB%B9%97%EC%8D%B8-%EA%B1%B0%EB%9E%98%EC%86%8C-%EC%A0%95%EB%B3%B4-%EC%88%98%EC%8B%A0
|
|
257
261
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
258
262
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
259
263
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
@@ -1437,7 +1437,7 @@ class bybit extends bybit$1 {
|
|
|
1437
1437
|
const topic = 'liquidation.' + market['id'];
|
|
1438
1438
|
const newLiquidation = await this.watchTopics(url, [messageHash], [topic], params);
|
|
1439
1439
|
if (this.newUpdates) {
|
|
1440
|
-
return
|
|
1440
|
+
return newLiquidation;
|
|
1441
1441
|
}
|
|
1442
1442
|
return this.filterBySymbolsSinceLimit(this.liquidations, [symbol], since, limit, true);
|
|
1443
1443
|
}
|