ccxt 4.1.96__py2.py3-none-any.whl → 4.1.97__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.

Potentially problematic release.


This version of ccxt might be problematic. Click here for more details.

Files changed (145) hide show
  1. ccxt/__init__.py +2 -1
  2. ccxt/abstract/bingx.py +2 -0
  3. ccxt/ace.py +1 -1
  4. ccxt/ascendex.py +1 -1
  5. ccxt/async_support/__init__.py +2 -1
  6. ccxt/async_support/ace.py +1 -1
  7. ccxt/async_support/ascendex.py +1 -1
  8. ccxt/async_support/base/exchange.py +1 -1
  9. ccxt/async_support/bigone.py +2 -2
  10. ccxt/async_support/bingx.py +38 -1
  11. ccxt/async_support/bitfinex.py +1 -1
  12. ccxt/async_support/bitfinex2.py +1 -1
  13. ccxt/async_support/bitflyer.py +2 -2
  14. ccxt/async_support/bitmart.py +1 -1
  15. ccxt/async_support/bitmex.py +2 -2
  16. ccxt/async_support/bitopro.py +1 -1
  17. ccxt/async_support/bitpanda.py +1 -1
  18. ccxt/async_support/bitvavo.py +1 -1
  19. ccxt/async_support/blockchaincom.py +1 -1
  20. ccxt/async_support/btcalpha.py +2 -2
  21. ccxt/async_support/btcbox.py +1 -1
  22. ccxt/async_support/btcmarkets.py +2 -2
  23. ccxt/async_support/btcturk.py +1 -1
  24. ccxt/async_support/bybit.py +2 -2
  25. ccxt/async_support/cex.py +1 -1
  26. ccxt/async_support/coinbasepro.py +2 -2
  27. ccxt/async_support/coinex.py +1 -1
  28. ccxt/async_support/coinlist.py +1 -1
  29. ccxt/async_support/deribit.py +1 -1
  30. ccxt/async_support/digifinex.py +1 -1
  31. ccxt/async_support/gate.py +1 -1
  32. ccxt/async_support/hitbtc.py +1 -1
  33. ccxt/async_support/hollaex.py +2 -2
  34. ccxt/async_support/htx.py +1 -1
  35. ccxt/async_support/huobijp.py +2 -2
  36. ccxt/async_support/idex.py +1 -1
  37. ccxt/async_support/independentreserve.py +1 -1
  38. ccxt/async_support/kraken.py +1 -1
  39. ccxt/async_support/kucoin.py +1 -1
  40. ccxt/async_support/kucoinfutures.py +1 -1
  41. ccxt/async_support/kuna.py +1 -1
  42. ccxt/async_support/latoken.py +1 -1
  43. ccxt/async_support/luno.py +2 -2
  44. ccxt/async_support/lykke.py +1 -1
  45. ccxt/async_support/mexc.py +2 -2
  46. ccxt/async_support/ndax.py +1 -1
  47. ccxt/async_support/novadax.py +2 -2
  48. ccxt/async_support/oceanex.py +1 -1
  49. ccxt/async_support/okcoin.py +1 -1
  50. ccxt/async_support/okx.py +1 -1
  51. ccxt/async_support/poloniexfutures.py +1 -1
  52. ccxt/async_support/probit.py +1 -1
  53. ccxt/async_support/timex.py +1 -1
  54. ccxt/async_support/tokocrypto.py +1 -1
  55. ccxt/async_support/upbit.py +1 -1
  56. ccxt/async_support/wavesexchange.py +1 -1
  57. ccxt/async_support/whitebit.py +1 -1
  58. ccxt/async_support/woo.py +1 -1
  59. ccxt/async_support/zaif.py +1 -1
  60. ccxt/base/errors.py +6 -0
  61. ccxt/base/exchange.py +8 -6
  62. ccxt/bigone.py +2 -2
  63. ccxt/bingx.py +38 -1
  64. ccxt/bitfinex.py +1 -1
  65. ccxt/bitfinex2.py +1 -1
  66. ccxt/bitflyer.py +2 -2
  67. ccxt/bitmart.py +1 -1
  68. ccxt/bitmex.py +2 -2
  69. ccxt/bitopro.py +1 -1
  70. ccxt/bitpanda.py +1 -1
  71. ccxt/bitvavo.py +1 -1
  72. ccxt/blockchaincom.py +1 -1
  73. ccxt/btcalpha.py +2 -2
  74. ccxt/btcbox.py +1 -1
  75. ccxt/btcmarkets.py +2 -2
  76. ccxt/btcturk.py +1 -1
  77. ccxt/bybit.py +2 -2
  78. ccxt/cex.py +1 -1
  79. ccxt/coinbasepro.py +2 -2
  80. ccxt/coinex.py +1 -1
  81. ccxt/coinlist.py +1 -1
  82. ccxt/deribit.py +1 -1
  83. ccxt/digifinex.py +1 -1
  84. ccxt/gate.py +1 -1
  85. ccxt/hitbtc.py +1 -1
  86. ccxt/hollaex.py +2 -2
  87. ccxt/htx.py +1 -1
  88. ccxt/huobijp.py +2 -2
  89. ccxt/idex.py +1 -1
  90. ccxt/independentreserve.py +1 -1
  91. ccxt/kraken.py +1 -1
  92. ccxt/kucoin.py +1 -1
  93. ccxt/kucoinfutures.py +1 -1
  94. ccxt/kuna.py +1 -1
  95. ccxt/latoken.py +1 -1
  96. ccxt/luno.py +2 -2
  97. ccxt/lykke.py +1 -1
  98. ccxt/mexc.py +2 -2
  99. ccxt/ndax.py +1 -1
  100. ccxt/novadax.py +2 -2
  101. ccxt/oceanex.py +1 -1
  102. ccxt/okcoin.py +1 -1
  103. ccxt/okx.py +1 -1
  104. ccxt/poloniexfutures.py +1 -1
  105. ccxt/pro/__init__.py +1 -1
  106. ccxt/pro/alpaca.py +1 -1
  107. ccxt/pro/ascendex.py +1 -1
  108. ccxt/pro/binance.py +2 -2
  109. ccxt/pro/bingx.py +6 -3
  110. ccxt/pro/bitfinex.py +1 -1
  111. ccxt/pro/bitfinex2.py +1 -1
  112. ccxt/pro/bitmex.py +1 -1
  113. ccxt/pro/bitpanda.py +1 -1
  114. ccxt/pro/blockchaincom.py +1 -1
  115. ccxt/pro/bybit.py +2 -2
  116. ccxt/pro/coinbase.py +1 -1
  117. ccxt/pro/coinbasepro.py +1 -1
  118. ccxt/pro/deribit.py +1 -1
  119. ccxt/pro/gate.py +1 -1
  120. ccxt/pro/gemini.py +1 -1
  121. ccxt/pro/hollaex.py +1 -1
  122. ccxt/pro/htx.py +1 -1
  123. ccxt/pro/idex.py +1 -1
  124. ccxt/pro/kraken.py +1 -1
  125. ccxt/pro/krakenfutures.py +1 -1
  126. ccxt/pro/kucoinfutures.py +1 -1
  127. ccxt/pro/mexc.py +1 -1
  128. ccxt/pro/okcoin.py +1 -1
  129. ccxt/pro/okx.py +1 -1
  130. ccxt/pro/phemex.py +1 -1
  131. ccxt/pro/poloniexfutures.py +1 -1
  132. ccxt/probit.py +1 -1
  133. ccxt/test/test_async.py +3 -1
  134. ccxt/test/test_sync.py +3 -1
  135. ccxt/timex.py +1 -1
  136. ccxt/tokocrypto.py +1 -1
  137. ccxt/upbit.py +1 -1
  138. ccxt/wavesexchange.py +1 -1
  139. ccxt/whitebit.py +1 -1
  140. ccxt/woo.py +1 -1
  141. ccxt/zaif.py +1 -1
  142. {ccxt-4.1.96.dist-info → ccxt-4.1.97.dist-info}/METADATA +4 -4
  143. {ccxt-4.1.96.dist-info → ccxt-4.1.97.dist-info}/RECORD +145 -145
  144. {ccxt-4.1.96.dist-info → ccxt-4.1.97.dist-info}/WHEEL +0 -0
  145. {ccxt-4.1.96.dist-info → ccxt-4.1.97.dist-info}/top_level.txt +0 -0
