ccxt 4.3.87__py2.py3-none-any.whl → 4.3.89__py2.py3-none-any.whl

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 (107) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/kucoin.py +1 -0
  3. ccxt/abstract/kucoinfutures.py +1 -0
  4. ccxt/ace.py +1 -0
  5. ccxt/alpaca.py +1 -0
  6. ccxt/ascendex.py +7 -19
  7. ccxt/async_support/__init__.py +1 -1
  8. ccxt/async_support/ace.py +1 -0
  9. ccxt/async_support/alpaca.py +1 -0
  10. ccxt/async_support/ascendex.py +7 -19
  11. ccxt/async_support/base/exchange.py +3 -3
  12. ccxt/async_support/bigone.py +1 -0
  13. ccxt/async_support/bingx.py +1 -0
  14. ccxt/async_support/bit2c.py +1 -0
  15. ccxt/async_support/bitbank.py +1 -0
  16. ccxt/async_support/bitfinex.py +1 -0
  17. ccxt/async_support/bitflyer.py +1 -0
  18. ccxt/async_support/bitget.py +1 -0
  19. ccxt/async_support/bitmex.py +1 -0
  20. ccxt/async_support/bitopro.py +1 -0
  21. ccxt/async_support/bitrue.py +62 -71
  22. ccxt/async_support/bitso.py +1 -0
  23. ccxt/async_support/bitstamp.py +1 -0
  24. ccxt/async_support/bitvavo.py +1 -0
  25. ccxt/async_support/blockchaincom.py +1 -0
  26. ccxt/async_support/btcalpha.py +1 -0
  27. ccxt/async_support/btcbox.py +1 -0
  28. ccxt/async_support/btcmarkets.py +1 -0
  29. ccxt/async_support/bybit.py +2 -0
  30. ccxt/async_support/cex.py +1 -0
  31. ccxt/async_support/coinbaseexchange.py +1 -0
  32. ccxt/async_support/coinex.py +1 -1
  33. ccxt/async_support/cryptocom.py +0 -12
  34. ccxt/async_support/kraken.py +48 -48
  35. ccxt/async_support/kucoin.py +2 -0
  36. ccxt/async_support/mexc.py +1 -61
  37. ccxt/async_support/okcoin.py +4 -9
  38. ccxt/async_support/onetrading.py +1 -0
  39. ccxt/async_support/phemex.py +1 -0
  40. ccxt/async_support/poloniexfutures.py +1 -0
  41. ccxt/async_support/probit.py +1 -0
  42. ccxt/async_support/vertex.py +1 -0
  43. ccxt/async_support/woo.py +1 -0
  44. ccxt/async_support/woofipro.py +1 -0
  45. ccxt/base/exchange.py +8 -6
  46. ccxt/bigone.py +1 -0
  47. ccxt/bingx.py +1 -0
  48. ccxt/bit2c.py +1 -0
  49. ccxt/bitbank.py +1 -0
  50. ccxt/bitfinex.py +1 -0
  51. ccxt/bitflyer.py +1 -0
  52. ccxt/bitget.py +1 -0
  53. ccxt/bitmex.py +1 -0
  54. ccxt/bitopro.py +1 -0
  55. ccxt/bitrue.py +62 -71
  56. ccxt/bitso.py +1 -0
  57. ccxt/bitstamp.py +1 -0
  58. ccxt/bitvavo.py +1 -0
  59. ccxt/blockchaincom.py +1 -0
  60. ccxt/btcalpha.py +1 -0
  61. ccxt/btcbox.py +1 -0
  62. ccxt/btcmarkets.py +1 -0
  63. ccxt/bybit.py +2 -0
  64. ccxt/cex.py +1 -0
  65. ccxt/coinbaseexchange.py +1 -0
  66. ccxt/coinex.py +1 -1
  67. ccxt/cryptocom.py +0 -12
  68. ccxt/kraken.py +48 -48
  69. ccxt/kucoin.py +2 -0
  70. ccxt/mexc.py +1 -61
  71. ccxt/okcoin.py +4 -9
  72. ccxt/onetrading.py +1 -0
  73. ccxt/phemex.py +1 -0
  74. ccxt/poloniexfutures.py +1 -0
  75. ccxt/pro/__init__.py +1 -1
  76. ccxt/pro/bitfinex.py +1 -0
  77. ccxt/pro/bitfinex2.py +1 -0
  78. ccxt/pro/bitopro.py +1 -0
  79. ccxt/pro/bitstamp.py +1 -0
  80. ccxt/pro/bitvavo.py +1 -0
  81. ccxt/pro/blockchaincom.py +1 -0
  82. ccxt/pro/bybit.py +252 -1
  83. ccxt/pro/cex.py +2 -0
  84. ccxt/pro/coincheck.py +1 -0
  85. ccxt/pro/coinone.py +1 -0
  86. ccxt/pro/hashkey.py +1 -0
  87. ccxt/pro/hitbtc.py +1 -0
  88. ccxt/pro/hollaex.py +1 -0
  89. ccxt/pro/htx.py +1 -0
  90. ccxt/pro/huobijp.py +1 -0
  91. ccxt/pro/hyperliquid.py +7 -0
  92. ccxt/pro/independentreserve.py +1 -0
  93. ccxt/pro/lbank.py +1 -0
  94. ccxt/pro/luno.py +1 -0
  95. ccxt/pro/ndax.py +5 -0
  96. ccxt/pro/okcoin.py +7 -0
  97. ccxt/pro/onetrading.py +1 -0
  98. ccxt/pro/paradex.py +1 -0
  99. ccxt/probit.py +1 -0
  100. ccxt/vertex.py +1 -0
  101. ccxt/woo.py +1 -0
  102. ccxt/woofipro.py +1 -0
  103. {ccxt-4.3.87.dist-info → ccxt-4.3.89.dist-info}/METADATA +4 -4
  104. {ccxt-4.3.87.dist-info → ccxt-4.3.89.dist-info}/RECORD +107 -107
  105. {ccxt-4.3.87.dist-info → ccxt-4.3.89.dist-info}/LICENSE.txt +0 -0
  106. {ccxt-4.3.87.dist-info → ccxt-4.3.89.dist-info}/WHEEL +0 -0
  107. {ccxt-4.3.87.dist-info → ccxt-4.3.89.dist-info}/top_level.txt +0 -0
