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.
- ccxt/__init__.py +2 -1
- ccxt/abstract/bingx.py +2 -0
- ccxt/ace.py +1 -1
- ccxt/ascendex.py +1 -1
- ccxt/async_support/__init__.py +2 -1
- ccxt/async_support/ace.py +1 -1
- ccxt/async_support/ascendex.py +1 -1
- ccxt/async_support/base/exchange.py +1 -1
- ccxt/async_support/bigone.py +2 -2
- ccxt/async_support/bingx.py +38 -1
- ccxt/async_support/bitfinex.py +1 -1
- ccxt/async_support/bitfinex2.py +1 -1
- ccxt/async_support/bitflyer.py +2 -2
- ccxt/async_support/bitmart.py +1 -1
- ccxt/async_support/bitmex.py +2 -2
- ccxt/async_support/bitopro.py +1 -1
- ccxt/async_support/bitpanda.py +1 -1
- ccxt/async_support/bitvavo.py +1 -1
- ccxt/async_support/blockchaincom.py +1 -1
- ccxt/async_support/btcalpha.py +2 -2
- ccxt/async_support/btcbox.py +1 -1
- ccxt/async_support/btcmarkets.py +2 -2
- ccxt/async_support/btcturk.py +1 -1
- ccxt/async_support/bybit.py +2 -2
- ccxt/async_support/cex.py +1 -1
- ccxt/async_support/coinbasepro.py +2 -2
- ccxt/async_support/coinex.py +1 -1
- ccxt/async_support/coinlist.py +1 -1
- ccxt/async_support/deribit.py +1 -1
- ccxt/async_support/digifinex.py +1 -1
- ccxt/async_support/gate.py +1 -1
- ccxt/async_support/hitbtc.py +1 -1
- ccxt/async_support/hollaex.py +2 -2
- ccxt/async_support/htx.py +1 -1
- ccxt/async_support/huobijp.py +2 -2
- ccxt/async_support/idex.py +1 -1
- ccxt/async_support/independentreserve.py +1 -1
- ccxt/async_support/kraken.py +1 -1
- ccxt/async_support/kucoin.py +1 -1
- ccxt/async_support/kucoinfutures.py +1 -1
- ccxt/async_support/kuna.py +1 -1
- ccxt/async_support/latoken.py +1 -1
- ccxt/async_support/luno.py +2 -2
- ccxt/async_support/lykke.py +1 -1
- ccxt/async_support/mexc.py +2 -2
- ccxt/async_support/ndax.py +1 -1
- ccxt/async_support/novadax.py +2 -2
- ccxt/async_support/oceanex.py +1 -1
- ccxt/async_support/okcoin.py +1 -1
- ccxt/async_support/okx.py +1 -1
- ccxt/async_support/poloniexfutures.py +1 -1
- ccxt/async_support/probit.py +1 -1
- ccxt/async_support/timex.py +1 -1
- ccxt/async_support/tokocrypto.py +1 -1
- ccxt/async_support/upbit.py +1 -1
- ccxt/async_support/wavesexchange.py +1 -1
- ccxt/async_support/whitebit.py +1 -1
- ccxt/async_support/woo.py +1 -1
- ccxt/async_support/zaif.py +1 -1
- ccxt/base/errors.py +6 -0
- ccxt/base/exchange.py +8 -6
- ccxt/bigone.py +2 -2
- ccxt/bingx.py +38 -1
- ccxt/bitfinex.py +1 -1
- ccxt/bitfinex2.py +1 -1
- ccxt/bitflyer.py +2 -2
- ccxt/bitmart.py +1 -1
- ccxt/bitmex.py +2 -2
- ccxt/bitopro.py +1 -1
- ccxt/bitpanda.py +1 -1
- ccxt/bitvavo.py +1 -1
- ccxt/blockchaincom.py +1 -1
- ccxt/btcalpha.py +2 -2
- ccxt/btcbox.py +1 -1
- ccxt/btcmarkets.py +2 -2
- ccxt/btcturk.py +1 -1
- ccxt/bybit.py +2 -2
- ccxt/cex.py +1 -1
- ccxt/coinbasepro.py +2 -2
- ccxt/coinex.py +1 -1
- ccxt/coinlist.py +1 -1
- ccxt/deribit.py +1 -1
- ccxt/digifinex.py +1 -1
- ccxt/gate.py +1 -1
- ccxt/hitbtc.py +1 -1
- ccxt/hollaex.py +2 -2
- ccxt/htx.py +1 -1
- ccxt/huobijp.py +2 -2
- ccxt/idex.py +1 -1
- ccxt/independentreserve.py +1 -1
- ccxt/kraken.py +1 -1
- ccxt/kucoin.py +1 -1
- ccxt/kucoinfutures.py +1 -1
- ccxt/kuna.py +1 -1
- ccxt/latoken.py +1 -1
- ccxt/luno.py +2 -2
- ccxt/lykke.py +1 -1
- ccxt/mexc.py +2 -2
- ccxt/ndax.py +1 -1
- ccxt/novadax.py +2 -2
- ccxt/oceanex.py +1 -1
- ccxt/okcoin.py +1 -1
- ccxt/okx.py +1 -1
- ccxt/poloniexfutures.py +1 -1
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/alpaca.py +1 -1
- ccxt/pro/ascendex.py +1 -1
- ccxt/pro/binance.py +2 -2
- ccxt/pro/bingx.py +6 -3
- ccxt/pro/bitfinex.py +1 -1
- ccxt/pro/bitfinex2.py +1 -1
- ccxt/pro/bitmex.py +1 -1
- ccxt/pro/bitpanda.py +1 -1
- ccxt/pro/blockchaincom.py +1 -1
- ccxt/pro/bybit.py +2 -2
- ccxt/pro/coinbase.py +1 -1
- ccxt/pro/coinbasepro.py +1 -1
- ccxt/pro/deribit.py +1 -1
- ccxt/pro/gate.py +1 -1
- ccxt/pro/gemini.py +1 -1
- ccxt/pro/hollaex.py +1 -1
- ccxt/pro/htx.py +1 -1
- ccxt/pro/idex.py +1 -1
- ccxt/pro/kraken.py +1 -1
- ccxt/pro/krakenfutures.py +1 -1
- ccxt/pro/kucoinfutures.py +1 -1
- ccxt/pro/mexc.py +1 -1
- ccxt/pro/okcoin.py +1 -1
- ccxt/pro/okx.py +1 -1
- ccxt/pro/phemex.py +1 -1
- ccxt/pro/poloniexfutures.py +1 -1
- ccxt/probit.py +1 -1
- ccxt/test/test_async.py +3 -1
- ccxt/test/test_sync.py +3 -1
- ccxt/timex.py +1 -1
- ccxt/tokocrypto.py +1 -1
- ccxt/upbit.py +1 -1
- ccxt/wavesexchange.py +1 -1
- ccxt/whitebit.py +1 -1
- ccxt/woo.py +1 -1
- ccxt/zaif.py +1 -1
- {ccxt-4.1.96.dist-info → ccxt-4.1.97.dist-info}/METADATA +4 -4
- {ccxt-4.1.96.dist-info → ccxt-4.1.97.dist-info}/RECORD +145 -145
- {ccxt-4.1.96.dist-info → ccxt-4.1.97.dist-info}/WHEEL +0 -0
- {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
|
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,
|
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,
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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.
|
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.
|
261
|
-
* unpkg: https://unpkg.com/ccxt@4.1.
|
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.
|
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:
|