ccxt/probit.py CHANGED
@@ -1015,7 +1015,7 @@ class probit(Exchange, ImplicitAPI):
1015
1015
  fetches information on multiple closed orders made by the user
1016
1016
  :param str symbol: unified market symbol of the market orders were made in
1017
1017
  :param int [since]: the earliest time in ms to fetch orders for
1018
- :param int [limit]: the maximum number of orde structures to retrieve
1018
+ :param int [limit]: the maximum number of order structures to retrieve
1019
1019
  :param dict [params]: extra parameters specific to the exchange API endpoint
1020
1020
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1021
1021
  """
ccxt/test/test_async.py CHANGED
@@ -24,6 +24,7 @@ import asyncio
24
24
  # from typing import Optional
25
25
  # from typing import List
26
26
  from ccxt.base.errors import NotSupported
27
+ from ccxt.base.errors import ProxyError
27
28
  from ccxt.base.errors import NetworkError
28
29
  from ccxt.base.errors import ExchangeNotAvailable
29
30
  from ccxt.base.errors import OnMaintenance
@@ -911,7 +912,7 @@ class testMainClass(baseMainTestClass):
911
912
  try:
912
913
  await call_exchange_method_dynamically(exchange, method, self.sanitize_data_input(data['input']))
913
914
  except Exception as e:
914
- if not (isinstance(e, NetworkError)):
915
+ if not (isinstance(e, ProxyError)):
915
916
  raise e
916
917
  output = exchange.last_request_body
917
918
  request_url = exchange.last_request_url
@@ -942,6 +943,7 @@ class testMainClass(baseMainTestClass):
942
943
  'markets': markets,
943
944
  'enableRateLimit': False,
944
945
  'rateLimit': 1,
946
+ 'httpProxy': 'http://fake:8080',
945
947
  'httpsProxy': 'http://fake:8080',
946
948
  'apiKey': 'key',
947
949
  'secret': 'secretsecret',
ccxt/test/test_sync.py CHANGED
@@ -23,6 +23,7 @@ import ccxt # noqa: E402
23
23
  # from typing import Optional
24
24
  # from typing import List
25
25
  from ccxt.base.errors import NotSupported
26
+ from ccxt.base.errors import ProxyError
26
27
  from ccxt.base.errors import NetworkError
27
28
  from ccxt.base.errors import ExchangeNotAvailable
28
29
  from ccxt.base.errors import OnMaintenance
@@ -910,7 +911,7 @@ class testMainClass(baseMainTestClass):
910
911
  try:
911
912
  call_exchange_method_dynamically(exchange, method, self.sanitize_data_input(data['input']))
912
913
  except Exception as e:
913
- if not (isinstance(e, NetworkError)):
914
+ if not (isinstance(e, ProxyError)):
914
915
  raise e
915
916
  output = exchange.last_request_body
916
917
  request_url = exchange.last_request_url
@@ -941,6 +942,7 @@ class testMainClass(baseMainTestClass):
941
942
  'markets': markets,
942
943
  'enableRateLimit': False,
943
944
  'rateLimit': 1,
945
+ 'httpProxy': 'http://fake:8080',
944
946
  'httpsProxy': 'http://fake:8080',
945
947
  'apiKey': 'key',
946
948
  'secret': 'secretsecret',
ccxt/timex.py CHANGED
@@ -957,7 +957,7 @@ class timex(Exchange, ImplicitAPI):
957
957
  fetches information on multiple closed orders made by the user
958
958
  :param str symbol: unified market symbol of the market orders were made in
959
959
  :param int [since]: the earliest time in ms to fetch orders for
960
- :param int [limit]: the maximum number of orde structures to retrieve
960
+ :param int [limit]: the maximum number of order structures to retrieve
961
961
  :param dict [params]: extra parameters specific to the exchange API endpoint
962
962
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
963
963
  """