ccxt/bitso.py CHANGED
@@ -1129,6 +1129,7 @@ class bitso(Exchange, ImplicitAPI):
1129
1129
  """
1130
1130
  fetches information on an order made by the user
1131
1131
  :see: https://docs.bitso.com/bitso-api/docs/look-up-orders
1132
+ :param str id: the order id
1132
1133
  :param str symbol: not used by bitso fetchOrder
1133
1134
  :param dict [params]: extra parameters specific to the exchange API endpoint
1134
1135
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/bitstamp.py CHANGED
@@ -1466,6 +1466,7 @@ class bitstamp(Exchange, ImplicitAPI):
1466
1466
  """
1467
1467
  fetches information on an order made by the user
1468
1468
  :see: https://www.bitstamp.net/api/#tag/Orders/operation/GetOrderStatus
1469
+ :param str id: the order id
1469
1470
  :param str symbol: unified symbol of the market the order was made in
1470
1471
  :param dict [params]: extra parameters specific to the exchange API endpoint
1471
1472
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/bitvavo.py CHANGED
@@ -1255,6 +1255,7 @@ class bitvavo(Exchange, ImplicitAPI):
1255
1255
  """
1256
1256
  fetches information on an order made by the user
1257
1257
  :see: https://docs.bitvavo.com/#tag/Trading-endpoints/paths/~1order/get
1258
+ :param str id: the order id
1258
1259
  :param str symbol: unified symbol of the market the order was made in
1259
1260
  :param dict [params]: extra parameters specific to the exchange API endpoint
1260
1261
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/blockchaincom.py CHANGED
@@ -1036,6 +1036,7 @@ class blockchaincom(Exchange, ImplicitAPI):
1036
1036
  """
1037
1037
  fetches information on an order made by the user
1038
1038
  :see: https://api.blockchain.com/v3/#getorderbyid
1039
+ :param str id: the order id
1039
1040
  :param str symbol: not used by blockchaincom fetchOrder
1040
1041
  :param dict [params]: extra parameters specific to the exchange API endpoint
