ccxt-ir 4.9.18__py2.py3-none-any.whl → 4.9.20__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/kcex.py +2 -3
- ccxt/async_support/ompfinex.py +1 -1
- ccxt/base/exchange.py +1 -1
- ccxt/kcex.py +2 -3
- ccxt/ompfinex.py +1 -1
- ccxt/pro/__init__.py +1 -1
- {ccxt_ir-4.9.18.dist-info → ccxt_ir-4.9.20.dist-info}/METADATA +4 -4
- {ccxt_ir-4.9.18.dist-info → ccxt_ir-4.9.20.dist-info}/RECORD +14 -14
- {ccxt_ir-4.9.18.dist-info → ccxt_ir-4.9.20.dist-info}/WHEEL +0 -0
- {ccxt_ir-4.9.18.dist-info → ccxt_ir-4.9.20.dist-info}/licenses/LICENSE.txt +0 -0
- {ccxt_ir-4.9.18.dist-info → ccxt_ir-4.9.20.dist-info}/top_level.txt +0 -0
ccxt/__init__.py
CHANGED
ccxt/async_support/__init__.py
CHANGED
ccxt/async_support/kcex.py
CHANGED
|
@@ -160,7 +160,6 @@ class kcex(Exchange, ImplicitAPI):
|
|
|
160
160
|
# qs: 2,
|
|
161
161
|
# cdm: 1
|
|
162
162
|
# }
|
|
163
|
-
id = self.safe_string(market, 'id')
|
|
164
163
|
baseId = self.safe_string(market, 'vn')
|
|
165
164
|
quoteId = self.safe_string(market, 'mnm')
|
|
166
165
|
base = self.safe_currency_code(baseId)
|
|
@@ -168,7 +167,7 @@ class kcex(Exchange, ImplicitAPI):
|
|
|
168
167
|
baseId = baseId.lower()
|
|
169
168
|
quoteId = quoteId.lower()
|
|
170
169
|
return {
|
|
171
|
-
'id':
|
|
170
|
+
'id': base + '/' + quote,
|
|
172
171
|
'symbol': base + '/' + quote,
|
|
173
172
|
'base': base,
|
|
174
173
|
'quote': quote,
|
|
@@ -240,7 +239,7 @@ class kcex(Exchange, ImplicitAPI):
|
|
|
240
239
|
for i in range(0, len(tickers)):
|
|
241
240
|
ticker = tickers[i]
|
|
242
241
|
id = self.safe_string(ticker, 'id')
|
|
243
|
-
market = idToMarket
|
|
242
|
+
market = self.safe_value(idToMarket, id)
|
|
244
243
|
ticker['timestamp'] = timestamp
|
|
245
244
|
if market is not None:
|
|
246
245
|
parsedTicker = self.parse_ticker(ticker, market)
|
ccxt/async_support/ompfinex.py
CHANGED
|
@@ -475,6 +475,6 @@ class ompfinex(Exchange, ImplicitAPI):
|
|
|
475
475
|
url = self.urls['api']['public'] + '/' + path + '?' + self.urlencode(query)
|
|
476
476
|
headers = {
|
|
477
477
|
'Content-Type': 'application/json',
|
|
478
|
-
'User-Agent': 'Mozilla/5.0(
|
|
478
|
+
'User-Agent': 'Mozilla/5.0(Windows NT 10.0; Win64; x64) AppleWebKit/537.36(KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36',
|
|
479
479
|
}
|
|
480
480
|
return {'url': url, 'method': method, 'body': body, 'headers': headers}
|
ccxt/base/exchange.py
CHANGED
ccxt/kcex.py
CHANGED
|
@@ -160,7 +160,6 @@ class kcex(Exchange, ImplicitAPI):
|
|
|
160
160
|
# qs: 2,
|
|
161
161
|
# cdm: 1
|
|
162
162
|
# }
|
|
163
|
-
id = self.safe_string(market, 'id')
|
|
164
163
|
baseId = self.safe_string(market, 'vn')
|
|
165
164
|
quoteId = self.safe_string(market, 'mnm')
|
|
166
165
|
base = self.safe_currency_code(baseId)
|
|
@@ -168,7 +167,7 @@ class kcex(Exchange, ImplicitAPI):
|
|
|
168
167
|
baseId = baseId.lower()
|
|
169
168
|
quoteId = quoteId.lower()
|
|
170
169
|
return {
|
|
171
|
-
'id':
|
|
170
|
+
'id': base + '/' + quote,
|
|
172
171
|
'symbol': base + '/' + quote,
|
|
173
172
|
'base': base,
|
|
174
173
|
'quote': quote,
|
|
@@ -240,7 +239,7 @@ class kcex(Exchange, ImplicitAPI):
|
|
|
240
239
|
for i in range(0, len(tickers)):
|
|
241
240
|
ticker = tickers[i]
|
|
242
241
|
id = self.safe_string(ticker, 'id')
|
|
243
|
-
market = idToMarket
|
|
242
|
+
market = self.safe_value(idToMarket, id)
|
|
244
243
|
ticker['timestamp'] = timestamp
|
|
245
244
|
if market is not None:
|
|
246
245
|
parsedTicker = self.parse_ticker(ticker, market)
|
ccxt/ompfinex.py
CHANGED
|
@@ -475,6 +475,6 @@ class ompfinex(Exchange, ImplicitAPI):
|
|
|
475
475
|
url = self.urls['api']['public'] + '/' + path + '?' + self.urlencode(query)
|
|
476
476
|
headers = {
|
|
477
477
|
'Content-Type': 'application/json',
|
|
478
|
-
'User-Agent': 'Mozilla/5.0(
|
|
478
|
+
'User-Agent': 'Mozilla/5.0(Windows NT 10.0; Win64; x64) AppleWebKit/537.36(KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36',
|
|
479
479
|
}
|
|
480
480
|
return {'url': url, 'method': method, 'body': body, 'headers': headers}
|
ccxt/pro/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ccxt-ir
|
|
3
|
-
Version: 4.9.
|
|
3
|
+
Version: 4.9.20
|
|
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
|
|
@@ -304,13 +304,13 @@ console.log(version, Object.keys(exchanges));
|
|
|
304
304
|
|
|
305
305
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
|
306
306
|
|
|
307
|
-
- jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.9.
|
|
308
|
-
- unpkg: https://unpkg.com/ccxt@4.9.
|
|
307
|
+
- jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.9.20/dist/ccxt.browser.min.js
|
|
308
|
+
- unpkg: https://unpkg.com/ccxt@4.9.20/dist/ccxt.browser.min.js
|
|
309
309
|
|
|
310
310
|
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.
|
|
311
311
|
|
|
312
312
|
```HTML
|
|
313
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.9.
|
|
313
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.9.20/dist/ccxt.browser.min.js"></script>
|
|
314
314
|
console.log (ccxt.exchanges) // print all available exchanges
|
|
315
315
|
```
|
|
316
316
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
ccxt/__init__.py,sha256=
|
|
1
|
+
ccxt/__init__.py,sha256=ozX23uSiIwwVjYX2CrTseoppgy-MqmUGBmyM5SnDVKA,20197
|
|
2
2
|
ccxt/abantether.py,sha256=PSz8vQq3Il76_K8kmw43MzFH_JDsqF9Spg2IxPoeGXE,12879
|
|
3
3
|
ccxt/afratether.py,sha256=5PX0U1GQ3ylOQuQ8Mm9yIsF5J3aqfTZcp6iV87I8E_0,12245
|
|
4
4
|
ccxt/alpaca.py,sha256=oO0YJHxo5_1iYyGVRMbxfGyPahqzuMlE7LZ3TMYgPGo,80694
|
|
@@ -88,7 +88,7 @@ ccxt/hyperliquid.py,sha256=nRrjedrxNgEuUIuH4Ml7qM9JKw9rPUjmsbylSImCw_I,160952
|
|
|
88
88
|
ccxt/independentreserve.py,sha256=qK_Xd8oSwQ8VTKqDTSUZoxZ8rfKwd2CrfDC9JdBi6uc,44814
|
|
89
89
|
ccxt/indodax.py,sha256=4UtmYm2bExkrmfpnUv-6RSEN8EAyhVWBvdDZCoLILkQ,59303
|
|
90
90
|
ccxt/jibitex.py,sha256=CH3Gb4aXfzBsfUYqKdpQVrohq9o-11AMRWZVXaZkzFk,15785
|
|
91
|
-
ccxt/kcex.py,sha256=
|
|
91
|
+
ccxt/kcex.py,sha256=5m4GN-1v3FgI_YEejH-LHM9n7R-7qTqx70WKs4KRSnI,11946
|
|
92
92
|
ccxt/kifpoolme.py,sha256=3JS3P_yG77Se8Al1n2nhm7bxby1SAT_klUekrUC7oBo,15046
|
|
93
93
|
ccxt/kraken.py,sha256=wE8GI7g9xx3Gx785M8_W5pn3-wxSDMvxMlb9qQlPkPc,148530
|
|
94
94
|
ccxt/krakenfutures.py,sha256=91NTUvEalzJe6HxX_2JK7MP4oPFmMgEp_QJDJ71n-aA,122915
|
|
@@ -110,7 +110,7 @@ ccxt/okcoin.py,sha256=yvSRgQhAYim1iF_INP02tVwi-oh_-GUD3jmbkXTRDKY,153947
|
|
|
110
110
|
ccxt/okexchange.py,sha256=HP0b7NQ6Y_YevtxVDrVgw7ocOesXHZ_DNitBq64jUFU,13845
|
|
111
111
|
ccxt/okx.py,sha256=gxYGq1BWtooK-e7sF6t_87W04K0PVuuZLjMh5Yo9knc,407629
|
|
112
112
|
ccxt/okxus.py,sha256=luEXOXlnV3UAmoZ_y8_7OGMxC3KyxLvy_8qI7Dc8F-g,1773
|
|
113
|
-
ccxt/ompfinex.py,sha256=
|
|
113
|
+
ccxt/ompfinex.py,sha256=ko__2dOkfhp-KtRr1ApbRlPn4BMY3CgCYtTxsCJDs7g,19280
|
|
114
114
|
ccxt/onetrading.py,sha256=K14WDqF0p6Ed27wv8XKdEiB0Wv71OO45ntSPe3JR7dg,78020
|
|
115
115
|
ccxt/oxfun.py,sha256=pIOt5HQIraNw42GawzY2LeXdAkIoqIbvys3dHoOHJMc,124486
|
|
116
116
|
ccxt/p2b.py,sha256=B_9mGtiSGQ48jr5LGvAoPh5cfEkLDuE4BbK2Oa0s--4,58171
|
|
@@ -290,7 +290,7 @@ ccxt/abstract/xt.py,sha256=n3eX1cItL_J0j8prOViV-C_tRwIFv_GO8JTvZZw8jv8,27837
|
|
|
290
290
|
ccxt/abstract/yobit.py,sha256=8ycfCO8ORFly9hc0Aa47sZyX4_ZKPXS9h9yJzI-uQ7Q,1339
|
|
291
291
|
ccxt/abstract/zaif.py,sha256=m15WHdl3gYy0GOXNZ8NEH8eE7sVh8c0T_ITNuU8vXeU,3935
|
|
292
292
|
ccxt/abstract/zonda.py,sha256=X-hCW0SdX3YKZWixDyW-O2211M58Rno8kKJ6quY7rw4,7183
|
|
293
|
-
ccxt/async_support/__init__.py,sha256=
|
|
293
|
+
ccxt/async_support/__init__.py,sha256=5rDC79AmZfHqi3pRLcPy2jxWdS-HGaBIA7-ZorNGo_Q,20370
|
|
294
294
|
ccxt/async_support/abantether.py,sha256=aNxARnFPboX8VyBLysADfJlW8d8d1CptPyf7NasyRl8,12935
|
|
295
295
|
ccxt/async_support/afratether.py,sha256=fhVGoxrIbXXser4tIsCBgfVIivLnq7hpZBvzR84WgBs,12313
|
|
296
296
|
ccxt/async_support/alpaca.py,sha256=oFpSnAjX-faRgTN4d5rwHa08WRaCkwiAbHGZ7JBe6Ww,81140
|
|
@@ -380,7 +380,7 @@ ccxt/async_support/hyperliquid.py,sha256=WwsqsDY-95I8cTzVRcZaqV-JSXoau-XsHAYfOP9
|
|
|
380
380
|
ccxt/async_support/independentreserve.py,sha256=jNDXX5VAsUKDfKRYb_qtqT4UJNimsO1mWbCDxL1lU1s,45112
|
|
381
381
|
ccxt/async_support/indodax.py,sha256=gDiNbkssepp2ARs16EroBSG7DTgCHXa1GgnB3NNSd6o,59611
|
|
382
382
|
ccxt/async_support/jibitex.py,sha256=6g3MdbPusjRr7AOoIq4lUHD9GfGHpJy0ZQ-rjTu4GW4,15883
|
|
383
|
-
ccxt/async_support/kcex.py,sha256=
|
|
383
|
+
ccxt/async_support/kcex.py,sha256=XwWr4llsmkgcDOaYwCDrDwqJgb8atKKv5QtmPl2WhZs,12008
|
|
384
384
|
ccxt/async_support/kifpoolme.py,sha256=Yd0yf2sQ8j4GUN2_kzcB_DXNA4DaIW_4IEpAMpFp0NY,15120
|
|
385
385
|
ccxt/async_support/kraken.py,sha256=YcByHZKnph2cKKFRHbd24b6r1AR57qdeFMZdcyEviAg,149212
|
|
386
386
|
ccxt/async_support/krakenfutures.py,sha256=D0IYSDLPm3hMOy_KMrAqcZLNyoJ89Ur5zJmL597mXc8,123403
|
|
@@ -402,7 +402,7 @@ ccxt/async_support/okcoin.py,sha256=xK_FnaPu63ElHGgtUPxwfDmCV4Dkp3ONgGhKCFkk6wo,
|
|
|
402
402
|
ccxt/async_support/okexchange.py,sha256=i_17-W3OkzOtrbQRYsw2_iwsH2Qt0MELvvxgUReoYJ4,13937
|
|
403
403
|
ccxt/async_support/okx.py,sha256=bIDlD0LJrsa44FeiSSvF-q4ZualI8LMW7zo6gKrI9NA,409348
|
|
404
404
|
ccxt/async_support/okxus.py,sha256=MuQ7TqH1CIKec_Z11O7hbz5bRCDzqW51fy1tZoZ1_DI,1787
|
|
405
|
-
ccxt/async_support/ompfinex.py,sha256=
|
|
405
|
+
ccxt/async_support/ompfinex.py,sha256=htp0LEJYxQWlIgxSvdE7JfKLC5GaG1gKDvCq9XExaWE,19378
|
|
406
406
|
ccxt/async_support/onetrading.py,sha256=hi5EjXjoM0tEOiTU2QLdCIcYLypKf58ln0rj7r5N_Eg,78376
|
|
407
407
|
ccxt/async_support/oxfun.py,sha256=T0CI9_Uh3hvXoxhyUshWG6gD-6JBOxioNFZRmayggCM,125048
|
|
408
408
|
ccxt/async_support/p2b.py,sha256=HHpNY09MUWf0s5lUc-WJpqILNMsezDLf3pV4n0pvJYc,58413
|
|
@@ -437,7 +437,7 @@ ccxt/async_support/yobit.py,sha256=FBI7ajvxprTYUqX8zosd7-LntDft8vIEjRTHng5ry8Y,5
|
|
|
437
437
|
ccxt/async_support/zaif.py,sha256=mh0PETLMTJV509zhT7jukddg6S7YhvwhCT7zqxC6YLA,31364
|
|
438
438
|
ccxt/async_support/zonda.py,sha256=7hmHotE5JBd8034d1ZbX3oIeWIpQFrQb8aK-dP3Btx0,85327
|
|
439
439
|
ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
|
|
440
|
-
ccxt/async_support/base/exchange.py,sha256=
|
|
440
|
+
ccxt/async_support/base/exchange.py,sha256=BzlyXPrP0Zd-4eLwoTEcp8-_YvPtRj4Bx9-WtQH_ciQ,121269
|
|
441
441
|
ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
|
|
442
442
|
ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
|
|
443
443
|
ccxt/async_support/base/ws/cache.py,sha256=xf2VOtfUwloxSlIQ39M1RGZHWQzyS9IGhB5NX6cDcAc,8370
|
|
@@ -449,10 +449,10 @@ ccxt/async_support/base/ws/order_book_side.py,sha256=GhnGUt78pJ-AYL_Dq9produGjmB
|
|
|
449
449
|
ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
|
|
450
450
|
ccxt/base/decimal_to_precision.py,sha256=3XI30u9YudHbTA438397u5rkdlXa3atxwZEfUus3C4k,6803
|
|
451
451
|
ccxt/base/errors.py,sha256=OGhWNvNtRlJOzFx-n1x3ZjTnaPpfWH0Vc0xACS-MeDw,5012
|
|
452
|
-
ccxt/base/exchange.py,sha256=
|
|
452
|
+
ccxt/base/exchange.py,sha256=9qpLIc5klZ5CZqXHhVPiWLrXKWoBPh8HMJ6BENOwbbY,334338
|
|
453
453
|
ccxt/base/precise.py,sha256=koce64Yrp6vFbGijJtUt-QQ6XhJgeGTCksZ871FPp_A,8886
|
|
454
454
|
ccxt/base/types.py,sha256=Gvbogh9i7pPH7Z18xesYeDPribqqwq8uKpOv-YODFBs,11505
|
|
455
|
-
ccxt/pro/__init__.py,sha256=
|
|
455
|
+
ccxt/pro/__init__.py,sha256=78KnMGpDPt_aqjYR4PTBjmEr2U7vIiwZixvQPv6aTaI,11464
|
|
456
456
|
ccxt/pro/alpaca.py,sha256=REAEZxdv2pY8xjxBGCBca3nPKpIdleVqr-IVpuVmADg,27637
|
|
457
457
|
ccxt/pro/apex.py,sha256=FLBaLN2FESIh9gqHPVwf0IkkIHpxGHHUcFwgBGBEkrA,42018
|
|
458
458
|
ccxt/pro/ascendex.py,sha256=P0DnIMIA-BIGxyoEQBLGtjH-whRhkPbhe8gU2s5V238,37526
|
|
@@ -775,8 +775,8 @@ ccxt/test/tests_async.py,sha256=D5ZDYYW635E2LFEhJt7HfIjbFVCQl3WSBEFnR-QEQzM,9549
|
|
|
775
775
|
ccxt/test/tests_helpers.py,sha256=egM69A2ZFYeVF5hwC1Qt-c5DOeClY5bv4jowmceeFV8,9736
|
|
776
776
|
ccxt/test/tests_init.py,sha256=qM0-Gb0h0p6CANWTkyYZI7wl-iYOcrPur7aj_OKh7m0,1212
|
|
777
777
|
ccxt/test/tests_sync.py,sha256=Rr72cGmoKqbUIIEJJAGh2_QhBc4rIZlBxVtGCQVd4BE,94440
|
|
778
|
-
ccxt_ir-4.9.
|
|
779
|
-
ccxt_ir-4.9.
|
|
780
|
-
ccxt_ir-4.9.
|
|
781
|
-
ccxt_ir-4.9.
|
|
782
|
-
ccxt_ir-4.9.
|
|
778
|
+
ccxt_ir-4.9.20.dist-info/licenses/LICENSE.txt,sha256=EIb9221AhMHV7xF1_55STFdKTFsnJVJYkRpY2Lnvo5w,1068
|
|
779
|
+
ccxt_ir-4.9.20.dist-info/METADATA,sha256=WDTR95GmBmpJCPetUvd5Q-jXdTIJ3hFQM317U_GQR_Y,138934
|
|
780
|
+
ccxt_ir-4.9.20.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
781
|
+
ccxt_ir-4.9.20.dist-info/top_level.txt,sha256=CkQDuCTDKNcImPV60t36G6MdYfxsAPNiSaEwifVoVMo,5
|
|
782
|
+
ccxt_ir-4.9.20.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|