ccxt 4.3.6__py2.py3-none-any.whl → 4.3.8__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 +1 -1
- ccxt/abstract/coinbase.py +5 -0
- ccxt/ace.py +5 -0
- ccxt/alpaca.py +6 -0
- ccxt/ascendex.py +2 -2
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +5 -0
- ccxt/async_support/alpaca.py +6 -0
- ccxt/async_support/ascendex.py +2 -2
- ccxt/async_support/base/exchange.py +27 -1
- ccxt/async_support/bigone.py +1 -1
- ccxt/async_support/binance.py +6 -4
- ccxt/async_support/bingx.py +4 -2
- ccxt/async_support/bitbank.py +4 -1
- ccxt/async_support/bitfinex.py +1 -1
- ccxt/async_support/bitfinex2.py +1 -1
- ccxt/async_support/bitflyer.py +1 -1
- ccxt/async_support/bitget.py +71 -5
- ccxt/async_support/bithumb.py +5 -1
- ccxt/async_support/bitmart.py +1 -1
- ccxt/async_support/bitmex.py +3 -1
- ccxt/async_support/bitopro.py +6 -1
- ccxt/async_support/bitrue.py +1 -1
- ccxt/async_support/bitso.py +4 -1
- ccxt/async_support/bitstamp.py +4 -1
- ccxt/async_support/bitteam.py +4 -0
- ccxt/async_support/bitvavo.py +4 -1
- ccxt/async_support/bl3p.py +3 -0
- ccxt/async_support/blockchaincom.py +1 -1
- ccxt/async_support/btcalpha.py +3 -0
- ccxt/async_support/btcbox.py +3 -0
- ccxt/async_support/btcmarkets.py +4 -1
- ccxt/async_support/btcturk.py +3 -0
- ccxt/async_support/bybit.py +116 -14
- ccxt/async_support/cex.py +6 -0
- ccxt/async_support/coinbase.py +94 -18
- ccxt/async_support/coinbaseinternational.py +3 -1
- ccxt/async_support/coinbasepro.py +7 -1
- ccxt/async_support/coincheck.py +3 -0
- ccxt/async_support/coinex.py +255 -192
- ccxt/async_support/coinlist.py +5 -1
- ccxt/async_support/coinmate.py +4 -1
- ccxt/async_support/coinone.py +3 -0
- ccxt/async_support/coinsph.py +5 -1
- ccxt/async_support/coinspot.py +3 -0
- ccxt/async_support/cryptocom.py +3 -1
- ccxt/async_support/delta.py +2 -2
- ccxt/async_support/deribit.py +1 -1
- ccxt/async_support/digifinex.py +3 -3
- ccxt/async_support/exmo.py +8 -3
- ccxt/async_support/gate.py +112 -24
- ccxt/async_support/gemini.py +1 -1
- ccxt/async_support/hitbtc.py +7 -6
- ccxt/async_support/hollaex.py +1 -1
- ccxt/async_support/htx.py +3 -1
- ccxt/async_support/huobijp.py +1 -1
- ccxt/async_support/hyperliquid.py +2 -2
- ccxt/async_support/idex.py +4 -1
- ccxt/async_support/independentreserve.py +3 -0
- ccxt/async_support/indodax.py +4 -1
- ccxt/async_support/kraken.py +1 -1
- ccxt/async_support/kucoin.py +3 -1
- ccxt/async_support/kucoinfutures.py +3 -1
- ccxt/async_support/kuna.py +1 -1
- ccxt/async_support/latoken.py +6 -0
- ccxt/async_support/lbank.py +1 -1
- ccxt/async_support/luno.py +3 -0
- ccxt/async_support/lykke.py +6 -1
- ccxt/async_support/mercado.py +4 -1
- ccxt/async_support/mexc.py +110 -4
- ccxt/async_support/ndax.py +5 -1
- ccxt/async_support/novadax.py +5 -1
- ccxt/async_support/okcoin.py +1 -1
- ccxt/async_support/okx.py +81 -5
- ccxt/async_support/onetrading.py +4 -1
- ccxt/async_support/p2b.py +3 -0
- ccxt/async_support/phemex.py +1 -1
- ccxt/async_support/poloniex.py +1 -1
- ccxt/async_support/probit.py +4 -1
- ccxt/async_support/timex.py +3 -0
- ccxt/async_support/tokocrypto.py +1 -1
- ccxt/async_support/tradeogre.py +3 -0
- ccxt/async_support/upbit.py +1 -1
- ccxt/async_support/wavesexchange.py +4 -1
- ccxt/async_support/wazirx.py +3 -0
- ccxt/async_support/whitebit.py +1 -1
- ccxt/async_support/woo.py +4 -2
- ccxt/async_support/yobit.py +4 -1
- ccxt/async_support/zaif.py +1 -1
- ccxt/async_support/zonda.py +1 -1
- ccxt/base/exchange.py +38 -4
- ccxt/bigone.py +1 -1
- ccxt/binance.py +6 -4
- ccxt/bingx.py +4 -2
- ccxt/bitbank.py +4 -1
- ccxt/bitfinex.py +1 -1
- ccxt/bitfinex2.py +1 -1
- ccxt/bitflyer.py +1 -1
- ccxt/bitget.py +71 -5
- ccxt/bithumb.py +5 -1
- ccxt/bitmart.py +1 -1
- ccxt/bitmex.py +3 -1
- ccxt/bitopro.py +6 -1
- ccxt/bitrue.py +1 -1
- ccxt/bitso.py +4 -1
- ccxt/bitstamp.py +4 -1
- ccxt/bitteam.py +4 -0
- ccxt/bitvavo.py +4 -1
- ccxt/bl3p.py +3 -0
- ccxt/blockchaincom.py +1 -1
- ccxt/btcalpha.py +3 -0
- ccxt/btcbox.py +3 -0
- ccxt/btcmarkets.py +4 -1
- ccxt/btcturk.py +3 -0
- ccxt/bybit.py +116 -14
- ccxt/cex.py +6 -0
- ccxt/coinbase.py +94 -18
- ccxt/coinbaseinternational.py +3 -1
- ccxt/coinbasepro.py +7 -1
- ccxt/coincheck.py +3 -0
- ccxt/coinex.py +255 -192
- ccxt/coinlist.py +5 -1
- ccxt/coinmate.py +4 -1
- ccxt/coinone.py +3 -0
- ccxt/coinsph.py +5 -1
- ccxt/coinspot.py +3 -0
- ccxt/cryptocom.py +3 -1
- ccxt/delta.py +2 -2
- ccxt/deribit.py +1 -1
- ccxt/digifinex.py +3 -3
- ccxt/exmo.py +8 -3
- ccxt/gate.py +112 -24
- ccxt/gemini.py +1 -1
- ccxt/hitbtc.py +7 -6
- ccxt/hollaex.py +1 -1
- ccxt/htx.py +3 -1
- ccxt/huobijp.py +1 -1
- ccxt/hyperliquid.py +2 -2
- ccxt/idex.py +4 -1
- ccxt/independentreserve.py +3 -0
- ccxt/indodax.py +4 -1
- ccxt/kraken.py +1 -1
- ccxt/kucoin.py +3 -1
- ccxt/kucoinfutures.py +3 -1
- ccxt/kuna.py +1 -1
- ccxt/latoken.py +6 -0
- ccxt/lbank.py +1 -1
- ccxt/luno.py +3 -0
- ccxt/lykke.py +6 -1
- ccxt/mercado.py +4 -1
- ccxt/mexc.py +110 -4
- ccxt/ndax.py +5 -1
- ccxt/novadax.py +5 -1
- ccxt/okcoin.py +1 -1
- ccxt/okx.py +81 -5
- ccxt/onetrading.py +4 -1
- ccxt/p2b.py +3 -0
- ccxt/phemex.py +1 -1
- ccxt/poloniex.py +1 -1
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/bybit.py +1 -1
- ccxt/pro/coinbase.py +28 -28
- ccxt/probit.py +4 -1
- ccxt/timex.py +3 -0
- ccxt/tokocrypto.py +1 -1
- ccxt/tradeogre.py +3 -0
- ccxt/upbit.py +1 -1
- ccxt/wavesexchange.py +4 -1
- ccxt/wazirx.py +3 -0
- ccxt/whitebit.py +1 -1
- ccxt/woo.py +4 -2
- ccxt/yobit.py +4 -1
- ccxt/zaif.py +1 -1
- ccxt/zonda.py +1 -1
- {ccxt-4.3.6.dist-info → ccxt-4.3.8.dist-info}/METADATA +4 -4
- {ccxt-4.3.6.dist-info → ccxt-4.3.8.dist-info}/RECORD +178 -178
- {ccxt-4.3.6.dist-info → ccxt-4.3.8.dist-info}/WHEEL +0 -0
- {ccxt-4.3.6.dist-info → ccxt-4.3.8.dist-info}/top_level.txt +0 -0
ccxt/probit.py
CHANGED
@@ -82,8 +82,11 @@ class probit(Exchange, ImplicitAPI):
|
|
82
82
|
'fetchOrder': True,
|
83
83
|
'fetchOrderBook': True,
|
84
84
|
'fetchPosition': False,
|
85
|
+
'fetchPositionHistory': False,
|
85
86
|
'fetchPositionMode': False,
|
86
87
|
'fetchPositions': False,
|
88
|
+
'fetchPositionsForSymbol': False,
|
89
|
+
'fetchPositionsHistory': False,
|
87
90
|
'fetchPositionsRisk': False,
|
88
91
|
'fetchPremiumIndexOHLCV': False,
|
89
92
|
'fetchTicker': True,
|
@@ -1331,7 +1334,7 @@ class probit(Exchange, ImplicitAPI):
|
|
1331
1334
|
data = self.safe_list(response, 'data', [])
|
1332
1335
|
return self.parse_deposit_addresses(data, codes)
|
1333
1336
|
|
1334
|
-
def withdraw(self, code: str, amount: float, address, tag=None, params={}):
|
1337
|
+
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}):
|
1335
1338
|
"""
|
1336
1339
|
:see: https://docs-en.probit.com/reference/withdrawal
|
1337
1340
|
make a withdrawal
|
ccxt/timex.py
CHANGED
@@ -78,8 +78,11 @@ class timex(Exchange, ImplicitAPI):
|
|
78
78
|
'fetchOrder': True,
|
79
79
|
'fetchOrderBook': True,
|
80
80
|
'fetchPosition': False,
|
81
|
+
'fetchPositionHistory': False,
|
81
82
|
'fetchPositionMode': False,
|
82
83
|
'fetchPositions': False,
|
84
|
+
'fetchPositionsForSymbol': False,
|
85
|
+
'fetchPositionsHistory': False,
|
83
86
|
'fetchPositionsRisk': False,
|
84
87
|
'fetchPremiumIndexOHLCV': False,
|
85
88
|
'fetchTicker': True,
|
ccxt/tokocrypto.py
CHANGED
@@ -2237,7 +2237,7 @@ class tokocrypto(Exchange, ImplicitAPI):
|
|
2237
2237
|
'fee': fee,
|
2238
2238
|
}
|
2239
2239
|
|
2240
|
-
def withdraw(self, code: str, amount: float, address, tag=None, params={}):
|
2240
|
+
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}):
|
2241
2241
|
"""
|
2242
2242
|
:see: https://www.tokocrypto.com/apidocs/#withdraw-signed
|
2243
2243
|
make a withdrawal
|
ccxt/tradeogre.py
CHANGED
@@ -84,8 +84,11 @@ class tradeogre(Exchange, ImplicitAPI):
|
|
84
84
|
'fetchOrderTrades': False,
|
85
85
|
'fetchPermissions': False,
|
86
86
|
'fetchPosition': False,
|
87
|
+
'fetchPositionHistory': False,
|
88
|
+
'fetchPositionMode': False,
|
87
89
|
'fetchPositions': False,
|
88
90
|
'fetchPositionsForSymbol': False,
|
91
|
+
'fetchPositionsHistory': False,
|
89
92
|
'fetchPositionsRisk': False,
|
90
93
|
'fetchPremiumIndexOHLCV': False,
|
91
94
|
'fetchTicker': True,
|
ccxt/upbit.py
CHANGED
@@ -1717,7 +1717,7 @@ class upbit(Exchange, ImplicitAPI):
|
|
1717
1717
|
raise AddressPending(self.id + ' is generating ' + code + ' deposit address, call fetchDepositAddress or createDepositAddress one more time later to retrieve the generated address')
|
1718
1718
|
return self.parse_deposit_address(response)
|
1719
1719
|
|
1720
|
-
def withdraw(self, code: str, amount: float, address, tag=None, params={}):
|
1720
|
+
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}):
|
1721
1721
|
"""
|
1722
1722
|
:see: https://docs.upbit.com/reference/디지털자산-출금하기
|
1723
1723
|
:see: https://docs.upbit.com/reference/%EC%9B%90%ED%99%94-%EC%B6%9C%EA%B8%88%ED%95%98%EA%B8%B0
|
ccxt/wavesexchange.py
CHANGED
@@ -79,8 +79,11 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
79
79
|
'fetchOrderBook': True,
|
80
80
|
'fetchOrders': True,
|
81
81
|
'fetchPosition': False,
|
82
|
+
'fetchPositionHistory': False,
|
82
83
|
'fetchPositionMode': False,
|
83
84
|
'fetchPositions': False,
|
85
|
+
'fetchPositionsForSymbol': False,
|
86
|
+
'fetchPositionsHistory': False,
|
84
87
|
'fetchPositionsRisk': False,
|
85
88
|
'fetchPremiumIndexOHLCV': False,
|
86
89
|
'fetchTicker': True,
|
@@ -2289,7 +2292,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
2289
2292
|
raise ExchangeError(self.id + ' ' + body)
|
2290
2293
|
return None
|
2291
2294
|
|
2292
|
-
def withdraw(self, code: str, amount: float, address, tag=None, params={}):
|
2295
|
+
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}):
|
2293
2296
|
"""
|
2294
2297
|
make a withdrawal
|
2295
2298
|
:param str code: unified currency code
|
ccxt/wazirx.py
CHANGED
@@ -82,8 +82,11 @@ class wazirx(Exchange, ImplicitAPI):
|
|
82
82
|
'fetchOrderBook': True,
|
83
83
|
'fetchOrders': True,
|
84
84
|
'fetchPosition': False,
|
85
|
+
'fetchPositionHistory': False,
|
85
86
|
'fetchPositionMode': False,
|
86
87
|
'fetchPositions': False,
|
88
|
+
'fetchPositionsForSymbol': False,
|
89
|
+
'fetchPositionsHistory': False,
|
87
90
|
'fetchPositionsRisk': False,
|
88
91
|
'fetchPremiumIndexOHLCV': False,
|
89
92
|
'fetchStatus': True,
|
ccxt/whitebit.py
CHANGED
@@ -1809,7 +1809,7 @@ class whitebit(Exchange, ImplicitAPI):
|
|
1809
1809
|
'status': None,
|
1810
1810
|
}
|
1811
1811
|
|
1812
|
-
def withdraw(self, code: str, amount: float, address, tag=None, params={}):
|
1812
|
+
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}):
|
1813
1813
|
"""
|
1814
1814
|
make a withdrawal
|
1815
1815
|
:see: https://docs.whitebit.com/private/http-main-v4/#create-withdraw-request
|
ccxt/woo.py
CHANGED
@@ -97,8 +97,10 @@ class woo(Exchange, ImplicitAPI):
|
|
97
97
|
'fetchOrders': True,
|
98
98
|
'fetchOrderTrades': True,
|
99
99
|
'fetchPosition': True,
|
100
|
+
'fetchPositionHistory': False,
|
100
101
|
'fetchPositionMode': False,
|
101
102
|
'fetchPositions': True,
|
103
|
+
'fetchPositionsHistory': False,
|
102
104
|
'fetchPremiumIndexOHLCV': False,
|
103
105
|
'fetchStatus': True,
|
104
106
|
'fetchTicker': False,
|
@@ -2238,7 +2240,7 @@ class woo(Exchange, ImplicitAPI):
|
|
2238
2240
|
}
|
2239
2241
|
return self.safe_string(statuses, status, status)
|
2240
2242
|
|
2241
|
-
def withdraw(self, code: str, amount: float, address, tag=None, params={}):
|
2243
|
+
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}):
|
2242
2244
|
"""
|
2243
2245
|
make a withdrawal
|
2244
2246
|
:param str code: unified currency code
|
@@ -2962,7 +2964,7 @@ class woo(Exchange, ImplicitAPI):
|
|
2962
2964
|
#
|
2963
2965
|
data = self.safe_dict(response, 'data', {})
|
2964
2966
|
rows = self.safe_list(data, 'tradeVos', [])
|
2965
|
-
return self.parse_conversions(rows, 'sellAsset', 'buyAsset', since, limit)
|
2967
|
+
return self.parse_conversions(rows, code, 'sellAsset', 'buyAsset', since, limit)
|
2966
2968
|
|
2967
2969
|
def parse_conversion(self, conversion, fromCurrency: Currency = None, toCurrency: Currency = None) -> Conversion:
|
2968
2970
|
#
|
ccxt/yobit.py
CHANGED
@@ -76,8 +76,11 @@ class yobit(Exchange, ImplicitAPI):
|
|
76
76
|
'fetchOrderBook': True,
|
77
77
|
'fetchOrderBooks': True,
|
78
78
|
'fetchPosition': False,
|
79
|
+
'fetchPositionHistory': False,
|
79
80
|
'fetchPositionMode': False,
|
80
81
|
'fetchPositions': False,
|
82
|
+
'fetchPositionsForSymbol': False,
|
83
|
+
'fetchPositionsHistory': False,
|
81
84
|
'fetchPositionsRisk': False,
|
82
85
|
'fetchPremiumIndexOHLCV': False,
|
83
86
|
'fetchTicker': True,
|
@@ -1150,7 +1153,7 @@ class yobit(Exchange, ImplicitAPI):
|
|
1150
1153
|
},
|
1151
1154
|
}
|
1152
1155
|
|
1153
|
-
def withdraw(self, code: str, amount: float, address, tag=None, params={}):
|
1156
|
+
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}):
|
1154
1157
|
"""
|
1155
1158
|
:see: https://yobit.net/en/api
|
1156
1159
|
make a withdrawal
|
ccxt/zaif.py
CHANGED
@@ -557,7 +557,7 @@ class zaif(Exchange, ImplicitAPI):
|
|
557
557
|
response = self.privatePostTradeHistory(self.extend(request, params))
|
558
558
|
return self.parse_orders(response['return'], market, since, limit)
|
559
559
|
|
560
|
-
def withdraw(self, code: str, amount: float, address, tag=None, params={}):
|
560
|
+
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}):
|
561
561
|
"""
|
562
562
|
:see: https://zaif-api-document.readthedocs.io/ja/latest/TradingAPI.html#id41
|
563
563
|
make a withdrawal
|
ccxt/zonda.py
CHANGED
@@ -1649,7 +1649,7 @@ class zonda(Exchange, ImplicitAPI):
|
|
1649
1649
|
}
|
1650
1650
|
return self.safe_string(statuses, status, status)
|
1651
1651
|
|
1652
|
-
def withdraw(self, code: str, amount: float, address, tag=None, params={}):
|
1652
|
+
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}):
|
1653
1653
|
"""
|
1654
1654
|
:see: https://docs.zondacrypto.exchange/reference/crypto-withdrawal-1
|
1655
1655
|
make a withdrawal
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: ccxt
|
3
|
-
Version: 4.3.
|
3
|
+
Version: 4.3.8
|
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
|
@@ -262,13 +262,13 @@ console.log(version, Object.keys(exchanges));
|
|
262
262
|
|
263
263
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
264
264
|
|
265
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.3.
|
266
|
-
* unpkg: https://unpkg.com/ccxt@4.3.
|
265
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.3.8/dist/ccxt.browser.js
|
266
|
+
* unpkg: https://unpkg.com/ccxt@4.3.8/dist/ccxt.browser.js
|
267
267
|
|
268
268
|
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.
|
269
269
|
|
270
270
|
```HTML
|
271
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.3.
|
271
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.3.8/dist/ccxt.browser.js"></script>
|
272
272
|
```
|
273
273
|
|
274
274
|
Creates a global `ccxt` object:
|