1041
1042
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/btcalpha.py CHANGED
@@ -760,6 +760,7 @@ class btcalpha(Exchange, ImplicitAPI):
760
760
  """
761
761
  :see: https://btc-alpha.github.io/api-docs/#retrieve-single-order
762
762
  fetches information on an order made by the user
763
+ :param str id: the order id
763
764
  :param str symbol: not used by btcalpha fetchOrder
764
765
  :param dict [params]: extra parameters specific to the exchange API endpoint
765
766
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/btcbox.py CHANGED
@@ -549,6 +549,7 @@ class btcbox(Exchange, ImplicitAPI):
549
549
  """
550
550
  fetches information on an order made by the user
551
551
  :see: https://blog.btcbox.jp/en/archives/8762#toc16
552
+ :param str id: the order id
552
553
  :param str symbol: unified symbol of the market the order was made in
553
554
  :param dict [params]: extra parameters specific to the exchange API endpoint
554
555
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/btcmarkets.py CHANGED
@@ -1018,6 +1018,7 @@ class btcmarkets(Exchange, ImplicitAPI):
1018
1018
  """
1019
1019
  fetches information on an order made by the user
1020
1020
  :see: https://docs.btcmarkets.net/v3/#operation/getOrderById
1021
+ :param str id: the order id
1021
1022
  :param str symbol: not used by btcmarkets fetchOrder
1022
1023
  :param dict [params]: extra parameters specific to the exchange API endpoint
1023
1024
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/bybit.py CHANGED
@@ -4493,6 +4493,7 @@ class bybit(Exchange, ImplicitAPI):
4493
4493
  """
4494
4494
  fetches information on an order made by the user *classic accounts only*
4495
4495
  :see: https://bybit-exchange.github.io/docs/v5/order/order-list
4496
+ :param str id: the order id
4496
4497
  :param str symbol: unified symbol of the market the order was made in
4497
4498
  :param dict [params]: extra parameters specific to the exchange API endpoint
4498
4499
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -4520,6 +4521,7 @@ class bybit(Exchange, ImplicitAPI):
4520
4521
  """
4521
4522
  *classic accounts only/ spot not supported* fetches information on an order made by the user *classic accounts only*
4522
4523
  :see: https://bybit-exchange.github.io/docs/v5/order/order-list
4524
+ :param str id: the order id
4523
4525
  :param str symbol: unified symbol of the market the order was made in
4524
4526
  :param dict [params]: extra parameters specific to the exchange API endpoint
4525
4527
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/cex.py CHANGED
@@ -1149,6 +1149,7 @@ class cex(Exchange, ImplicitAPI):
1149
1149
  """
1150
1150
  :see: https://docs.cex.io/?python#get-order-details
1151
1151
  fetches information on an order made by the user
1152
+ :param str id: the order id
1152
1153
  :param str symbol: not used by cex fetchOrder
1153
1154
  :param dict [params]: extra parameters specific to the exchange API endpoint
1154
1155
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/coinbaseexchange.py CHANGED
@@ -1047,6 +1047,7 @@ class coinbaseexchange(Exchange, ImplicitAPI):
1047
1047
  """
1048
1048
  :see: https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getorder
1049
1049
  fetches information on an order made by the user
1050
+ :param str id: the order id
1050
1051
  :param str symbol: not used by coinbaseexchange fetchOrder
1051
1052
  :param dict [params]: extra parameters specific to the exchange API endpoint
1052
1053
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/coinex.py CHANGED
@@ -5268,7 +5268,7 @@ class coinex(Exchange, ImplicitAPI):
5268
5268
  'shortLeverage': leverageValue,
5269
5269
  }
5270
5270
 
5271
- def fetch_position_history(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> Position:
5271
+ def fetch_position_history(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Position]:
5272
5272
  """
5273
5273
  fetches historical positions
5274
5274
  :see: https://docs.coinex.com/api/v2/futures/position/http/list-finished-position
ccxt/cryptocom.py CHANGED
@@ -1673,18 +1673,6 @@ class cryptocom(Exchange, ImplicitAPI):
1673
1673
  keys = list(depositAddresses.keys())
1674
1674
  return depositAddresses[keys[0]]
1675
1675
 
1676
- def safe_network(self, networkId):
1677
- networksById: dict = {
1678
- 'BTC': 'BTC',
1679
- 'ETH': 'ETH',
1680
- 'SOL': 'SOL',
1681
- 'BNB': 'BNB',
1682
- 'CRONOS': 'CRONOS',
1683
- 'MATIC': 'MATIC',
1684
- 'OP': 'OP',
1685
- }
1686
- return self.safe_string(networksById, networkId, networkId)
1687
-
1688
1676
  def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1689