ccxt/tokocrypto.py CHANGED
@@ -1827,7 +1827,7 @@ class tokocrypto(Exchange, ImplicitAPI):
1827
1827
  fetches information on multiple closed orders made by the user
1828
1828
  :param str symbol: unified market symbol of the market orders were made in
1829
1829
  :param int [since]: the earliest time in ms to fetch orders for
1830
- :param int [limit]: the maximum number of orde structures to retrieve
1830
+ :param int [limit]: the maximum number of order structures to retrieve
1831
1831
  :param dict [params]: extra parameters specific to the exchange API endpoint
1832
1832
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1833
1833
  """
ccxt/upbit.py CHANGED
@@ -1446,7 +1446,7 @@ class upbit(Exchange, ImplicitAPI):
1446
1446
  fetches information on multiple closed orders made by the user
1447
1447
  :param str symbol: unified market symbol of the market orders were made in
1448
1448
  :param int [since]: the earliest time in ms to fetch orders for
1449
- :param int [limit]: the maximum number of orde structures to retrieve
1449
+ :param int [limit]: the maximum number of order structures to retrieve
1450
1450
  :param dict [params]: extra parameters specific to the exchange API endpoint
1451
1451
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1452
1452
  """
ccxt/wavesexchange.py CHANGED
@@ -1543,7 +1543,7 @@ class wavesexchange(Exchange, ImplicitAPI):
1543
1543
  fetches information on multiple closed orders made by the user
