ccxt 3.0.57__py2.py3-none-any.whl → 3.0.59__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/krakenfutures.py +4 -1
- ccxt/async_support/okx.py +2 -2
- ccxt/base/exchange.py +1 -1
- ccxt/krakenfutures.py +4 -1
- ccxt/okx.py +2 -2
- ccxt/pro/__init__.py +1 -1
- {ccxt-3.0.57.dist-info → ccxt-3.0.59.dist-info}/METADATA +4 -4
- {ccxt-3.0.57.dist-info → ccxt-3.0.59.dist-info}/RECORD +13 -13
- {ccxt-3.0.57.dist-info → ccxt-3.0.59.dist-info}/WHEEL +0 -0
- {ccxt-3.0.57.dist-info → ccxt-3.0.59.dist-info}/top_level.txt +0 -0
ccxt/__init__.py
CHANGED
ccxt/async_support/__init__.py
CHANGED
@@ -1878,7 +1878,10 @@ class krakenfutures(Exchange):
|
|
1878
1878
|
query += '?' + postData
|
1879
1879
|
url = self.urls['api'][api] + query
|
1880
1880
|
if api == 'private' or access == 'private':
|
1881
|
-
auth = postData + '/api/'
|
1881
|
+
auth = postData + '/api/'
|
1882
|
+
if api != 'private':
|
1883
|
+
auth += api + '/'
|
1884
|
+
auth += endpoint # 1
|
1882
1885
|
hash = self.hash(self.encode(auth), 'sha256', 'binary') # 2
|
1883
1886
|
secret = self.base64_to_binary(self.secret) # 3
|
1884
1887
|
signature = self.hmac(hash, secret, hashlib.sha512, 'base64') # 4-5
|
ccxt/async_support/okx.py
CHANGED
@@ -3669,8 +3669,8 @@ class okx(Exchange):
|
|
3669
3669
|
'amt': self.number_to_string(amount),
|
3670
3670
|
}
|
3671
3671
|
networks = self.safe_value(self.options, 'networks', {})
|
3672
|
-
network = self.
|
3673
|
-
network = self.safe_string(networks, network, network) # handle ETH>ERC20 alias
|
3672
|
+
network = self.safe_string(params, 'network') # self line allows the user to specify either ERC20 or ETH
|
3673
|
+
network = self.safe_string(networks, network.upper(), network) # handle ETH>ERC20 alias
|
3674
3674
|
if network is not None:
|
3675
3675
|
request['chain'] = currency['id'] + '-' + network
|
3676
3676
|
params = self.omit(params, 'network')
|
ccxt/base/exchange.py
CHANGED
ccxt/krakenfutures.py
CHANGED
@@ -1878,7 +1878,10 @@ class krakenfutures(Exchange):
|
|
1878
1878
|
query += '?' + postData
|
1879
1879
|
url = self.urls['api'][api] + query
|
1880
1880
|
if api == 'private' or access == 'private':
|
1881
|
-
auth = postData + '/api/'
|
1881
|
+
auth = postData + '/api/'
|
1882
|
+
if api != 'private':
|
1883
|
+
auth += api + '/'
|
1884
|
+
auth += endpoint # 1
|
1882
1885
|
hash = self.hash(self.encode(auth), 'sha256', 'binary') # 2
|
1883
1886
|
secret = self.base64_to_binary(self.secret) # 3
|
1884
1887
|
signature = self.hmac(hash, secret, hashlib.sha512, 'base64') # 4-5
|
ccxt/okx.py
CHANGED
@@ -3668,8 +3668,8 @@ class okx(Exchange):
|
|
3668
3668
|
'amt': self.number_to_string(amount),
|
3669
3669
|
}
|
3670
3670
|
networks = self.safe_value(self.options, 'networks', {})
|
3671
|
-
network = self.
|
3672
|
-
network = self.safe_string(networks, network, network) # handle ETH>ERC20 alias
|
3671
|
+
network = self.safe_string(params, 'network') # self line allows the user to specify either ERC20 or ETH
|
3672
|
+
network = self.safe_string(networks, network.upper(), network) # handle ETH>ERC20 alias
|
3673
3673
|
if network is not None:
|
3674
3674
|
request['chain'] = currency['id'] + '-' + network
|
3675
3675
|
params = self.omit(params, 'network')
|
ccxt/pro/__init__.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: ccxt
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.59
|
4
4
|
Summary: A JavaScript / Python / PHP cryptocurrency trading library with support for 130+ exchanges
|
5
5
|
Home-page: https://ccxt.com
|
6
6
|
Author: Igor Kroitor
|
@@ -263,13 +263,13 @@ console.log(version, Object.keys(exchanges));
|
|
263
263
|
|
264
264
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
265
265
|
|
266
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@3.0.
|
267
|
-
* unpkg: https://unpkg.com/ccxt@3.0.
|
266
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@3.0.59/dist/ccxt.browser.js
|
267
|
+
* unpkg: https://unpkg.com/ccxt@3.0.59/dist/ccxt.browser.js
|
268
268
|
|
269
269
|
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.
|
270
270
|
|
271
271
|
```HTML
|
272
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@3.0.
|
272
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@3.0.59/dist/ccxt.browser.js"></script>
|
273
273
|
```
|
274
274
|
|
275
275
|
Creates a global `ccxt` object:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
ccxt/__init__.py,sha256=
|
1
|
+
ccxt/__init__.py,sha256=rOeOc-W_tmuZqtqZSx_qlykrlQIEQzyr0MO9RfyLrLU,16011
|
2
2
|
ccxt/ace.py,sha256=MC4nC1JBszXEbg6vzXYgCyitxaFHIxjM42sz2NNyYCo,41249
|
3
3
|
ccxt/alpaca.py,sha256=04uhuqgdwluNw9fed-G4b5w1aNK0IjOf73aTJ2S_pK8,33078
|
4
4
|
ccxt/ascendex.py,sha256=YN7VHAq_boQIsxi9RVajvVG9ol7uHFtm55pncD2BOzs,126477
|
@@ -73,7 +73,7 @@ ccxt/independentreserve.py,sha256=ahjFsF5ER9N7pLoXdtLibEi6A0A4NQATebkridOfmuM,29
|
|
73
73
|
ccxt/indodax.py,sha256=AWUSdMslIxG6g-mbQgFG1oetewUTBEtsvATqXIVYynA,42358
|
74
74
|
ccxt/itbit.py,sha256=VWjLwymZwV0V8aS90pZS7BofB_41X3DY3odD5zDRemE,34931
|
75
75
|
ccxt/kraken.py,sha256=bteXPULrx9m8wE_ipmlQhwxOUj8l-da5XevxLkeqR0E,101289
|
76
|
-
ccxt/krakenfutures.py,sha256=
|
76
|
+
ccxt/krakenfutures.py,sha256=hweVZyX22mPdpBWohK_7XUTywQ0aetliooCb0UJW1Vs,81531
|
77
77
|
ccxt/kucoin.py,sha256=KhZsBPtRWL4XzU2ZY-rec-9xGqYceiZbfPsPiBwtMuI,157294
|
78
78
|
ccxt/kucoinfutures.py,sha256=FK-4iP22TTlPT8dcsSpwLgkN-m-tPOf5Uu8nGMqSZgg,93344
|
79
79
|
ccxt/kuna.py,sha256=v5_J2-u3wNEm3rCJAwrB60vHmh4qsq89fChBRh2lAOQ,37651
|
@@ -91,7 +91,7 @@ ccxt/oceanex.py,sha256=JKJJWfYtECAR5aHIElxR_KT9zgkwiANarA-CvE_bgAU,36971
|
|
91
91
|
ccxt/okcoin.py,sha256=cwjaxlg4OiPyQVFxi2Q2vmDXb6zBGb7a0r3ap6wqtUM,177711
|
92
92
|
ccxt/okex.py,sha256=yVJP17cwsKQy1wuLljWL9dTiPQIP6UdMj7AnMSV2PL8,378
|
93
93
|
ccxt/okex5.py,sha256=O7oiOpzvw_K7bO3evsceKI-zItrXr5StA07DGMt2Hoo,384
|
94
|
-
ccxt/okx.py,sha256=
|
94
|
+
ccxt/okx.py,sha256=BSYnu2gbfRA6OEu7nJy_PDxqTkc4NGj_9ZG5-WW8hqE,264226
|
95
95
|
ccxt/paymium.py,sha256=N278KSpwgkQjlnttiXeTivuR4DLuP68J0kE9-rtt-m0,22661
|
96
96
|
ccxt/phemex.py,sha256=hYPR2SO0F4litr1ktHKgQUsyfR3U8crlzJ1LMC-VmJQ,184904
|
97
97
|
ccxt/poloniex.py,sha256=doAT-RFvqqwIo8T8Up6hkeYhrHAnSrloTCkeVO9-bUs,87900
|
@@ -111,7 +111,7 @@ ccxt/yobit.py,sha256=mLsSQTvHOkcAnm93lAgFso1K4bLFOzNcfWLkNSiZUEk,50684
|
|
111
111
|
ccxt/zaif.py,sha256=Zx5sryXE-kgje-2_n9egSzrO6wLX1vRmjfnwH9hB7Do,27848
|
112
112
|
ccxt/zb.py,sha256=EYRTiXs5g1GOhkz5ln_2ONJPTWZoxZTLazGtxXcdyQs,183684
|
113
113
|
ccxt/zonda.py,sha256=UWGFRJGVtgMYNEb9KLvBUQlTmTy3qxqzXB4Vo2bTtCU,72936
|
114
|
-
ccxt/async_support/__init__.py,sha256=
|
114
|
+
ccxt/async_support/__init__.py,sha256=wDWGCJb0dX0Be5kgLlKuVLLGDXVRW428-zn1KoswiVg,15854
|
115
115
|
ccxt/async_support/ace.py,sha256=9lOAGnhW5i49M2t2UVOZdKvMVz0eScpgOe6GYIX4NMw,41479
|
116
116
|
ccxt/async_support/alpaca.py,sha256=_gaYqj0HuGg7xEocYdpFlhgUj6lvZkNLRpcosAintpA,33224
|
117
117
|
ccxt/async_support/ascendex.py,sha256=zQC4MCKQXq7mOON4s5pNMecP59dAJ-e9pvMARTiRWvQ,127091
|
@@ -186,7 +186,7 @@ ccxt/async_support/independentreserve.py,sha256=V0PKqATSIt8-DOM2TUuh0G-gq0OFIk8r
|
|
186
186
|
ccxt/async_support/indodax.py,sha256=40VPcwNrK-YffpqrJXNa21ZQnvj079MK3NJ1QOsjOb0,42630
|
187
187
|
ccxt/async_support/itbit.py,sha256=-caGgsBnocgwbbQ_otbTPiuoKFVZvRyw69FM7v0CRJA,35179
|
188
188
|
ccxt/async_support/kraken.py,sha256=7fVzrgDu2ClB17IP80oK7SE46_g4KnptyzLxq12b5Ys,101831
|
189
|
-
ccxt/async_support/krakenfutures.py,sha256=
|
189
|
+
ccxt/async_support/krakenfutures.py,sha256=yTA2GRKkh6hT0K5Nriwl9T9eduRj8hRala4LkxNEaos,81833
|
190
190
|
ccxt/async_support/kucoin.py,sha256=FEy0BC0fXQPooFdL5_Z5y_4EXjXSHmZbQ5BLJxY_13M,157908
|
191
191
|
ccxt/async_support/kucoinfutures.py,sha256=R-HYWuaONTx8RHin0ex9c-0Pyt50UTPkxdzlqsIL2AA,93808
|
192
192
|
ccxt/async_support/kuna.py,sha256=I6OIfJCEH02Q9l022wDlt67eTgKRQpWHmxHY5Ncf-GQ,37899
|
@@ -204,7 +204,7 @@ ccxt/async_support/oceanex.py,sha256=1RSdmDHOEYPlxdkqgJkYsM6f1FcB5gxWYXyrSw29PbI
|
|
204
204
|
ccxt/async_support/okcoin.py,sha256=ErD41qRNZQd-kQmkcN0LtBs2eWXQpKE9LSkeMQHZ7hY,178175
|
205
205
|
ccxt/async_support/okex.py,sha256=6pyaxRyqPd4-BF_7xAGE965VD233eihKZBq6l3KgZtM,392
|
206
206
|
ccxt/async_support/okex5.py,sha256=A3NMLSKaCaMcZptkv3WsLju3xSLAnTAo8-NMueRfH5E,398
|
207
|
-
ccxt/async_support/okx.py,sha256=
|
207
|
+
ccxt/async_support/okx.py,sha256=1O7SqfVUcNL4iUXHRq6OL_eTCsVoMipaEDit6bQNIpI,265244
|
208
208
|
ccxt/async_support/paymium.py,sha256=mdmyIwIDoY_7YF04o7D82bAK1-kJP9Vk6W7bcA9C25M,22849
|
209
209
|
ccxt/async_support/phemex.py,sha256=Q9FJ0piEAaS70cCxnUyXU7jAnoF3G6fZNM6x-o2F_WI,185440
|
210
210
|
ccxt/async_support/poloniex.py,sha256=5H9LtygZKMc6EKfXSJnm904WnvZFKB_Ik43fKdHCw80,88400
|
@@ -225,7 +225,7 @@ ccxt/async_support/zaif.py,sha256=XDLXuJnr-ZKn2DoWZKmbDfIkKjbdwiE2QfRwfWFGpDQ,28
|
|
225
225
|
ccxt/async_support/zb.py,sha256=HMjetag35H9qCTBnQjreZ1TVayl9x92E1T2yt3aN9Fw,184360
|
226
226
|
ccxt/async_support/zonda.py,sha256=rlZDuGTrPLR4AdFwEtvieYS9d_0fHZh2nxL7yxh4iTE,73226
|
227
227
|
ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
|
228
|
-
ccxt/async_support/base/exchange.py,sha256=
|
228
|
+
ccxt/async_support/base/exchange.py,sha256=33qkXjrFZREU3OX0kti1ZoUjEPRvWO7X7sp2pSoHWkA,126387
|
229
229
|
ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
|
230
230
|
ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
|
231
231
|
ccxt/async_support/base/ws/aiohttp_client.py,sha256=VSko8JOYQt2oWmm9NCatEbgZ4deJz45JJuysWimfLZg,4987
|
@@ -239,10 +239,10 @@ ccxt/async_support/base/ws/order_book_side.py,sha256=GH-475Ni0mLOx7mUDnz4jjzaGkh
|
|
239
239
|
ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
|
240
240
|
ccxt/base/decimal_to_precision.py,sha256=fgWRBzRTtsf3r2INyS4f7WHlzgjB5YM1ekiwqD21aac,6634
|
241
241
|
ccxt/base/errors.py,sha256=-LVeTNyXvu3QEgb-p-KzMpcBgzHlvFTwDzmZK7Gfc14,3401
|
242
|
-
ccxt/base/exchange.py,sha256=
|
242
|
+
ccxt/base/exchange.py,sha256=Xlfhgm0InZo4wQDqkD-VVugy0yR481WjchYXFyClpAQ,172012
|
243
243
|
ccxt/base/precise.py,sha256=_xfu54sV0vWNnOfGTKRFykeuWP8mn4K1m9lk1tcllX4,8565
|
244
244
|
ccxt/base/types.py,sha256=Qt9lk3li4YY8-EoOhDqUew86jcjeBGDwExV4Pwna_g8,416
|
245
|
-
ccxt/pro/__init__.py,sha256=
|
245
|
+
ccxt/pro/__init__.py,sha256=GbkKot-GIS3REWmQGuihjXMfseRzZGw8YIBtB7ZShjc,6128
|
246
246
|
ccxt/pro/alpaca.py,sha256=j9EpnOJEzZN7uP2HQhHYGVNYxJybn3HUI25hp8NoIbg,26692
|
247
247
|
ccxt/pro/ascendex.py,sha256=grd7zUYM3y9u7juiIvCfGTW2Bmxxb0NUdTqeI4Sj4js,34571
|
248
248
|
ccxt/pro/bequant.py,sha256=qz8JjnpkAQY_CFiFSKGqrjjgZ2167_TBKjSJOb9NeDw,1081
|
@@ -330,7 +330,7 @@ ccxt/test/test_sync.py,sha256=omZA0xK_2nl58Gwoz65Oi4xRN4uLyuZ0AWZwf2Eqa9w,22795
|
|
330
330
|
ccxt/test/test_throttle.py,sha256=GvLQWtA4fAk_yJrxeisek-wAz7eJdHj0DDKR4_V1beg,3123
|
331
331
|
ccxt/test/test_trade.py,sha256=RRll096ZzaY51P7_IYuBdx2BpvytmrQmGt_bF5P6Gtg,3237
|
332
332
|
ccxt/test/test_transaction.py,sha256=BTbB4UHHXkrvYgwbrhh867nVRlevmIkIrz1W_odlQJI,1434
|
333
|
-
ccxt-3.0.
|
334
|
-
ccxt-3.0.
|
335
|
-
ccxt-3.0.
|
336
|
-
ccxt-3.0.
|
333
|
+
ccxt-3.0.59.dist-info/METADATA,sha256=RGh0zxUE-rqPkVyNWcvQ-0905uGbkDgFTA4RUEdloRQ,111101
|
334
|
+
ccxt-3.0.59.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
|
335
|
+
ccxt-3.0.59.dist-info/top_level.txt,sha256=CkQDuCTDKNcImPV60t36G6MdYfxsAPNiSaEwifVoVMo,5
|
336
|
+
ccxt-3.0.59.dist-info/RECORD,,
|
File without changes
|
File without changes
|