1677
  """
1690
1678
  fetch all deposits made to an account
ccxt/kraken.py CHANGED
@@ -258,100 +258,100 @@ class kraken(Exchange, ImplicitAPI):
258
258
  'TRX': 'TRC20',
259
259
  },
260
260
  'depositMethods': {
261
- '1INCH': '1inch(1INCH)',
261
+ '1INCH': '1inch' + ' ' + '(1INCH)',
262
262
  'AAVE': 'Aave',
263
263
  'ADA': 'ADA',
264
264
  'ALGO': 'Algorand',
265
- 'ANKR': 'ANKR(ANKR)',
266
- 'ANT': 'Aragon(ANT)',
265
+ 'ANKR': 'ANKR' + ' ' + '(ANKR)',
266
+ 'ANT': 'Aragon' + ' ' + '(ANT)',
267
267
  'ATOM': 'Cosmos',
268
- 'AXS': 'Axie Infinity Shards(AXS)',
269
- 'BADGER': 'Bager DAO(BADGER)',
270
- 'BAL': 'Balancer(BAL)',
271
- 'BAND': 'Band Protocol(BAND)',
268
+ 'AXS': 'Axie Infinity Shards' + ' ' + '(AXS)',
269
+ 'BADGER': 'Bager DAO' + ' ' + '(BADGER)',
270
+ 'BAL': 'Balancer' + ' ' + '(BAL)',
271
+ 'BAND': 'Band Protocol' + ' ' + '(BAND)',
272
272
  'BAT': 'BAT',
273
273
  'BCH': 'Bitcoin Cash',
274
- 'BNC': 'Bifrost(BNC)',
275
- 'BNT': 'Bancor(BNT)',
274
+ 'BNC': 'Bifrost' + ' ' + '(BNC)',
275
+ 'BNT': 'Bancor' + ' ' + '(BNT)',
276
276
  'BTC': 'Bitcoin',
277
- 'CHZ': 'Chiliz(CHZ)',
278
- 'COMP': 'Compound(COMP)',
279
- 'CQT': '\tCovalent Query Token(CQT)',
280
- 'CRV': 'Curve DAO Token(CRV)',
281
- 'CTSI': 'Cartesi(CTSI)',
277
+ 'CHZ': 'Chiliz' + ' ' + '(CHZ)',
278
+ 'COMP': 'Compound' + ' ' + '(COMP)',
279
+ 'CQT': '\tCovalent Query Token' + ' ' + '(CQT)',
280
+ 'CRV': 'Curve DAO Token' + ' ' + '(CRV)',
281
+ 'CTSI': 'Cartesi' + ' ' + '(CTSI)',
282
282
  'DAI': 'Dai',
283
283
  'DASH': 'Dash',
284
284
  'DOGE': 'Dogecoin',
285
285
  'DOT': 'Polkadot',
286
- 'DYDX': 'dYdX(DYDX)',
287
- 'ENJ': 'Enjin Coin(ENJ)',
286
+ 'DYDX': 'dYdX' + ' ' + '(DYDX)',
287
+ 'ENJ': 'Enjin Coin' + ' ' + '(ENJ)',
288
288
  'EOS': 'EOS',
289
- 'ETC': 'Ether Classic(Hex)',
290
- 'ETH': 'Ether(Hex)',
289
+ 'ETC': 'Ether Classic' + ' ' + '(Hex)',
290
+ 'ETH': 'Ether' + ' ' + '(Hex)',
291
291
  'EWT': 'Energy Web Token',
292
292
  'FEE': 'Kraken Fee Credit',
293
293
  'FIL': 'Filecoin',
294
294
  'FLOW': 'Flow',
295
- 'GHST': 'Aavegotchi(GHST)',
295
+ 'GHST': 'Aavegotchi' + ' ' + '(GHST)',
296
296
  'GNO': 'GNO',
297
297
  'GRT': 'GRT',
298
298
  'ICX': 'Icon',
299
- 'INJ': 'Injective Protocol(INJ)',
300
- 'KAR': 'Karura(KAR)',
299
+ 'INJ': 'Injective Protocol' + ' ' + '(INJ)',
300
+ 'KAR': 'Karura' + ' ' + '(KAR)',
301
301
  'KAVA': 'Kava',
302
- 'KEEP': 'Keep Token(KEEP)',
303
- 'KNC': 'Kyber Network(KNC)',
302
+ 'KEEP': 'Keep Token' + ' ' + '(KEEP)',
303
+ 'KNC': 'Kyber Network' + ' ' + '(KNC)',
304
304
  'KSM': 'Kusama',
305
305
  'LINK': 'Link',
306
- 'LPT': 'Livepeer Token(LPT)',
307
- 'LRC': 'Loopring(LRC)',
306
+ 'LPT': 'Livepeer Token' + ' ' + '(LPT)',
307
+ 'LRC': 'Loopring' + ' ' + '(LRC)',
308
308
  'LSK': 'Lisk',
309
309
  'LTC': 'Litecoin',
310
310
  'MANA': 'MANA',
311
- 'MATIC': 'Polygon(MATIC)',
311
+ 'MATIC': 'Polygon' + ' ' + '(MATIC)',
312
312
  'MINA': 'Mina', # inspected from webui
313
- 'MIR': 'Mirror Protocol(MIR)',
314
- 'MKR': 'Maker(MKR)',
313
+ 'MIR': 'Mirror Protocol' + ' ' + '(MIR)',
314
+ 'MKR': 'Maker' + ' ' + '(MKR)',
315
315
  'MLN': 'MLN',
316
- 'MOVR': 'Moonriver(MOVR)',
316
+ 'MOVR': 'Moonriver' + ' ' + '(MOVR)',
317
317
  'NANO': 'NANO',
318
318
  'OCEAN': 'OCEAN',
319
- 'OGN': 'Origin Protocol(OGN)',
319
+ 'OGN': 'Origin Protocol' + ' ' + '(OGN)',
320
320
  'OMG': 'OMG',
321
- 'OXT': 'Orchid(OXT)',
322
- 'OXY': 'Oxygen(OXY)',
323
- 'PAXG': 'PAX(Gold)',
324
- 'PERP': 'Perpetual Protocol(PERP)',
325
- 'PHA': 'Phala(PHA)',
321
+ 'OXT': 'Orchid' + ' ' + '(OXT)',
322
+ 'OXY': 'Oxygen' + ' ' + '(OXY)',
323
+ 'PAXG': 'PAX' + ' ' + '(Gold)',
324
+ 'PERP': 'Perpetual Protocol' + ' ' + '(PERP)',
325
+ 'PHA': 'Phala' + ' ' + '(PHA)',
326
326
  'QTUM': 'QTUM',
327
- 'RARI': 'Rarible(RARI)',
328
- 'RAY': 'Raydium(RAY)',
329
- 'REN': 'Ren Protocol(REN)',
327
+ 'RARI': 'Rarible' + ' ' + '(RARI)',
328
+ 'RAY': 'Raydium' + ' ' + '(RAY)',
329
+ 'REN': 'Ren Protocol' + ' ' + '(REN)',
330
330
  'REP': 'REPv2',
331
331
  'REPV1': 'REP',
332
- 'SAND': 'The Sandbox(SAND)',
332
+ 'SAND': 'The Sandbox' + ' ' + '(SAND)',
333
333
  'SC': 'Siacoin',
334
- 'SDN': 'Shiden(SDN)',
334
+ 'SDN': 'Shiden' + ' ' + '(SDN)',
335
335
  'SOL': 'Solana', # their deposit method api doesn't work for SOL - was guessed
336
- 'SNX': 'Synthetix Network(SNX)',
336
+ 'SNX': 'Synthetix Network' + ' ' + '(SNX)',
337
337
  'SRM': 'Serum', # inspected from webui
338
- 'STORJ': 'Storj(STORJ)',
339
- 'SUSHI': 'Sushiswap(SUSHI)',
338
+ 'STORJ': 'Storj' + ' ' + '(STORJ)',
339
+ 'SUSHI': 'Sushiswap' + ' ' + '(SUSHI)',
340
340
  'TBTC': 'tBTC',
341
341
  'TRX': 'Tron',
342
342
  'UNI': 'UNI',
343
343
  'USDC': 'USDC',
344
- 'USDT': 'Tether USD(ERC20)',
345
- 'USDT-TRC20': 'Tether USD(TRC20)',
344
+ 'USDT': 'Tether USD' + ' ' + '(ERC20)',
345
+ 'USDT-TRC20': 'Tether USD' + ' ' + '(TRC20)',
346
346
  'WAVES': 'Waves',
347
- 'WBTC': 'Wrapped Bitcoin(WBTC)',
347
+ 'WBTC': 'Wrapped Bitcoin' + ' ' + '(WBTC)',
348
348
  'XLM': 'Stellar XLM',
349
349
  'XMR': 'Monero',
350
350
  'XRP': 'Ripple XRP',
351
351
  'XTZ': 'XTZ',
352
352
  'YFI': 'YFI',
353
- 'ZEC': 'Zcash(Transparent)',
354
- 'ZRX': '0x(ZRX)',
353
+ 'ZEC': 'Zcash' + ' ' + '(Transparent)',
354
+ 'ZRX': '0x' + ' ' + '(ZRX)',
355
355
  },
356
356
  'withdrawMethods': { # keeping it here because deposit and withdraw return different networks codes
357
357
  'Lightning': 'Lightning',
ccxt/kucoin.py CHANGED
@@ -414,6 +414,7 @@ class kucoin(Exchange, ImplicitAPI):
414
414
  'broker/nd/account': 2,
415
415
  'broker/nd/account/apikey': 2,
416
416
  'broker/nd/rebase/download': 3,
417
+ 'asset/ndbroker/deposit/list': 1,
417
418
  'broker/nd/transfer/detail': 1,
418
419
  'broker/nd/deposit/detail': 1,
419
420
  'broker/nd/withdraw/detail': 1,
@@ -705,6 +706,7 @@ class kucoin(Exchange, ImplicitAPI):
705
706
  'purchase/orders': 'v3',
706
707
  'margin/symbols': 'v3',
707
708
  'affiliate/inviter/statistics': 'v2',
709
+ 'asset/ndbroker/deposit/list': 'v1',
708
710
  },
709
711
  'POST': {
710
712
  # account
ccxt/mexc.py CHANGED
@@ -577,7 +577,7 @@ class mexc(Exchange, ImplicitAPI):
577
577
  'POKT': 'POKT',
578
578
  'QKC': 'QKC',
579
579
  'QTUM': 'QTUM',
580
- 'RAP20': 'RAP20(Rangers Mainnet)',
580
+ 'RAP20': 'RAP20' + ' ' + '(Rangers Mainnet)',
581
581
  'REI': 'REI',
582
582
  'RSK': 'RBTC',
583
583
  'RVN': 'Ravencoin(RVN)',
@@ -727,69 +727,9 @@ class mexc(Exchange, ImplicitAPI):
727
727
  # OKB <> OKT(for usdt it's exception) for OKC, PMEER, FLARE, STRD, ZEL, FUND, "NONE", CRING, FREETON, QTZ (probably unique network is meant), HT, BSC(RACAV1), BSC(RACAV2), AMBROSUS, BAJUN, NOM. their individual info is at https://www.mexc.com/api/platform/asset/spot/{COINNAME}
728
728
  },
729
729
  'networksById': {
730
- 'Aleph Zero(AZERO)': 'AZERO',
731
- 'Alephium(ALPH)': 'ALPH',
732
- 'Algorand(ALGO)': 'ALGO',
733
- 'APTOS(APT)': 'APT',
734
- 'Arbitrum One(ARB)': 'ARB',
735
- 'Avalanche C Chain(AVAX CCHAIN)': 'AVAXC',
736
- 'Avalanche X Chain(AVAX XCHAIN)': 'AVAXX',
737
- 'BEP20(BSC)': 'BSC',
738
- 'Bitcoin Cash(BCH)': 'BCH',
739
- 'Bitcoin SV(BSV)': 'BSV',
740
- 'Bitcoin(BTC)': 'BTC',
741
- 'Bittensor(TAO)': 'TAO',
742
- 'BNB Beacon Chain(BEP2)': 'BEP2',
743
730
  'BNB Smart Chain(BEP20-RACAV1)': 'BSC',
744
731
  'BNB Smart Chain(BEP20-RACAV2)': 'BSC',
745
732
  'BNB Smart Chain(BEP20)': 'BSC',
746
- 'Cardano(ADA)': 'ADA',
747
- 'Celestia(TIA)': 'TIA',
748
- 'Chia(XCH)': 'XCH',
749
- 'Chiliz Chain(CHZ2)': 'CHZ2',
750
- 'Chiliz Legacy Chain(CHZ)': 'CHZ',
751
- 'Clore.ai(CLORE)': 'CLORE',
752
- 'Cosmos(ATOM)': 'ATOM',
753
- 'Dogechain(DC)': 'DC',
754
- 'Dogecoin(DOGE)': 'DOGE',
755
- 'Dymension(DYM)': 'DYM',
756
- 'Dynex(DNX)': 'DNX',
757
- 'Elysium(LAVA)': 'LAVA',
758
- 'Ethereum Classic(ETC)': 'ETC',
759
- 'Ethereum(ERC20)': 'ERC20',
760
- 'Fantom(FTM)': 'FTM',
761
- 'Hedera(HBAR)': 'HBAR',
762
- 'Index Chain': 'INDEX',
763
- 'Internet Computer(ICP)': 'ICP',
764
- 'Kaspa(KAS)': 'KAS',
765
- 'Klaytn(KLAY)': 'KLAY',
766
- 'Litecoin(LTC)': 'LTC',
767
- 'Mantle(MNT)': 'MNT',
768
- 'Mcoin Network': 'MCOIN',
769
- 'Meter(MTRG)': 'MTRG',
770
- 'Monero(XMR)': 'XMR',
771
- 'NEAR Protocol(NEAR)': 'NEAR',
772
- 'Neoxa Network': 'NEOXA',
773
- 'Neurai(XNA)': 'XNA',
774
- 'Omega Network(OMN)': 'OMN',
775
- 'Optimism(OP)': 'OPTIMISM',
776
- 'Polkadot(DOT)': 'DOT',
777
- 'Polygon(MATIC)': 'MATIC',
778
- 'RAP20(Rangers Mainnet)': 'RAP20',
779
- 'Ravencoin(RVN)': 'RVN',
780
- 'Ripple(XRP)': 'XRP',
781
- 'Satoxcoin(SATOX)': 'SATOX',
782
- 'Solana(SOL)': 'SOL',
783
- 'Starknet(STARK)': 'STARK',
784
- 'Stellar(XLM)': 'XLM',
785
- 'Terra(LUNA)': 'LUNA',
786
- 'Toncoin(TON)': 'TON',
787
- 'Tron(TRC20)': 'TRC20',
788
- 'UGAS(Ultrain)': 'UGAS',
789
- 'VeChain(VET)': 'VET',
790
- 'Vexanium(VEX)': 'VEX',
791
- 'XPR Network': 'XPR',
792
- 'Zilliqa(ZIL)': 'ZIL',
793
733
  # TODO: uncomment below after deciding unified name
794
734
  # 'PEPE COIN BSC':
795
735
  # 'SMART BLOCKCHAIN':
ccxt/okcoin.py CHANGED
@@ -598,6 +598,9 @@ class okcoin(Exchange, ImplicitAPI):
598
598
  'defaultNetwork': 'ERC20',
599
599
  'networks': {
600
600
  'ERC20': 'Ethereum',
601
+ 'BTC': 'Bitcoin',
602
+ 'OMNI': 'Omni',
603
+ 'TRC20': 'TRON',
601
604
  },
602
605
  },
603
606
  'commonCurrencies': {
@@ -725,14 +728,6 @@ class okcoin(Exchange, ImplicitAPI):
725
728
  'info': market,
726
729
  })
727
730
 
728
- def safe_network(self, networkId):
729
- networksById: dict = {
730
- 'Bitcoin': 'BTC',
731
- 'Omni': 'OMNI',
732
- 'TRON': 'TRC20',
733
- }
734
- return self.safe_string(networksById, networkId, networkId)
735
-
736
731
  def fetch_currencies(self, params={}) -> Currencies:
737
732
  """
738
733
  fetches all available currencies on an exchange
@@ -772,7 +767,7 @@ class okcoin(Exchange, ImplicitAPI):
772
767
  if (networkId is not None) and (networkId.find('-') >= 0):
773
768
  parts = networkId.split('-')
774
769
  chainPart = self.safe_string(parts, 1, networkId)
775
- networkCode = self.safe_network(chainPart)
770
+ networkCode = self.network_id_to_code(chainPart)
776
771
  precision = self.parse_precision(self.safe_string(chain, 'wdTickSz'))
777
772
  if maxPrecision is None:
778
773
  maxPrecision = precision
ccxt/onetrading.py CHANGED
@@ -1577,6 +1577,7 @@ class onetrading(Exchange, ImplicitAPI):
1577
1577
  def fetch_order(self, id: str, symbol: Str = None, params={}):
1578
1578
  """
1579
1579
  fetches information on an order made by the user
1580
+ :param str id: the order id
1580
1581
  :param str symbol: not used by onetrading fetchOrder
1581
1582
  :param dict [params]: extra parameters specific to the exchange API endpoint
1582
1583
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/phemex.py CHANGED
@@ -2800,6 +2800,7 @@ class phemex(Exchange, ImplicitAPI):
2800
2800
  """
2801
2801
  :see: https://phemex-docs.github.io/#query-orders-by-ids