1544
1544
  :param str symbol: unified market symbol of the market orders were made in
1545
1545
  :param int [since]: the earliest time in ms to fetch orders for
1546
- :param int [limit]: the maximum number of orde structures to retrieve
1546
+ :param int [limit]: the maximum number of order structures to retrieve
1547
1547
  :param dict [params]: extra parameters specific to the exchange API endpoint
1548
1548
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1549
1549
  """
ccxt/whitebit.py CHANGED
@@ -1334,7 +1334,7 @@ class whitebit(Exchange, ImplicitAPI):
1334
1334
  :see: https://docs.whitebit.com/private/http-trade-v4/#query-executed-orders
1335
1335
  :param str symbol: unified market symbol of the market orders were made in
1336
1336
  :param int [since]: the earliest time in ms to fetch orders for
1337
- :param int [limit]: the maximum number of orde structures to retrieve
1337
+ :param int [limit]: the maximum number of order structures to retrieve
1338
1338
  :param dict [params]: extra parameters specific to the exchange API endpoint
1339
1339
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1340
1340
  """
ccxt/woo.py CHANGED
@@ -1118,7 +1118,7 @@ class woo(Exchange, ImplicitAPI):
1118
1118
  fetches information on multiple orders made by the user
1119
1119
  :param str symbol: unified market symbol of the market orders were made in
1120
1120
  :param int [since]: the earliest time in ms to fetch orders for
1121
- :param int [limit]: the maximum number of orde structures to retrieve
1121
+ :param int [limit]: the maximum number of order structures to retrieve
1122
1122
  :param dict [params]: extra parameters specific to the exchange API endpoint
1123
1123
  :param boolean [params.stop]: whether the order is a stop/algo order
1124
1124
  :param boolean [params.isTriggered]: whether the order has been triggered(False by default)
ccxt/zaif.py CHANGED
@@ -535,7 +535,7 @@ class zaif(Exchange, ImplicitAPI):
535
535
  fetches information on multiple closed orders made by the user
536
536
  :param str symbol: unified market symbol of the market orders were made in
537
537
  :param int [since]: the earliest time in ms to fetch orders for
538
- :param int [limit]: the maximum number of orde structures to retrieve
538
+ :param int [limit]: the maximum number of order structures to retrieve
539
539
  :param dict [params]: extra parameters specific to the exchange API endpoint
540
540
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
541
541
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ccxt
3
- Version: 4.1.96
3
+ Version: 4.1.97
4
4
  Summary: A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges
5
5
  Home-page: https://ccxt.com
6
6
  Author: Igor Kroitor
@@ -257,13 +257,13 @@ console.log(version, Object.keys(exchanges));
257
257
 
258
258
  All-in-one browser bundle (dependencies included), served from a CDN of your choice:
259
259
 
260
- * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.1.96/dist/ccxt.browser.js
261
- * unpkg: https://unpkg.com/ccxt@4.1.96/dist/ccxt.browser.js
260
+ * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.1.97/dist/ccxt.browser.js
261
+ * unpkg: https://unpkg.com/ccxt@4.1.97/dist/ccxt.browser.js
262
262
 
263
263
  CDNs are not updated in real-time and may have delays. Defaulting to the most recent version without specifying the version number is not recommended. Please, keep in mind that we are not responsible for the correct operation of those CDN servers.
264
264
 
265
265
  ```HTML
266
- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.1.96/dist/ccxt.browser.js"></script>
266
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.1.97/dist/ccxt.browser.js"></script>
267
267
  ```
268
268
 
269
269
  Creates a global `ccxt` object: