ccxt 4.3.87 → 4.3.89

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.
Files changed (133) hide show
  1. package/README.md +3 -3
  2. package/dist/ccxt.browser.min.js +2 -2
  3. package/dist/cjs/ccxt.js +1 -1
  4. package/dist/cjs/src/ace.js +1 -0
  5. package/dist/cjs/src/alpaca.js +1 -0
  6. package/dist/cjs/src/ascendex.js +7 -19
  7. package/dist/cjs/src/base/Exchange.js +2 -2
  8. package/dist/cjs/src/bigone.js +1 -0
  9. package/dist/cjs/src/bingx.js +1 -0
  10. package/dist/cjs/src/bit2c.js +1 -0
  11. package/dist/cjs/src/bitbank.js +1 -0
  12. package/dist/cjs/src/bitfinex.js +1 -0
  13. package/dist/cjs/src/bitflyer.js +1 -0
  14. package/dist/cjs/src/bitget.js +1 -0
  15. package/dist/cjs/src/bitmex.js +1 -0
  16. package/dist/cjs/src/bitopro.js +1 -0
  17. package/dist/cjs/src/bitrue.js +62 -71
  18. package/dist/cjs/src/bitso.js +1 -0
  19. package/dist/cjs/src/bitstamp.js +1 -0
  20. package/dist/cjs/src/bitvavo.js +1 -0
  21. package/dist/cjs/src/blockchaincom.js +1 -0
  22. package/dist/cjs/src/btcalpha.js +1 -0
  23. package/dist/cjs/src/btcbox.js +1 -0
  24. package/dist/cjs/src/btcmarkets.js +1 -0
  25. package/dist/cjs/src/bybit.js +2 -0
  26. package/dist/cjs/src/cex.js +1 -0
  27. package/dist/cjs/src/coinbaseexchange.js +1 -0
  28. package/dist/cjs/src/cryptocom.js +0 -12
  29. package/dist/cjs/src/kraken.js +48 -48
  30. package/dist/cjs/src/kucoin.js +2 -0
  31. package/dist/cjs/src/mexc.js +1 -61
  32. package/dist/cjs/src/okcoin.js +4 -9
  33. package/dist/cjs/src/onetrading.js +1 -0
  34. package/dist/cjs/src/phemex.js +1 -0
  35. package/dist/cjs/src/poloniexfutures.js +1 -0
  36. package/dist/cjs/src/pro/bitfinex.js +1 -0
  37. package/dist/cjs/src/pro/bitfinex2.js +1 -0
  38. package/dist/cjs/src/pro/bitopro.js +1 -0
  39. package/dist/cjs/src/pro/bitstamp.js +1 -0
  40. package/dist/cjs/src/pro/bitvavo.js +1 -0
  41. package/dist/cjs/src/pro/blockchaincom.js +1 -0
  42. package/dist/cjs/src/pro/bybit.js +290 -1
  43. package/dist/cjs/src/pro/cex.js +2 -0
  44. package/dist/cjs/src/pro/coincheck.js +1 -0
  45. package/dist/cjs/src/pro/coinone.js +1 -0
  46. package/dist/cjs/src/pro/hashkey.js +1 -0
  47. package/dist/cjs/src/pro/hitbtc.js +1 -0
  48. package/dist/cjs/src/pro/hollaex.js +1 -0
  49. package/dist/cjs/src/pro/htx.js +1 -0
  50. package/dist/cjs/src/pro/huobijp.js +1 -0
  51. package/dist/cjs/src/pro/hyperliquid.js +7 -0
  52. package/dist/cjs/src/pro/independentreserve.js +1 -0
  53. package/dist/cjs/src/pro/lbank.js +1 -0
  54. package/dist/cjs/src/pro/luno.js +1 -0
  55. package/dist/cjs/src/pro/ndax.js +5 -0
  56. package/dist/cjs/src/pro/okcoin.js +7 -0
  57. package/dist/cjs/src/pro/onetrading.js +1 -0
  58. package/dist/cjs/src/pro/paradex.js +1 -0
  59. package/dist/cjs/src/probit.js +1 -0
  60. package/dist/cjs/src/vertex.js +1 -0
  61. package/dist/cjs/src/woo.js +1 -0
  62. package/dist/cjs/src/woofipro.js +1 -0
  63. package/js/ccxt.d.ts +1 -1
  64. package/js/ccxt.js +1 -1
  65. package/js/src/abstract/kucoin.d.ts +1 -0
  66. package/js/src/abstract/kucoinfutures.d.ts +1 -0
  67. package/js/src/ace.js +1 -0
  68. package/js/src/alpaca.js +1 -0
  69. package/js/src/ascendex.d.ts +0 -1
  70. package/js/src/ascendex.js +7 -19
  71. package/js/src/base/Exchange.d.ts +1 -1
  72. package/js/src/base/Exchange.js +2 -2
  73. package/js/src/bigone.js +1 -0
  74. package/js/src/bingx.js +1 -0
  75. package/js/src/bit2c.js +1 -0
  76. package/js/src/bitbank.js +1 -0
  77. package/js/src/bitfinex.js +1 -0
  78. package/js/src/bitflyer.js +1 -0
  79. package/js/src/bitget.js +1 -0
  80. package/js/src/bitmex.js +1 -0
  81. package/js/src/bitopro.js +1 -0
  82. package/js/src/bitrue.d.ts +0 -1
  83. package/js/src/bitrue.js +62 -71
  84. package/js/src/bitso.js +1 -0
  85. package/js/src/bitstamp.js +1 -0
  86. package/js/src/bitvavo.js +1 -0
  87. package/js/src/blockchaincom.js +1 -0
  88. package/js/src/btcalpha.js +1 -0
  89. package/js/src/btcbox.js +1 -0
  90. package/js/src/btcmarkets.js +1 -0
  91. package/js/src/bybit.js +2 -0
  92. package/js/src/cex.js +1 -0
  93. package/js/src/coinbaseexchange.js +1 -0
  94. package/js/src/coinex.d.ts +1 -1
  95. package/js/src/cryptocom.d.ts +0 -1
  96. package/js/src/cryptocom.js +0 -12
  97. package/js/src/kraken.js +48 -48
  98. package/js/src/kucoin.js +2 -0
  99. package/js/src/mexc.js +1 -61
  100. package/js/src/okcoin.d.ts +0 -1
  101. package/js/src/okcoin.js +4 -9
  102. package/js/src/onetrading.js +1 -0
  103. package/js/src/phemex.js +1 -0
  104. package/js/src/poloniexfutures.js +1 -0
  105. package/js/src/pro/bitfinex.js +1 -0
  106. package/js/src/pro/bitfinex2.js +1 -0
  107. package/js/src/pro/bitopro.js +1 -0
  108. package/js/src/pro/bitstamp.js +1 -0
  109. package/js/src/pro/bitvavo.js +1 -0
  110. package/js/src/pro/blockchaincom.js +1 -0
  111. package/js/src/pro/bybit.d.ts +12 -1
  112. package/js/src/pro/bybit.js +291 -2
  113. package/js/src/pro/cex.js +2 -0
  114. package/js/src/pro/coincheck.js +1 -0
  115. package/js/src/pro/coinone.js +1 -0
  116. package/js/src/pro/hashkey.js +1 -0
  117. package/js/src/pro/hitbtc.js +1 -0
  118. package/js/src/pro/hollaex.js +1 -0
  119. package/js/src/pro/htx.js +1 -0
  120. package/js/src/pro/huobijp.js +1 -0
  121. package/js/src/pro/hyperliquid.js +7 -0
  122. package/js/src/pro/independentreserve.js +1 -0
  123. package/js/src/pro/lbank.js +1 -0
  124. package/js/src/pro/luno.js +1 -0
  125. package/js/src/pro/ndax.js +5 -0
  126. package/js/src/pro/okcoin.js +7 -0
  127. package/js/src/pro/onetrading.js +1 -0
  128. package/js/src/pro/paradex.js +1 -0
  129. package/js/src/probit.js +1 -0
  130. package/js/src/vertex.js +1 -0
  131. package/js/src/woo.js +1 -0
  132. package/js/src/woofipro.js +1 -0
  133. package/package.json +1 -1
package/dist/cjs/ccxt.js CHANGED
@@ -196,7 +196,7 @@ var xt$1 = require('./src/pro/xt.js');
196
196
 
197
197
  //-----------------------------------------------------------------------------
198
198
  // this is updated by vss.js when building
199
- const version = '4.3.87';
199
+ const version = '4.3.89';
200
200
  Exchange["default"].ccxtVersion = version;
201
201
  const exchanges = {
202
202
  'ace': ace,
@@ -673,6 +673,7 @@ class ace extends ace$1 {
673
673
  * @name ace#fetchOrder
674
674
  * @description fetches information on an order made by the user
675
675
  * @see https://github.com/ace-exchange/ace-official-api-docs/blob/master/api_v2.md#open-api---order-status
676
+ * @param {string} id the order id
676
677
  * @param {string} symbol unified symbol of the market the order was made in
677
678
  * @param {object} [params] extra parameters specific to the exchange API endpoint
678
679
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -822,6 +822,7 @@ class alpaca extends alpaca$1 {
822
822
  * @name alpaca#fetchOrder
823
823
  * @description fetches information on an order made by the user
824
824
  * @see https://docs.alpaca.markets/reference/getorderbyorderid
825
+ * @param {string} id the order id
825
826
  * @param {string} symbol unified symbol of the market the order was made in
826
827
  * @param {object} [params] extra parameters specific to the exchange API endpoint
827
828
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -282,26 +282,17 @@ class ascendex extends ascendex$1 {
282
282
  'SOL': 'Solana',
283
283
  'AVAX': 'avalanche C chain',
284
284
  'OMNI': 'Omni',
285
- 'TRC': 'TRC20',
285
+ // 'TRC': 'TRC20',
286
286
  'TRX': 'TRC20',
287
- 'ERC': 'ERC20',
288
- },
289
- 'networksById': {
290
- 'BEP20 (BSC)': 'BSC',
291
- 'arbitrum': 'ARB',
292
- 'Solana': 'SOL',
293
- 'avalanche C chain': 'AVAX',
294
- 'Omni': 'OMNI',
295
287
  'TRC20': 'TRC20',
296
288
  'ERC20': 'ERC20',
297
289
  'GO20': 'GO20',
298
290
  'BEP2': 'BEP2',
299
- 'Bitcoin': 'BTC',
300
- 'Bitcoin ABC': 'BCH',
301
- 'Litecoin': 'LTC',
302
- 'Matic Network': 'MATIC',
303
- 'xDai': 'STAKE',
304
- 'Akash': 'AKT',
291
+ 'BTC': 'Bitcoin',
292
+ 'BCH': 'Bitcoin ABC',
293
+ 'LTC': 'Litecoin',
294
+ 'MATIC': 'Matic Network',
295
+ 'AKT': 'Akash',
305
296
  },
306
297
  },
307
298
  'exceptions': {
@@ -1784,6 +1775,7 @@ class ascendex extends ascendex$1 {
1784
1775
  * @description fetches information on an order made by the user
1785
1776
  * @see https://ascendex.github.io/ascendex-pro-api/#query-order
1786
1777
  * @see https://ascendex.github.io/ascendex-futures-pro-api-v2/#query-order-by-id
1778
+ * @param {string} id the order id
1787
1779
  * @param {string} symbol unified symbol of the market the order was made in
1788
1780
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1789
1781
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -2404,10 +2396,6 @@ class ascendex extends ascendex$1 {
2404
2396
  'info': depositAddress,
2405
2397
  };
2406
2398
  }
2407
- safeNetwork(networkId) {
2408
- const networksById = this.safeDict(this.options, 'networksById');
2409
- return this.safeString(networksById, networkId, networkId);
2410
- }
2411
2399
  async fetchDepositAddress(code, params = {}) {
2412
2400
  /**
2413
2401
  * @method
@@ -5999,7 +5999,7 @@ class Exchange {
5999
5999
  errors$1 = 0;
6000
6000
  result = this.arrayConcat(result, response);
6001
6001
  const last = this.safeValue(response, responseLength - 1);
6002
- paginationTimestamp = this.safeInteger(last, 'timestamp') - 1;
6002
+ paginationTimestamp = this.safeInteger(last, 'timestamp') + 1;
6003
6003
  if ((until !== undefined) && (paginationTimestamp >= until)) {
6004
6004
  break;
6005
6005
  }
@@ -6449,7 +6449,7 @@ class Exchange {
6449
6449
  */
6450
6450
  if (this.has['fetchPositionsHistory']) {
6451
6451
  const positions = await this.fetchPositionsHistory([symbol], since, limit, params);
6452
- return this.safeDict(positions, 0);
6452
+ return positions;
6453
6453
  }
6454
6454
  else {
6455
6455
  throw new errors.NotSupported(this.id + ' fetchPositionHistory () is not supported yet');
@@ -1649,6 +1649,7 @@ class bigone extends bigone$1 {
1649
1649
  * @name bigone#fetchOrder
1650
1650
  * @description fetches information on an order made by the user
1651
1651
  * @see https://open.big.one/docs/spot_orders.html#get-one-order
1652
+ * @param {string} id the order id
1652
1653
  * @param {string} symbol not used by bigone fetchOrder
1653
1654
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1654
1655
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -3646,6 +3646,7 @@ class bingx extends bingx$1 {
3646
3646
  * @see https://bingx-api.github.io/docs/#/en-us/spot/trade-api.html#Query%20Order%20details
3647
3647
  * @see https://bingx-api.github.io/docs/#/en-us/swapV2/trade-api.html#Query%20Order%20details
3648
3648
  * @see https://bingx-api.github.io/docs/#/en-us/cswap/trade-api.html#Query%20Order
3649
+ * @param {string} id the order id
3649
3650
  * @param {string} symbol unified symbol of the market the order was made in
3650
3651
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3651
3652
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -499,6 +499,7 @@ class bit2c extends bit2c$1 {
499
499
  * @name bit2c#fetchOrder
500
500
  * @description fetches information on an order made by the user
501
501
  * @see https://bit2c.co.il/home/api#getoid
502
+ * @param {string} id the order id
502
503
  * @param {string} symbol unified market symbol
503
504
  * @param {object} [params] extra parameters specific to the exchange API endpoint
504
505
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -717,6 +717,7 @@ class bitbank extends bitbank$1 {
717
717
  * @name bitbank#fetchOrder
718
718
  * @description fetches information on an order made by the user
719
719
  * @see https://github.com/bitbankinc/bitbank-api-docs/blob/38d6d7c6f486c793872fd4b4087a0d090a04cd0a/rest-api.md#fetch-order-information
720
+ * @param {string} id the order id
720
721
  * @param {string} symbol unified symbol of the market the order was made in
721
722
  * @param {object} [params] extra parameters specific to the exchange API endpoint
722
723
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1333,6 +1333,7 @@ class bitfinex extends bitfinex$1 {
1333
1333
  * @name bitfinex#fetchOrder
1334
1334
  * @description fetches information on an order made by the user
1335
1335
  * @see https://docs.bitfinex.com/v1/reference/rest-auth-order-status
1336
+ * @param {string} id the order id
1336
1337
  * @param {string} symbol not used by bitfinex fetchOrder
1337
1338
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1338
1339
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -725,6 +725,7 @@ class bitflyer extends bitflyer$1 {
725
725
  * @name bitflyer#fetchOrder
726
726
  * @description fetches information on an order made by the user
727
727
  * @see https://lightning.bitflyer.com/docs?lang=en#list-orders
728
+ * @param {string} id the order id
728
729
  * @param {string} symbol unified symbol of the market the order was made in
729
730
  * @param {object} [params] extra parameters specific to the exchange API endpoint
730
731
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -5101,6 +5101,7 @@ class bitget extends bitget$1 {
5101
5101
  * @description fetches information on an order made by the user
5102
5102
  * @see https://www.bitget.com/api-doc/spot/trade/Get-Order-Info
5103
5103
  * @see https://www.bitget.com/api-doc/contract/trade/Get-Order-Details
5104
+ * @param {string} id the order id
5104
5105
  * @param {string} symbol unified symbol of the market the order was made in
5105
5106
  * @param {object} [params] extra parameters specific to the exchange API endpoint
5106
5107
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -884,6 +884,7 @@ class bitmex extends bitmex$1 {
884
884
  * @name bitmex#fetchOrder
885
885
  * @description fetches information on an order made by the user
886
886
  * @see https://www.bitmex.com/api/explorer/#!/Order/Order_getOrders
887
+ * @param {string} id the order id
887
888
  * @param {string} symbol unified symbol of the market the order was made in
888
889
  * @param {object} [params] extra parameters specific to the exchange API endpoint
889
890
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1176,6 +1176,7 @@ class bitopro extends bitopro$1 {
1176
1176
  * @name bitopro#fetchOrder
1177
1177
  * @description fetches information on an order made by the user
1178
1178
  * @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/get_an_order_data.md
1179
+ * @param {string} id the order id
1179
1180
  * @param {string} symbol unified symbol of the market the order was made in
1180
1181
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1181
1182
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -335,6 +335,67 @@ class bitrue extends bitrue$1 {
335
335
  'networks': {
336
336
  'ERC20': 'ETH',
337
337
  'TRC20': 'TRX',
338
+ 'AETERNITY': 'Aeternity',
339
+ 'AION': 'AION',
340
+ 'ALGO': 'Algorand',
341
+ 'ASK': 'ASK',
342
+ 'ATOM': 'ATOM',
343
+ 'AVAXC': 'AVAX C-Chain',
344
+ 'BCH': 'BCH',
345
+ 'BEP2': 'BEP2',
346
+ 'BEP20': 'BEP20',
347
+ 'Bitcoin': 'Bitcoin',
348
+ 'BRP20': 'BRP20',
349
+ 'ADA': 'Cardano',
350
+ 'CASINOCOIN': 'CasinoCoin',
351
+ 'CASINOCOIN-XRPL': 'CasinoCoin XRPL',
352
+ 'CONTENTOS': 'Contentos',
353
+ 'DASH': 'Dash',
354
+ 'DECOIN': 'Decoin',
355
+ 'DFI': 'DeFiChain',
356
+ 'DGB': 'DGB',
357
+ 'DIVI': 'Divi',
358
+ 'DOGE': 'dogecoin',
359
+ 'EOS': 'EOS',
360
+ 'ETC': 'ETC',
361
+ 'FILECOIN': 'Filecoin',
362
+ 'FREETON': 'FREETON',
363
+ 'HBAR': 'HBAR',
364
+ 'HEDERA': 'Hedera Hashgraph',
365
+ 'HRC20': 'HRC20',
366
+ 'ICON': 'ICON',
367
+ 'ICP': 'ICP',
368
+ 'IGNIS': 'Ignis',
369
+ 'INTERNETCOMPUTER': 'Internet Computer',
370
+ 'IOTA': 'IOTA',
371
+ 'KAVA': 'KAVA',
372
+ 'KSM': 'KSM',
373
+ 'LTC': 'LiteCoin',
374
+ 'LUNA': 'Luna',
375
+ 'MATIC': 'MATIC',
376
+ 'MOBILECOIN': 'Mobile Coin',
377
+ 'MONACOIN': 'MonaCoin',
378
+ 'XMR': 'Monero',
379
+ 'NEM': 'NEM',
380
+ 'NEP5': 'NEP5',
381
+ 'OMNI': 'OMNI',
382
+ 'PAC': 'PAC',
383
+ 'DOT': 'Polkadot',
384
+ 'RAVEN': 'Ravencoin',
385
+ 'SAFEX': 'Safex',
386
+ 'SOL': 'SOLANA',
387
+ 'SGB': 'Songbird',
388
+ 'XML': 'Stellar Lumens',
389
+ 'XYM': 'Symbol',
390
+ 'XTZ': 'Tezos',
391
+ 'theta': 'theta',
392
+ 'THETA': 'THETA',
393
+ 'VECHAIN': 'VeChain',
394
+ 'WANCHAIN': 'Wanchain',
395
+ 'XINFIN': 'XinFin Network',
396
+ 'XRP': 'XRP',
397
+ 'XRPL': 'XRPL',
398
+ 'ZIL': 'ZIL',
338
399
  },
339
400
  'defaultType': 'spot',
340
401
  'timeframes': {
@@ -507,77 +568,6 @@ class bitrue extends bitrue$1 {
507
568
  //
508
569
  return this.safeInteger(response, 'serverTime');
509
570
  }
510
- safeNetwork(networkId) {
511
- const uppercaseNetworkId = networkId.toUpperCase();
512
- const networksById = {
513
- 'Aeternity': 'Aeternity',
514
- 'AION': 'AION',
515
- 'Algorand': 'Algorand',
516
- 'ASK': 'ASK',
517
- 'ATOM': 'ATOM',
518
- 'AVAX C-Chain': 'AVAX C-Chain',
519
- 'bch': 'bch',
520
- 'BCH': 'BCH',
521
- 'BEP2': 'BEP2',
522
- 'BEP20': 'BEP20',
523
- 'Bitcoin': 'Bitcoin',
524
- 'BRP20': 'BRP20',
525
- 'Cardano': 'ADA',
526
- 'CasinoCoin': 'CasinoCoin',
527
- 'CasinoCoin XRPL': 'CasinoCoin XRPL',
528
- 'Contentos': 'Contentos',
529
- 'Dash': 'Dash',
530
- 'Decoin': 'Decoin',
531
- 'DeFiChain': 'DeFiChain',
532
- 'DGB': 'DGB',
533
- 'Divi': 'Divi',
534
- 'dogecoin': 'DOGE',
535
- 'EOS': 'EOS',
536
- 'ERC20': 'ERC20',
537
- 'ETC': 'ETC',
538
- 'Filecoin': 'Filecoin',
539
- 'FREETON': 'FREETON',
540
- 'HBAR': 'HBAR',
541
- 'Hedera Hashgraph': 'Hedera Hashgraph',
542
- 'HRC20': 'HRC20',
543
- 'ICON': 'ICON',
544
- 'ICP': 'ICP',
545
- 'Ignis': 'Ignis',
546
- 'Internet Computer': 'Internet Computer',
547
- 'IOTA': 'IOTA',
548
- 'KAVA': 'KAVA',
549
- 'KSM': 'KSM',
550
- 'LiteCoin': 'LiteCoin',
551
- 'Luna': 'Luna',
552
- 'MATIC': 'MATIC',
553
- 'Mobile Coin': 'Mobile Coin',
554
- 'MonaCoin': 'MonaCoin',
555
- 'Monero': 'Monero',
556
- 'NEM': 'NEM',
557
- 'NEP5': 'NEP5',
558
- 'OMNI': 'OMNI',
559
- 'PAC': 'PAC',
560
- 'Polkadot': 'Polkadot',
561
- 'Ravencoin': 'Ravencoin',
562
- 'Safex': 'Safex',
563
- 'SOLANA': 'SOL',
564
- 'Songbird': 'Songbird',
565
- 'Stellar Lumens': 'Stellar Lumens',
566
- 'Symbol': 'Symbol',
567
- 'Tezos': 'XTZ',
568
- 'theta': 'theta',
569
- 'THETA': 'THETA',
570
- 'TRC20': 'TRC20',
571
- 'VeChain': 'VeChain',
572
- 'VECHAIN': 'VECHAIN',
573
- 'Wanchain': 'Wanchain',
574
- 'XinFin Network': 'XinFin Network',
575
- 'XRP': 'XRP',
576
- 'XRPL': 'XRPL',
577
- 'ZIL': 'ZIL',
578
- };
579
- return this.safeString2(networksById, networkId, uppercaseNetworkId, networkId);
580
- }
581
571
  async fetchCurrencies(params = {}) {
582
572
  /**
583
573
  * @method
@@ -2044,6 +2034,7 @@ class bitrue extends bitrue$1 {
2044
2034
  * @see https://github.com/Bitrue-exchange/Spot-official-api-docs#query-order-user_data
2045
2035
  * @see https://www.bitrue.com/api-docs#query-order-user_data-hmac-sha256
2046
2036
  * @see https://www.bitrue.com/api_docs_includes_file/delivery.html#query-order-user_data-hmac-sha256
2037
+ * @param {string} id the order id
2047
2038
  * @param {string} symbol unified symbol of the market the order was made in
2048
2039
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2049
2040
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1186,6 +1186,7 @@ class bitso extends bitso$1 {
1186
1186
  * @name bitso#fetchOrder
1187
1187
  * @description fetches information on an order made by the user
1188
1188
  * @see https://docs.bitso.com/bitso-api/docs/look-up-orders
1189
+ * @param {string} id the order id
1189
1190
  * @param {string} symbol not used by bitso fetchOrder
1190
1191
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1191
1192
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1541,6 +1541,7 @@ class bitstamp extends bitstamp$1 {
1541
1541
  * @name bitstamp#fetchOrder
1542
1542
  * @description fetches information on an order made by the user
1543
1543
  * @see https://www.bitstamp.net/api/#tag/Orders/operation/GetOrderStatus
1544
+ * @param {string} id the order id
1544
1545
  * @param {string} symbol unified symbol of the market the order was made in
1545
1546
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1546
1547
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1307,6 +1307,7 @@ class bitvavo extends bitvavo$1 {
1307
1307
  * @name bitvavo#fetchOrder
1308
1308
  * @description fetches information on an order made by the user
1309
1309
  * @see https://docs.bitvavo.com/#tag/Trading-endpoints/paths/~1order/get
1310
+ * @param {string} id the order id
1310
1311
  * @param {string} symbol unified symbol of the market the order was made in
1311
1312
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1312
1313
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1105,6 +1105,7 @@ class blockchaincom extends blockchaincom$1 {
1105
1105
  * @name blockchaincom#fetchOrder
1106
1106
  * @description fetches information on an order made by the user
1107
1107
  * @see https://api.blockchain.com/v3/#getorderbyid
1108
+ * @param {string} id the order id
1108
1109
  * @param {string} symbol not used by blockchaincom fetchOrder
1109
1110
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1110
1111
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -794,6 +794,7 @@ class btcalpha extends btcalpha$1 {
794
794
  * @name btcalpha#fetchOrder
795
795
  * @see https://btc-alpha.github.io/api-docs/#retrieve-single-order
796
796
  * @description fetches information on an order made by the user
797
+ * @param {string} id the order id
797
798
  * @param {string} symbol not used by btcalpha fetchOrder
798
799
  * @param {object} [params] extra parameters specific to the exchange API endpoint
799
800
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -568,6 +568,7 @@ class btcbox extends btcbox$1 {
568
568
  * @name btcbox#fetchOrder
569
569
  * @description fetches information on an order made by the user
570
570
  * @see https://blog.btcbox.jp/en/archives/8762#toc16
571
+ * @param {string} id the order id
571
572
  * @param {string} symbol unified symbol of the market the order was made in
572
573
  * @param {object} [params] extra parameters specific to the exchange API endpoint
573
574
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1069,6 +1069,7 @@ class btcmarkets extends btcmarkets$1 {
1069
1069
  * @name btcmarkets#fetchOrder
1070
1070
  * @description fetches information on an order made by the user
1071
1071
  * @see https://docs.btcmarkets.net/v3/#operation/getOrderById
1072
+ * @param {string} id the order id
1072
1073
  * @param {string} symbol not used by btcmarkets fetchOrder
1073
1074
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1074
1075
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -4835,6 +4835,7 @@ class bybit extends bybit$1 {
4835
4835
  * @name bybit#fetchOrderClassic
4836
4836
  * @description fetches information on an order made by the user *classic accounts only*
4837
4837
  * @see https://bybit-exchange.github.io/docs/v5/order/order-list
4838
+ * @param {string} id the order id
4838
4839
  * @param {string} symbol unified symbol of the market the order was made in
4839
4840
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4840
4841
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -4868,6 +4869,7 @@ class bybit extends bybit$1 {
4868
4869
  * @name bybit#fetchOrderClassic
4869
4870
  * @description *classic accounts only/ spot not supported* fetches information on an order made by the user *classic accounts only*
4870
4871
  * @see https://bybit-exchange.github.io/docs/v5/order/order-list
4872
+ * @param {string} id the order id
4871
4873
  * @param {string} symbol unified symbol of the market the order was made in
4872
4874
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4873
4875
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1216,6 +1216,7 @@ class cex extends cex$1 {
1216
1216
  * @name cex#fetchOrder
1217
1217
  * @see https://docs.cex.io/?python#get-order-details
1218
1218
  * @description fetches information on an order made by the user
1219
+ * @param {string} id the order id
1219
1220
  * @param {string} symbol not used by cex fetchOrder
1220
1221
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1221
1222
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1090,6 +1090,7 @@ class coinbaseexchange extends coinbaseexchange$1 {
1090
1090
  * @name coinbaseexchange#fetchOrder
1091
1091
  * @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getorder
1092
1092
  * @description fetches information on an order made by the user
1093
+ * @param {string} id the order id
1093
1094
  * @param {string} symbol not used by coinbaseexchange fetchOrder
1094
1095
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1095
1096
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1811,18 +1811,6 @@ class cryptocom extends cryptocom$1 {
1811
1811
  return depositAddresses[keys[0]];
1812
1812
  }
1813
1813
  }
1814
- safeNetwork(networkId) {
1815
- const networksById = {
1816
- 'BTC': 'BTC',
1817
- 'ETH': 'ETH',
1818
- 'SOL': 'SOL',
1819
- 'BNB': 'BNB',
1820
- 'CRONOS': 'CRONOS',
1821
- 'MATIC': 'MATIC',
1822
- 'OP': 'OP',
1823
- };
1824
- return this.safeString(networksById, networkId, networkId);
1825
- }
1826
1814
  async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
1827
1815
  /**
1828
1816
  * @method
@@ -240,100 +240,100 @@ class kraken extends kraken$1 {
240
240
  'TRX': 'TRC20',
241
241
  },
242
242
  'depositMethods': {
243
- '1INCH': '1inch (1INCH)',
243
+ '1INCH': '1inch' + ' ' + '(1INCH)',
244
244
  'AAVE': 'Aave',
245
245
  'ADA': 'ADA',
246
246
  'ALGO': 'Algorand',
247
- 'ANKR': 'ANKR (ANKR)',
248
- 'ANT': 'Aragon (ANT)',
247
+ 'ANKR': 'ANKR' + ' ' + '(ANKR)',
248
+ 'ANT': 'Aragon' + ' ' + '(ANT)',
249
249
  'ATOM': 'Cosmos',
250
- 'AXS': 'Axie Infinity Shards (AXS)',
251
- 'BADGER': 'Bager DAO (BADGER)',
252
- 'BAL': 'Balancer (BAL)',
253
- 'BAND': 'Band Protocol (BAND)',
250
+ 'AXS': 'Axie Infinity Shards' + ' ' + '(AXS)',
251
+ 'BADGER': 'Bager DAO' + ' ' + '(BADGER)',
252
+ 'BAL': 'Balancer' + ' ' + '(BAL)',
253
+ 'BAND': 'Band Protocol' + ' ' + '(BAND)',
254
254
  'BAT': 'BAT',
255
255
  'BCH': 'Bitcoin Cash',
256
- 'BNC': 'Bifrost (BNC)',
257
- 'BNT': 'Bancor (BNT)',
256
+ 'BNC': 'Bifrost' + ' ' + '(BNC)',
257
+ 'BNT': 'Bancor' + ' ' + '(BNT)',
258
258
  'BTC': 'Bitcoin',
259
- 'CHZ': 'Chiliz (CHZ)',
260
- 'COMP': 'Compound (COMP)',
261
- 'CQT': '\tCovalent Query Token (CQT)',
262
- 'CRV': 'Curve DAO Token (CRV)',
263
- 'CTSI': 'Cartesi (CTSI)',
259
+ 'CHZ': 'Chiliz' + ' ' + '(CHZ)',
260
+ 'COMP': 'Compound' + ' ' + '(COMP)',
261
+ 'CQT': '\tCovalent Query Token' + ' ' + '(CQT)',
262
+ 'CRV': 'Curve DAO Token' + ' ' + '(CRV)',
263
+ 'CTSI': 'Cartesi' + ' ' + '(CTSI)',
264
264
  'DAI': 'Dai',
265
265
  'DASH': 'Dash',
266
266
  'DOGE': 'Dogecoin',
267
267
  'DOT': 'Polkadot',
268
- 'DYDX': 'dYdX (DYDX)',
269
- 'ENJ': 'Enjin Coin (ENJ)',
268
+ 'DYDX': 'dYdX' + ' ' + '(DYDX)',
269
+ 'ENJ': 'Enjin Coin' + ' ' + '(ENJ)',
270
270
  'EOS': 'EOS',
271
- 'ETC': 'Ether Classic (Hex)',
272
- 'ETH': 'Ether (Hex)',
271
+ 'ETC': 'Ether Classic' + ' ' + '(Hex)',
272
+ 'ETH': 'Ether' + ' ' + '(Hex)',
273
273
  'EWT': 'Energy Web Token',
274
274
  'FEE': 'Kraken Fee Credit',
275
275
  'FIL': 'Filecoin',
276
276
  'FLOW': 'Flow',
277
- 'GHST': 'Aavegotchi (GHST)',
277
+ 'GHST': 'Aavegotchi' + ' ' + '(GHST)',
278
278
  'GNO': 'GNO',
279
279
  'GRT': 'GRT',
280
280
  'ICX': 'Icon',
281
- 'INJ': 'Injective Protocol (INJ)',
282
- 'KAR': 'Karura (KAR)',
281
+ 'INJ': 'Injective Protocol' + ' ' + '(INJ)',
282
+ 'KAR': 'Karura' + ' ' + '(KAR)',
283
283
  'KAVA': 'Kava',
284
- 'KEEP': 'Keep Token (KEEP)',
285
- 'KNC': 'Kyber Network (KNC)',
284
+ 'KEEP': 'Keep Token' + ' ' + '(KEEP)',
285
+ 'KNC': 'Kyber Network' + ' ' + '(KNC)',
286
286
  'KSM': 'Kusama',
287
287
  'LINK': 'Link',
288
- 'LPT': 'Livepeer Token (LPT)',
289
- 'LRC': 'Loopring (LRC)',
288
+ 'LPT': 'Livepeer Token' + ' ' + '(LPT)',
289
+ 'LRC': 'Loopring' + ' ' + '(LRC)',
290
290
  'LSK': 'Lisk',
291
291
  'LTC': 'Litecoin',
292
292
  'MANA': 'MANA',
293
- 'MATIC': 'Polygon (MATIC)',
293
+ 'MATIC': 'Polygon' + ' ' + '(MATIC)',
294
294
  'MINA': 'Mina',
295
- 'MIR': 'Mirror Protocol (MIR)',
296
- 'MKR': 'Maker (MKR)',
295
+ 'MIR': 'Mirror Protocol' + ' ' + '(MIR)',
296
+ 'MKR': 'Maker' + ' ' + '(MKR)',
297
297
  'MLN': 'MLN',
298
- 'MOVR': 'Moonriver (MOVR)',
298
+ 'MOVR': 'Moonriver' + ' ' + '(MOVR)',
299
299
  'NANO': 'NANO',
300
300
  'OCEAN': 'OCEAN',
301
- 'OGN': 'Origin Protocol (OGN)',
301
+ 'OGN': 'Origin Protocol' + ' ' + '(OGN)',
302
302
  'OMG': 'OMG',
303
- 'OXT': 'Orchid (OXT)',
304
- 'OXY': 'Oxygen (OXY)',
305
- 'PAXG': 'PAX (Gold)',
306
- 'PERP': 'Perpetual Protocol (PERP)',
307
- 'PHA': 'Phala (PHA)',
303
+ 'OXT': 'Orchid' + ' ' + '(OXT)',
304
+ 'OXY': 'Oxygen' + ' ' + '(OXY)',
305
+ 'PAXG': 'PAX' + ' ' + '(Gold)',
306
+ 'PERP': 'Perpetual Protocol' + ' ' + '(PERP)',
307
+ 'PHA': 'Phala' + ' ' + '(PHA)',
308
308
  'QTUM': 'QTUM',
309
- 'RARI': 'Rarible (RARI)',
310
- 'RAY': 'Raydium (RAY)',
311
- 'REN': 'Ren Protocol (REN)',
309
+ 'RARI': 'Rarible' + ' ' + '(RARI)',
310
+ 'RAY': 'Raydium' + ' ' + '(RAY)',
311
+ 'REN': 'Ren Protocol' + ' ' + '(REN)',
312
312
  'REP': 'REPv2',
313
313
  'REPV1': 'REP',
314
- 'SAND': 'The Sandbox (SAND)',
314
+ 'SAND': 'The Sandbox' + ' ' + '(SAND)',
315
315
  'SC': 'Siacoin',
316
- 'SDN': 'Shiden (SDN)',
316
+ 'SDN': 'Shiden' + ' ' + '(SDN)',
317
317
  'SOL': 'Solana',
318
- 'SNX': 'Synthetix Network (SNX)',
318
+ 'SNX': 'Synthetix Network' + ' ' + '(SNX)',
319
319
  'SRM': 'Serum',
320
- 'STORJ': 'Storj (STORJ)',
321
- 'SUSHI': 'Sushiswap (SUSHI)',
320
+ 'STORJ': 'Storj' + ' ' + '(STORJ)',
321
+ 'SUSHI': 'Sushiswap' + ' ' + '(SUSHI)',
322
322
  'TBTC': 'tBTC',
323
323
  'TRX': 'Tron',
324
324
  'UNI': 'UNI',
325
325
  'USDC': 'USDC',
326
- 'USDT': 'Tether USD (ERC20)',
327
- 'USDT-TRC20': 'Tether USD (TRC20)',
326
+ 'USDT': 'Tether USD' + ' ' + '(ERC20)',
327
+ 'USDT-TRC20': 'Tether USD' + ' ' + '(TRC20)',
328
328
  'WAVES': 'Waves',
329
- 'WBTC': 'Wrapped Bitcoin (WBTC)',
329
+ 'WBTC': 'Wrapped Bitcoin' + ' ' + '(WBTC)',
330
330
  'XLM': 'Stellar XLM',
331
331
  'XMR': 'Monero',
332
332
  'XRP': 'Ripple XRP',
333
333
  'XTZ': 'XTZ',
334
334
  'YFI': 'YFI',
335
- 'ZEC': 'Zcash (Transparent)',
336
- 'ZRX': '0x (ZRX)',
335
+ 'ZEC': 'Zcash' + ' ' + '(Transparent)',
336
+ 'ZRX': '0x' + ' ' + '(ZRX)',
337
337
  },
338
338
  'withdrawMethods': {
339
339
  'Lightning': 'Lightning',
@@ -395,6 +395,7 @@ class kucoin extends kucoin$1 {
395
395
  'broker/nd/account': 2,
396
396
  'broker/nd/account/apikey': 2,
397
397
  'broker/nd/rebase/download': 3,
398
+ 'asset/ndbroker/deposit/list': 1,
398
399
  'broker/nd/transfer/detail': 1,
399
400
  'broker/nd/deposit/detail': 1,
400
401
  'broker/nd/withdraw/detail': 1,
@@ -686,6 +687,7 @@ class kucoin extends kucoin$1 {
686
687
  'purchase/orders': 'v3',
687
688
  'margin/symbols': 'v3',
688
689
  'affiliate/inviter/statistics': 'v2',
690
+ 'asset/ndbroker/deposit/list': 'v1',
689
691
  },
690
692
  'POST': {
691
693
  // account