2802
2802
  fetches information on an order made by the user
2803
+ :param str id: the order id
2803
2804
  :param str symbol: unified symbol of the market the order was made in
2804
2805
  :param dict [params]: extra parameters specific to the exchange API endpoint
2805
2806
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/poloniexfutures.py CHANGED
@@ -1340,6 +1340,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
1340
1340
  fetches information on an order made by the user
1341
1341
  :see: https://api-docs.poloniex.com/futures/api/orders#get-details-of-a-single-order
1342
1342
  :see: https://api-docs.poloniex.com/futures/api/orders#get-single-order-by-clientoid
1343
+ :param str id: the order id
1343
1344
  :param str symbol: unified symbol of the market the order was made in
1344
1345
  :param dict [params]: extra parameters specific to the exchange API endpoint
1345
1346
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/pro/__init__.py CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.3.87'
7
+ __version__ = '4.3.89'
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
ccxt/pro/bitfinex.py CHANGED
@@ -24,6 +24,7 @@ class bitfinex(ccxt.async_support.bitfinex):
24
24
  'watchTickers': False,
25
25
  'watchOrderBook': True,
26
26
  'watchTrades': True,
27
+ 'watchTradesForSymbols': False,
27
28
  'watchBalance': False, # for now
28
29
  'watchOHLCV': False, # missing on the exchange side in v1
