ccxt 4.3.81__py2.py3-none-any.whl → 4.3.82__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.
- ccxt/__init__.py +1 -1
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/base/exchange.py +1 -1
- ccxt/async_support/bybit.py +3 -0
- ccxt/async_support/wavesexchange.py +4 -3
- ccxt/base/exchange.py +1 -1
- ccxt/bybit.py +3 -0
- ccxt/pro/__init__.py +1 -1
- ccxt/wavesexchange.py +4 -3
- {ccxt-4.3.81.dist-info → ccxt-4.3.82.dist-info}/METADATA +4 -4
- {ccxt-4.3.81.dist-info → ccxt-4.3.82.dist-info}/RECORD +14 -14
- {ccxt-4.3.81.dist-info → ccxt-4.3.82.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.3.81.dist-info → ccxt-4.3.82.dist-info}/WHEEL +0 -0
- {ccxt-4.3.81.dist-info → ccxt-4.3.82.dist-info}/top_level.txt +0 -0
ccxt/__init__.py
CHANGED
ccxt/async_support/__init__.py
CHANGED
ccxt/async_support/bybit.py
CHANGED
@@ -5761,6 +5761,8 @@ class bybit(Exchange, ImplicitAPI):
|
|
5761
5761
|
:returns dict: a `transaction structure <https://docs.ccxt.com/#/?id=transaction-structure>`
|
5762
5762
|
"""
|
5763
5763
|
tag, params = self.handle_withdraw_tag_and_params(tag, params)
|
5764
|
+
accountType = None
|
5765
|
+
accountType, params = self.handle_option_and_params(params, 'withdraw', 'accountType', 'SPOT')
|
5764
5766
|
await self.load_markets()
|
5765
5767
|
self.check_address(address)
|
5766
5768
|
currency = self.currency(code)
|
@@ -5769,6 +5771,7 @@ class bybit(Exchange, ImplicitAPI):
|
|
5769
5771
|
'amount': self.number_to_string(amount),
|
5770
5772
|
'address': address,
|
5771
5773
|
'timestamp': self.milliseconds(),
|
5774
|
+
'accountType': accountType,
|
5772
5775
|
}
|
5773
5776
|
if tag is not None:
|
5774
5777
|
request['tag'] = tag
|
@@ -1239,7 +1239,8 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
1239
1239
|
if (isMarketOrder) and (price is None):
|
1240
1240
|
raise InvalidOrder(self.id + ' createOrder() requires a price argument for ' + type + ' orders to determine the max price for buy and the min price for sell')
|
1241
1241
|
timestamp = self.milliseconds()
|
1242
|
-
defaultExpiryDelta =
|
1242
|
+
defaultExpiryDelta = None
|
1243
|
+
defaultExpiryDelta, params = self.handle_option_and_params(params, 'createOrder', 'defaultExpiry', self.safe_integer(self.options, 'createOrderDefaultExpiry', 2419200000))
|
1243
1244
|
expiration = self.sum(timestamp, defaultExpiryDelta)
|
1244
1245
|
matcherFees = await self.get_fees_for_asset(symbol, side, amount, price)
|
1245
1246
|
# {
|
@@ -1374,11 +1375,11 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
1374
1375
|
# }
|
1375
1376
|
#
|
1376
1377
|
if isMarketOrder:
|
1377
|
-
response = await self.matcherPostMatcherOrderbookMarket(body)
|
1378
|
+
response = await self.matcherPostMatcherOrderbookMarket(self.extend(body, params))
|
1378
1379
|
value = self.safe_dict(response, 'message')
|
1379
1380
|
return self.parse_order(value, market)
|
1380
1381
|
else:
|
1381
|
-
response = await self.matcherPostMatcherOrderbook(body)
|
1382
|
+
response = await self.matcherPostMatcherOrderbook(self.extend(body, params))
|
1382
1383
|
value = self.safe_dict(response, 'message')
|
1383
1384
|
return self.parse_order(value, market)
|
1384
1385
|
|
ccxt/base/exchange.py
CHANGED
ccxt/bybit.py
CHANGED
@@ -5760,6 +5760,8 @@ class bybit(Exchange, ImplicitAPI):
|
|
5760
5760
|
:returns dict: a `transaction structure <https://docs.ccxt.com/#/?id=transaction-structure>`
|
5761
5761
|
"""
|
5762
5762
|
tag, params = self.handle_withdraw_tag_and_params(tag, params)
|
5763
|
+
accountType = None
|
5764
|
+
accountType, params = self.handle_option_and_params(params, 'withdraw', 'accountType', 'SPOT')
|
5763
5765
|
self.load_markets()
|
5764
5766
|
self.check_address(address)
|
5765
5767
|
currency = self.currency(code)
|
@@ -5768,6 +5770,7 @@ class bybit(Exchange, ImplicitAPI):
|
|
5768
5770
|
'amount': self.number_to_string(amount),
|
5769
5771
|
'address': address,
|
5770
5772
|
'timestamp': self.milliseconds(),
|
5773
|
+
'accountType': accountType,
|
5771
5774
|
}
|
5772
5775
|
if tag is not None:
|
5773
5776
|
request['tag'] = tag
|
ccxt/pro/__init__.py
CHANGED
ccxt/wavesexchange.py
CHANGED
@@ -1238,7 +1238,8 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
1238
1238
|
if (isMarketOrder) and (price is None):
|
1239
1239
|
raise InvalidOrder(self.id + ' createOrder() requires a price argument for ' + type + ' orders to determine the max price for buy and the min price for sell')
|
1240
1240
|
timestamp = self.milliseconds()
|
1241
|
-
defaultExpiryDelta =
|
1241
|
+
defaultExpiryDelta = None
|
1242
|
+
defaultExpiryDelta, params = self.handle_option_and_params(params, 'createOrder', 'defaultExpiry', self.safe_integer(self.options, 'createOrderDefaultExpiry', 2419200000))
|
1242
1243
|
expiration = self.sum(timestamp, defaultExpiryDelta)
|
1243
1244
|
matcherFees = self.get_fees_for_asset(symbol, side, amount, price)
|
1244
1245
|
# {
|
@@ -1373,11 +1374,11 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
1373
1374
|
# }
|
1374
1375
|
#
|
1375
1376
|
if isMarketOrder:
|
1376
|
-
response = self.matcherPostMatcherOrderbookMarket(body)
|
1377
|
+
response = self.matcherPostMatcherOrderbookMarket(self.extend(body, params))
|
1377
1378
|
value = self.safe_dict(response, 'message')
|
1378
1379
|
return self.parse_order(value, market)
|
1379
1380
|
else:
|
1380
|
-
response = self.matcherPostMatcherOrderbook(body)
|
1381
|
+
response = self.matcherPostMatcherOrderbook(self.extend(body, params))
|
1381
1382
|
value = self.safe_dict(response, 'message')
|
1382
1383
|
return self.parse_order(value, market)
|
1383
1384
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: ccxt
|
3
|
-
Version: 4.3.
|
3
|
+
Version: 4.3.82
|
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
|
@@ -270,13 +270,13 @@ console.log(version, Object.keys(exchanges));
|
|
270
270
|
|
271
271
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
272
272
|
|
273
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.3.
|
274
|
-
* unpkg: https://unpkg.com/ccxt@4.3.
|
273
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.3.82/dist/ccxt.browser.min.js
|
274
|
+
* unpkg: https://unpkg.com/ccxt@4.3.82/dist/ccxt.browser.min.js
|
275
275
|
|
276
276
|
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.
|
277
277
|
|
278
278
|
```HTML
|
279
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.3.
|
279
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.3.82/dist/ccxt.browser.min.js"></script>
|
280
280
|
```
|
281
281
|
|
282
282
|
Creates a global `ccxt` object:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
ccxt/__init__.py,sha256=
|
1
|
+
ccxt/__init__.py,sha256=Yrk5PWqhPkUaLUBLIM2PZCt2XYEru5fPHDA1rTe5HbQ,16417
|
2
2
|
ccxt/ace.py,sha256=Gee4ymA83iAuBFm3J8NaTb7qmu9buV2trA676KCtSVg,42383
|
3
3
|
ccxt/alpaca.py,sha256=HQuhQZSFGRlT-BaCUSEZmxpzYp6tll2zn63qn3gTmoU,47470
|
4
4
|
ccxt/ascendex.py,sha256=4aEwibO_me6khr66z8JFqDBxe2gtFOWIFBE7ulBEJPs,151933
|
@@ -35,7 +35,7 @@ ccxt/btcalpha.py,sha256=UcCCDZ_7EM-Q2tHU1IQPEA2DErFsLhrSfX-Oy-Q2uL4,36715
|
|
35
35
|
ccxt/btcbox.py,sha256=9-P15L-OiZRzz0ZOtgO3bf73kuHro9u3NYf3QjeYv4k,27744
|
36
36
|
ccxt/btcmarkets.py,sha256=0gMC0vvmuDJwcnllHMUZsQRV6QWA1-Cbq1N1F9rIUW8,52697
|
37
37
|
ccxt/btcturk.py,sha256=bQ8sJq5iEj9oq2R17uDadPWKcnIQG8id5UmdlpHfFy8,36992
|
38
|
-
ccxt/bybit.py,sha256=
|
38
|
+
ccxt/bybit.py,sha256=8RVgRPc2A4-fs2_EdLYHMB9_Lx-2e4EC4H3B84tKrUQ,418859
|
39
39
|
ccxt/cex.py,sha256=YQtARIBP7cY3y-AqRarEH_mVh7_ftt18jLebhpL3hxQ,70084
|
40
40
|
ccxt/coinbase.py,sha256=3L5CDWhg4MQlDkdZnuJxxOjmsWEh-gnqcV4R6nCq7rg,217483
|
41
41
|
ccxt/coinbaseadvanced.py,sha256=d5g6nRx-NCcCwZDdtp8FsI2D-pRjSvnAP9ISSKY_nCQ,538
|
@@ -99,7 +99,7 @@ ccxt/tokocrypto.py,sha256=aV-98hzr75iQO3GEmiUyTNufDqHfoze04Z2Fk195B3Q,123192
|
|
99
99
|
ccxt/tradeogre.py,sha256=DCxTLjtGW7ADRA-jekCkGAn81-GIgdOAxbJFcBLYOFU,24211
|
100
100
|
ccxt/upbit.py,sha256=W_W8aETJyopwhYfZd2tWvhPvi7BjQ4KSIOdn8nzyWv8,85413
|
101
101
|
ccxt/vertex.py,sha256=YoKnzxhem56C19SckA6yHUPH1bk86PfZ4Z-T01TFygg,121761
|
102
|
-
ccxt/wavesexchange.py,sha256=
|
102
|
+
ccxt/wavesexchange.py,sha256=vmzv9h1QjthvpKUGajQn_tdCJ5tWmzEA6r7ow_y6ASY,114980
|
103
103
|
ccxt/wazirx.py,sha256=LVHNdononi8FrZpT0pYiJoS-NrNi7_uIZ6Qbu8dJRPc,52405
|
104
104
|
ccxt/whitebit.py,sha256=fkM0Clt74bSiOJ_L-CehR2Gkn3v3kZksCQT0JCCG5rs,119340
|
105
105
|
ccxt/woo.py,sha256=VSW2iQ6t9SCB5GYlRClLfUD468HNW2SOhM6uEo3A_e4,153142
|
@@ -218,7 +218,7 @@ ccxt/abstract/xt.py,sha256=JkWvsic3L2O968BCr9H5Wd5NIbRE9aTT2A-9WbAtl0c,27146
|
|
218
218
|
ccxt/abstract/yobit.py,sha256=8ycfCO8ORFly9hc0Aa47sZyX4_ZKPXS9h9yJzI-uQ7Q,1339
|
219
219
|
ccxt/abstract/zaif.py,sha256=m15WHdl3gYy0GOXNZ8NEH8eE7sVh8c0T_ITNuU8vXeU,3935
|
220
220
|
ccxt/abstract/zonda.py,sha256=X-hCW0SdX3YKZWixDyW-O2211M58Rno8kKJ6quY7rw4,7183
|
221
|
-
ccxt/async_support/__init__.py,sha256=
|
221
|
+
ccxt/async_support/__init__.py,sha256=ShVKd-IbmeJKBKH0V68UpB8cupTo9CTrp2de1CPDFxo,16230
|
222
222
|
ccxt/async_support/ace.py,sha256=zBmLUKH691a2BH1sPzlJPg-uO7lD6Ys92Rv8WSzNtoo,42607
|
223
223
|
ccxt/async_support/alpaca.py,sha256=495vDvdF1IWlsh9QhUnMtkMuINdD0EzeFGlUVqCf8TE,47682
|
224
224
|
ccxt/async_support/ascendex.py,sha256=LK259BdUqU0_STGRH6DmTgaR-7lXqFpZHFVACf2um5c,152721
|
@@ -255,7 +255,7 @@ ccxt/async_support/btcalpha.py,sha256=DgzrJ6cczUCDZr-QLUxMpazeudEFdQ_OzXiQiJM4Hb
|
|
255
255
|
ccxt/async_support/btcbox.py,sha256=FGIj8il6VZL56_dDYsAMwp4DpdKNt_vbMXV6VZ2boCI,27968
|
256
256
|
ccxt/async_support/btcmarkets.py,sha256=x1-s5uVioHyvNJoBxhxP8eUUslTDwQnZMU0FWfu1Fd4,53047
|
257
257
|
ccxt/async_support/btcturk.py,sha256=P3bg0XG0sAi-8ge9ZFzQqZHsoGOGfxBjkhIDo4VPSK4,37210
|
258
|
-
ccxt/async_support/bybit.py,sha256=
|
258
|
+
ccxt/async_support/bybit.py,sha256=PcNgqEEBqggWY4xHLUX2TZHhY7-U96Ne1Ps5CDGfoIw,420735
|
259
259
|
ccxt/async_support/cex.py,sha256=5KZ9qt4WsUAkH2rkHn7zW7SwlB9FumruLELdKF4LFoE,70434
|
260
260
|
ccxt/async_support/coinbase.py,sha256=Ch_hFo2zj0qp4kuDUnebGD16pUeKs6h3HJxs5Fdpkco,218637
|
261
261
|
ccxt/async_support/coinbaseadvanced.py,sha256=Kupwnuxiu_qTjwCNV2asacoDUNFQvcaHNAznUJPhdQs,552
|
@@ -319,7 +319,7 @@ ccxt/async_support/tokocrypto.py,sha256=nzJhrGTCTWMbbjI4P_IKfO1O84td8pSssCgZhTqQ
|
|
319
319
|
ccxt/async_support/tradeogre.py,sha256=A4DEbbRL_g_5WAp7WOB96s08-zgXfGQ9lYZnDX5H1eI,24405
|
320
320
|
ccxt/async_support/upbit.py,sha256=GmhV24xdjd5NSCronYkqLCM8rr_hNdpt4NEDA5jEkLw,85895
|
321
321
|
ccxt/async_support/vertex.py,sha256=_KDPAVq5Bew-w77wiGQpivZCGRs6yGKoW9HGh8PhOLc,122261
|
322
|
-
ccxt/async_support/wavesexchange.py,sha256=
|
322
|
+
ccxt/async_support/wavesexchange.py,sha256=wHxvsBQydDEYRgeAZKI9WO4TLBKmmSPTLm0eT0pKB5g,115530
|
323
323
|
ccxt/async_support/wazirx.py,sha256=bnUpw9be3o4l2Hxm3jcfNXn5bMyZlgqoG8BGPusuIzs,52707
|
324
324
|
ccxt/async_support/whitebit.py,sha256=haF5nFYGuJzkplHBIyLLDJ6N3ThIDPpgjeI3S-TYs98,119990
|
325
325
|
ccxt/async_support/woo.py,sha256=uaNh3timNm6_DNhiOn5l4Za4wagj4AhlxkDh4Fbhxfk,154110
|
@@ -329,7 +329,7 @@ ccxt/async_support/yobit.py,sha256=GQhvYrsGHQrVdTrNHQxx9isEGqUABexlllzao9HL3f8,5
|
|
329
329
|
ccxt/async_support/zaif.py,sha256=-ZTr8M2JaIRCL90VrbCDXBMAsZwbiwsFChSQ2rWODuQ,29044
|
330
330
|
ccxt/async_support/zonda.py,sha256=jncr6Wg12S72CTpu6mCKCse1pm1f8oefVQurQSrFvP0,81733
|
331
331
|
ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
|
332
|
-
ccxt/async_support/base/exchange.py,sha256=
|
332
|
+
ccxt/async_support/base/exchange.py,sha256=QKnrZhy6RCzRR3C-r6A1JLaJKx6jc9_7Sgmrp31pqNg,110799
|
333
333
|
ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
|
334
334
|
ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
|
335
335
|
ccxt/async_support/base/ws/aiohttp_client.py,sha256=5IEiT0elWI9a7Vr-KV0jgmlbpLJWBzIlrLaCkTKGaqY,5752
|
@@ -343,10 +343,10 @@ ccxt/async_support/base/ws/order_book_side.py,sha256=GhnGUt78pJ-AYL_Dq9produGjmB
|
|
343
343
|
ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
|
344
344
|
ccxt/base/decimal_to_precision.py,sha256=fgWRBzRTtsf3r2INyS4f7WHlzgjB5YM1ekiwqD21aac,6634
|
345
345
|
ccxt/base/errors.py,sha256=tosnf1tDaBn4YMCbWVNWyDYzqft-ImVtyjqJb6q83Y4,4369
|
346
|
-
ccxt/base/exchange.py,sha256=
|
346
|
+
ccxt/base/exchange.py,sha256=aTruoZiEhm40hCTqbxvYDiQqwrfFs3vrtpUtwA-QKuA,295904
|
347
347
|
ccxt/base/precise.py,sha256=koce64Yrp6vFbGijJtUt-QQ6XhJgeGTCksZ871FPp_A,8886
|
348
348
|
ccxt/base/types.py,sha256=TaP_RElKjGEZWuzyp4o4u2YhREyTG3rUeVT6gDffY9A,9613
|
349
|
-
ccxt/pro/__init__.py,sha256=
|
349
|
+
ccxt/pro/__init__.py,sha256=7b_tKNpb9iGmSG-ObTled4qVXYnCsO3Dq4x21OkUHCo,7608
|
350
350
|
ccxt/pro/alpaca.py,sha256=xh1yg1Ok-Zh_Mfx-MBjNrfJDs6MUU0exFfEj3GuQPC4,27631
|
351
351
|
ccxt/pro/ascendex.py,sha256=181FIeztchLqGmgecRJEN8F8xEM45D5aMKhC-5nuNfU,35467
|
352
352
|
ccxt/pro/bequant.py,sha256=33OEUWBi4D9-2w8CmkwN3aF1qS-AlLqX3pxrWwNbXPY,1552
|
@@ -648,8 +648,8 @@ ccxt/test/tests_async.py,sha256=NShOLO2-HzYsh07U7aiUGssiv-AZ_p88h-NuQub9OKU,8468
|
|
648
648
|
ccxt/test/tests_helpers.py,sha256=xhOILoZ_x3RSfQjtKt6AQlkp9DkOtpTQe8GAUUZoM6s,10069
|
649
649
|
ccxt/test/tests_init.py,sha256=eVwwUHujX9t4rjgo4TqEeg7DDhR1Hb_e2SJN8NVGyl0,998
|
650
650
|
ccxt/test/tests_sync.py,sha256=6Arr2TcJpNg9eEpH_JQeBbLzaMPlb94J1P11HGlbpPg,83761
|
651
|
-
ccxt-4.3.
|
652
|
-
ccxt-4.3.
|
653
|
-
ccxt-4.3.
|
654
|
-
ccxt-4.3.
|
655
|
-
ccxt-4.3.
|
651
|
+
ccxt-4.3.82.dist-info/LICENSE.txt,sha256=EIb9221AhMHV7xF1_55STFdKTFsnJVJYkRpY2Lnvo5w,1068
|
652
|
+
ccxt-4.3.82.dist-info/METADATA,sha256=x9Jn56o7pcvpgLkau0eijaJ4wHQ0xNvdbibC55_ot_g,116642
|
653
|
+
ccxt-4.3.82.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
654
|
+
ccxt-4.3.82.dist-info/top_level.txt,sha256=CkQDuCTDKNcImPV60t36G6MdYfxsAPNiSaEwifVoVMo,5
|
655
|
+
ccxt-4.3.82.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|