29
30
  },
ccxt/pro/bitfinex2.py CHANGED
@@ -25,6 +25,7 @@ class bitfinex2(ccxt.async_support.bitfinex2):
25
25
  'watchTickers': False,
26
26
  'watchOrderBook': True,
27
27
  'watchTrades': True,
28
+ 'watchTradesForSymbols': False,
28
29
  'watchMyTrades': True,
29
30
  'watchBalance': True,
30
31
  'watchOHLCV': True,
ccxt/pro/bitopro.py CHANGED
@@ -26,6 +26,7 @@ class bitopro(ccxt.async_support.bitopro):
26
26
  'watchTicker': True,
27
27
  'watchTickers': False,
28
28
  'watchTrades': True,
29
+ 'watchTradesForSymbols': False,
29
30
  },
30
31
  'urls': {
31
32
  'ws': {
ccxt/pro/bitstamp.py CHANGED
@@ -21,6 +21,7 @@ class bitstamp(ccxt.async_support.bitstamp):
21
21
  'watchOrderBook': True,
22
22
  'watchOrders': True,
23
23
  'watchTrades': True,
24
+ 'watchTradesForSymbols': False,
24
25
  'watchOHLCV': False,
25
26
  'watchTicker': False,
26
27
  'watchTickers': False,
ccxt/pro/bitvavo.py CHANGED
@@ -602,6 +602,7 @@ class bitvavo(ccxt.async_support.bitvavo):
602
602
  """
603
603
  :see: https://docs.bitvavo.com/#tag/General/paths/~1assets/get
604
604
  fetches information on an order made by the user
605
+ :param str id: the order id
605
606
  :param str symbol: unified symbol of the market the order was made in
606
607
  :param dict [params]: extra parameters specific to the bitvavo api endpoint
607
608
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/pro/blockchaincom.py CHANGED
@@ -23,6 +23,7 @@ class blockchaincom(ccxt.async_support.blockchaincom):
23
23
  'watchTicker': True,
24
24
  'watchTickers': False,
25
25
  'watchTrades': True,
26
+ 'watchTradesForSymbols': False,
26
27
  'watchMyTrades': False,
27
28
  'watchOrders': True,
28
29
  'watchOrderBook': True,