ccxt-ir 4.3.46.0.1__py2.py3-none-any.whl → 4.3.46.0.3__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/__test__.py +7 -0
- ccxt/abantether.py +1 -1
- ccxt/async_support/abantether.py +2 -2
- ccxt/async_support/hitobit.py +4 -4
- ccxt/async_support/sarmayex.py +1 -1
- ccxt/async_support/twox.py +1 -1
- ccxt/hitobit.py +4 -4
- ccxt/sarmayex.py +1 -1
- ccxt/twox.py +1 -1
- {ccxt_ir-4.3.46.0.1.dist-info → ccxt_ir-4.3.46.0.3.dist-info}/METADATA +4 -4
- {ccxt_ir-4.3.46.0.1.dist-info → ccxt_ir-4.3.46.0.3.dist-info}/RECORD +14 -13
- {ccxt_ir-4.3.46.0.1.dist-info → ccxt_ir-4.3.46.0.3.dist-info}/LICENSE.txt +0 -0
- {ccxt_ir-4.3.46.0.1.dist-info → ccxt_ir-4.3.46.0.3.dist-info}/WHEEL +0 -0
- {ccxt_ir-4.3.46.0.1.dist-info → ccxt_ir-4.3.46.0.3.dist-info}/top_level.txt +0 -0
ccxt/__test__.py
ADDED
ccxt/abantether.py
CHANGED
|
@@ -227,7 +227,7 @@ class abantether(Exchange, ImplicitAPI):
|
|
|
227
227
|
if symbols is not None:
|
|
228
228
|
symbols = self.market_symbols(symbols)
|
|
229
229
|
response = self.publicGetManagementAllCoins(params)
|
|
230
|
-
result =
|
|
230
|
+
result = {}
|
|
231
231
|
quotes = ['IRT', 'USDT']
|
|
232
232
|
for i in range(0, len(response)):
|
|
233
233
|
base = self.safe_string(response[i], 'symbol')
|
ccxt/async_support/abantether.py
CHANGED
|
@@ -227,7 +227,7 @@ class abantether(Exchange, ImplicitAPI):
|
|
|
227
227
|
if symbols is not None:
|
|
228
228
|
symbols = self.market_symbols(symbols)
|
|
229
229
|
response = await self.publicGetManagementAllCoins(params)
|
|
230
|
-
result =
|
|
230
|
+
result = {}
|
|
231
231
|
quotes = ['IRT', 'USDT']
|
|
232
232
|
for i in range(0, len(response)):
|
|
233
233
|
base = self.safe_string(response[i], 'symbol')
|
|
@@ -238,7 +238,7 @@ class abantether(Exchange, ImplicitAPI):
|
|
|
238
238
|
response[i]['base'] = base
|
|
239
239
|
response[i]['quote'] = quote
|
|
240
240
|
response[i]['symbol'] = base + quote
|
|
241
|
-
ticker =
|
|
241
|
+
ticker = self.parse_ticker(response[i])
|
|
242
242
|
symbol = ticker['symbol']
|
|
243
243
|
result[symbol] = ticker
|
|
244
244
|
return self.filter_by_array_tickers(result, 'symbol', symbols)
|
ccxt/async_support/hitobit.py
CHANGED
|
@@ -305,7 +305,7 @@ class hitobit(Exchange, ImplicitAPI):
|
|
|
305
305
|
return self.safe_ticker({
|
|
306
306
|
'symbol': symbol,
|
|
307
307
|
'timestamp': timestamp,
|
|
308
|
-
'datetime':
|
|
308
|
+
'datetime': self.iso8601(timestamp),
|
|
309
309
|
'high': high,
|
|
310
310
|
'low': low,
|
|
311
311
|
'bid': bid,
|
|
@@ -341,13 +341,13 @@ class hitobit(Exchange, ImplicitAPI):
|
|
|
341
341
|
endTime = Date.now()
|
|
342
342
|
request = {
|
|
343
343
|
'symbol': market['id'],
|
|
344
|
-
'from':
|
|
345
|
-
'to':
|
|
344
|
+
'from': self.iso8601((endTime) - (24 * 60 * 60)),
|
|
345
|
+
'to': self.iso8601(endTime),
|
|
346
346
|
'interval': self.safe_string(self.timeframes, timeframe, timeframe),
|
|
347
347
|
'limit': 300,
|
|
348
348
|
}
|
|
349
349
|
if since is not None:
|
|
350
|
-
request['from'] =
|
|
350
|
+
request['from'] = self.iso8601(since / 1000)
|
|
351
351
|
if limit is not None:
|
|
352
352
|
request['limit'] = limit
|
|
353
353
|
if timeframe is not None:
|
ccxt/async_support/sarmayex.py
CHANGED
|
@@ -331,7 +331,7 @@ class sarmayex(Exchange, ImplicitAPI):
|
|
|
331
331
|
return self.safe_ticker({
|
|
332
332
|
'symbol': symbol,
|
|
333
333
|
'timestamp': timestamp * 1000,
|
|
334
|
-
'datetime':
|
|
334
|
+
'datetime': self.iso8601(timestamp * 1000),
|
|
335
335
|
'high': None,
|
|
336
336
|
'low': None,
|
|
337
337
|
'bid': None,
|
ccxt/async_support/twox.py
CHANGED
|
@@ -122,7 +122,7 @@ class twox(Exchange, ImplicitAPI):
|
|
|
122
122
|
result = []
|
|
123
123
|
quotes = ['IRT', 'USDT']
|
|
124
124
|
for i in range(0, len(response)):
|
|
125
|
-
marketData = {
|
|
125
|
+
marketData = self.extend({}, response[i])
|
|
126
126
|
base = self.safe_string(marketData, 'symbol')
|
|
127
127
|
for index in range(0, len(quotes)):
|
|
128
128
|
quote = quotes[index]
|
ccxt/hitobit.py
CHANGED
|
@@ -305,7 +305,7 @@ class hitobit(Exchange, ImplicitAPI):
|
|
|
305
305
|
return self.safe_ticker({
|
|
306
306
|
'symbol': symbol,
|
|
307
307
|
'timestamp': timestamp,
|
|
308
|
-
'datetime':
|
|
308
|
+
'datetime': self.iso8601(timestamp),
|
|
309
309
|
'high': high,
|
|
310
310
|
'low': low,
|
|
311
311
|
'bid': bid,
|
|
@@ -341,13 +341,13 @@ class hitobit(Exchange, ImplicitAPI):
|
|
|
341
341
|
endTime = Date.now()
|
|
342
342
|
request = {
|
|
343
343
|
'symbol': market['id'],
|
|
344
|
-
'from':
|
|
345
|
-
'to':
|
|
344
|
+
'from': self.iso8601((endTime) - (24 * 60 * 60)),
|
|
345
|
+
'to': self.iso8601(endTime),
|
|
346
346
|
'interval': self.safe_string(self.timeframes, timeframe, timeframe),
|
|
347
347
|
'limit': 300,
|
|
348
348
|
}
|
|
349
349
|
if since is not None:
|
|
350
|
-
request['from'] =
|
|
350
|
+
request['from'] = self.iso8601(since / 1000)
|
|
351
351
|
if limit is not None:
|
|
352
352
|
request['limit'] = limit
|
|
353
353
|
if timeframe is not None:
|
ccxt/sarmayex.py
CHANGED
|
@@ -331,7 +331,7 @@ class sarmayex(Exchange, ImplicitAPI):
|
|
|
331
331
|
return self.safe_ticker({
|
|
332
332
|
'symbol': symbol,
|
|
333
333
|
'timestamp': timestamp * 1000,
|
|
334
|
-
'datetime':
|
|
334
|
+
'datetime': self.iso8601(timestamp * 1000),
|
|
335
335
|
'high': None,
|
|
336
336
|
'low': None,
|
|
337
337
|
'bid': None,
|
ccxt/twox.py
CHANGED
|
@@ -122,7 +122,7 @@ class twox(Exchange, ImplicitAPI):
|
|
|
122
122
|
result = []
|
|
123
123
|
quotes = ['IRT', 'USDT']
|
|
124
124
|
for i in range(0, len(response)):
|
|
125
|
-
marketData = {
|
|
125
|
+
marketData = self.extend({}, response[i])
|
|
126
126
|
base = self.safe_string(marketData, 'symbol')
|
|
127
127
|
for index in range(0, len(quotes)):
|
|
128
128
|
quote = quotes[index]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ccxt-ir
|
|
3
|
-
Version: 4.3.46.0.
|
|
3
|
+
Version: 4.3.46.0.3
|
|
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
|
|
@@ -293,13 +293,13 @@ console.log(version, Object.keys(exchanges));
|
|
|
293
293
|
|
|
294
294
|
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
|
|
295
295
|
|
|
296
|
-
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.3.46.0.1.0.1-0.1/dist/ccxt.browser.min.js
|
|
297
|
-
* unpkg: https://unpkg.com/ccxt@4.3.46.0.1.0.1-0.1/dist/ccxt.browser.min.js
|
|
296
|
+
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.3.46.0.3.0.2.0.2.0.2.0.2.0.2.0.2.0.2.0.2.0.1.0.1-0.1/dist/ccxt.browser.min.js
|
|
297
|
+
* unpkg: https://unpkg.com/ccxt@4.3.46.0.3.0.2.0.2.0.2.0.2.0.2.0.2.0.2.0.2.0.1.0.1-0.1/dist/ccxt.browser.min.js
|
|
298
298
|
|
|
299
299
|
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.
|
|
300
300
|
|
|
301
301
|
```HTML
|
|
302
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.3.46.0.1.0.1-0.1/dist/ccxt.browser.min.js"></script>
|
|
302
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.3.46.0.3.0.2.0.2.0.2.0.2.0.2.0.2.0.2.0.2.0.1.0.1-0.1/dist/ccxt.browser.min.js"></script>
|
|
303
303
|
```
|
|
304
304
|
|
|
305
305
|
Creates a global `ccxt` object:
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
ccxt/__init__.py,sha256=UUxbR59BDCnYERaBCAaAeO7m3V1Q9ouRTMDqfMeCgPQ,18604
|
|
2
|
-
ccxt/
|
|
2
|
+
ccxt/__test__.py,sha256=B0ZG_Iy1YZ5EK70HfpraELnn6nIF8TovWh39TNNnJZ4,147
|
|
3
|
+
ccxt/abantether.py,sha256=p-c4wq4TeJfw-Mw19PWkra74BSP3mjaKW7Adg_LK4GU,12037
|
|
3
4
|
ccxt/ace.py,sha256=6x4vkcS2lGSkAQuzS-AAgYJLPDNNfNo9NMIdAoXzs18,41776
|
|
4
5
|
ccxt/afratether.py,sha256=9JvnwuSvAtq1Q9Tkp1rsmOVxyQZsy3yiwDtm11fwcTE,10830
|
|
5
6
|
ccxt/alpaca.py,sha256=EZ7uF3XI8EXXIsCZ-UVpruBXS96Kps6WOOukmdcgCn0,47326
|
|
@@ -75,7 +76,7 @@ ccxt/gemini.py,sha256=5eIia9wC4amH1e2kuVZh69mQ8y43TRZu4JizH_w8ogc,80838
|
|
|
75
76
|
ccxt/hashkey.py,sha256=TrdSgFkyH3juZe_yiWM8ffcflvW2tG8bXEDFAq-S_bw,192066
|
|
76
77
|
ccxt/hitbtc.py,sha256=8lOcpnAHF4Ip08z8FGk9PDAI2q3ax0LDcdDCp4wD6fo,153399
|
|
77
78
|
ccxt/hitbtc3.py,sha256=qRAr4Zvaju9IQWRZUohdoN7xRnzIMPq8AyYb3gPv-Is,455
|
|
78
|
-
ccxt/hitobit.py,sha256=
|
|
79
|
+
ccxt/hitobit.py,sha256=mcG2yzA5TuUru1MPbHZ-bHFRkBl03k-JmroMVCJq70Y,16054
|
|
79
80
|
ccxt/hollaex.py,sha256=e7irunlbzhM1BSvv9kyaccHdUF0cRjnJkIbMMQhe5PA,76141
|
|
80
81
|
ccxt/htx.py,sha256=tsbkKP3Bvi8yN2PcmpGR3-G1W5nS3fzfP4H_znf4_UQ,425065
|
|
81
82
|
ccxt/huobi.py,sha256=4vaG7IRN7fyjaJ_ac6S-njlHOfSEN5de7aq0noznxYw,438
|
|
@@ -114,14 +115,14 @@ ccxt/poloniex.py,sha256=qctzvVpjtLq_mDr5d1kf0447wkp-Y_aYrCy6QubIAvU,102242
|
|
|
114
115
|
ccxt/poloniexfutures.py,sha256=cPMhbame1K_I1d8JgI2GzFQ8bFh54O0WfA0UTGmqSjg,78106
|
|
115
116
|
ccxt/probit.py,sha256=2A2vpmqS4__0A6d-gj7WASMaO2wT4NqbIitOF8uUD08,75891
|
|
116
117
|
ccxt/ramzinex.py,sha256=TiFVHHQC8-e3PPPJdXsXG098gnan8UXUT8Y_1tM0OU8,18933
|
|
117
|
-
ccxt/sarmayex.py,sha256=
|
|
118
|
+
ccxt/sarmayex.py,sha256=qaIFfDqHq-efMddFGLEz-QhBaygJ6Q8QR89l4Ye2Wmg,13433
|
|
118
119
|
ccxt/sarrafex.py,sha256=wZ1_ikmwrFEk1cpxBErhdWIlTZBFs0J-ClYavyokWI8,19146
|
|
119
120
|
ccxt/tabdeal.py,sha256=9J_RTrckEx2PvtakbiFKRiRXTXweWMlTDqg1PmvDXB0,14334
|
|
120
121
|
ccxt/tetherland.py,sha256=7BZ1I-iDyK99iCAFHZ-wMrN3zJs6KXKzAuhU9qC1cYY,13913
|
|
121
122
|
ccxt/timex.py,sha256=jTXj6mGZcmsfmDFHbJyWiScLK-vdY7AYsD5gUyk1x0s,71451
|
|
122
123
|
ccxt/tokocrypto.py,sha256=rNtgbaYWZzervosI7gnseAQ9zlstR0_9jwPQ65tLWfM,123193
|
|
123
124
|
ccxt/tradeogre.py,sha256=Rg5j165OAwYuOFgYwXtKEb8Tdbv1BzFVj6mvgDS6qJg,24212
|
|
124
|
-
ccxt/twox.py,sha256=
|
|
125
|
+
ccxt/twox.py,sha256=jm1ajewyvTYqsBNFfUu1dSeYHQ4F9MWqp9ZlEMQtKqA,12093
|
|
125
126
|
ccxt/ubitex.py,sha256=_Ymkrm9UWxcS5gowzYnxCxCm83AeIyFip4kdbcGmSbY,16507
|
|
126
127
|
ccxt/upbit.py,sha256=6uYO8pFI_lYx6UU0ELcvc82F6xEJK9GPIxgUQiTDq10,82011
|
|
127
128
|
ccxt/vertex.py,sha256=QmU9ZLm7MOqEPvzLj3NNNwWX0QVrOBMqhD68B1zPL7w,123520
|
|
@@ -273,7 +274,7 @@ ccxt/abstract/yobit.py,sha256=8ycfCO8ORFly9hc0Aa47sZyX4_ZKPXS9h9yJzI-uQ7Q,1339
|
|
|
273
274
|
ccxt/abstract/zaif.py,sha256=m15WHdl3gYy0GOXNZ8NEH8eE7sVh8c0T_ITNuU8vXeU,3935
|
|
274
275
|
ccxt/abstract/zonda.py,sha256=X-hCW0SdX3YKZWixDyW-O2211M58Rno8kKJ6quY7rw4,7183
|
|
275
276
|
ccxt/async_support/__init__.py,sha256=uYbWpMf0JygHZEgSeEsphPjiWj6Nva1AkBAZZE1vFT8,18647
|
|
276
|
-
ccxt/async_support/abantether.py,sha256=
|
|
277
|
+
ccxt/async_support/abantether.py,sha256=_At_JlpJsPBXf7jEEm2xXzO8TGU3qCJ9hz6FyWs1GnM,12099
|
|
277
278
|
ccxt/async_support/ace.py,sha256=tsRgs_o4Iq7q8IkD83FUdC-2ztylhgO4cp2hww3rlqQ,42000
|
|
278
279
|
ccxt/async_support/afratether.py,sha256=IxKil1OhPTAhEhOOlL1dN4OBxI0HrcYFUDloZT2Y1v8,10910
|
|
279
280
|
ccxt/async_support/alpaca.py,sha256=3845DgojoA1p0pxrqnDIqHbbRcEwZhZIkE4aygD5ics,47538
|
|
@@ -349,7 +350,7 @@ ccxt/async_support/gemini.py,sha256=cJjRW_O2uIKhi6tsClWr9Td8AGet_sXM2Lkj-i3MjRA,
|
|
|
349
350
|
ccxt/async_support/hashkey.py,sha256=qKHr5OPwalz1HCBTe0lKNe5yCGk8osadpyb2JqXcEDA,192908
|
|
350
351
|
ccxt/async_support/hitbtc.py,sha256=hjssPFXONM6S_-ZL8n6AqNS1wA-OmRe_t2ukj54EIxg,154445
|
|
351
352
|
ccxt/async_support/hitbtc3.py,sha256=dmSYoD2o4av_zzbZI8HNIoj8BWxA7QozsVpy8JaOXzU,469
|
|
352
|
-
ccxt/async_support/hitobit.py,sha256=
|
|
353
|
+
ccxt/async_support/hitobit.py,sha256=dnjtUWU1BbgnPBFIYXryml6MuBi0EDCQBCKBanUmoaI,16170
|
|
353
354
|
ccxt/async_support/hollaex.py,sha256=b7nJAvL0dCfPwhjOCfoAn1Qd9msFvEIfYp-7EQ4QIwQ,76575
|
|
354
355
|
ccxt/async_support/htx.py,sha256=wYAmakkCQfBs_6iFrB-P8pkrRSXV16RCm6xjg3zAWbQ,427457
|
|
355
356
|
ccxt/async_support/huobi.py,sha256=fup0j6wQ1khAtfbb1H4CSyJAOzhxuoHMmrM6sgTuhr8,452
|
|
@@ -388,14 +389,14 @@ ccxt/async_support/poloniex.py,sha256=ReU0bRFEkEvQ3TdQ7SPYWE0uuecIL6AQdkSq34yJ9U
|
|
|
388
389
|
ccxt/async_support/poloniexfutures.py,sha256=xNrXcZ8OjafniqtcJD8AhXq58GC3jKeMqNPJSEsFlJM,78492
|
|
389
390
|
ccxt/async_support/probit.py,sha256=x3pLThDvlmaIdj7-0PlkgolrfsXN1YkeVVd0BBdtpvg,76283
|
|
390
391
|
ccxt/async_support/ramzinex.py,sha256=Bgf1sGETjKyDoxXLv64hI8WAGU8T_gj-Ul-UaMvEEGk,19049
|
|
391
|
-
ccxt/async_support/sarmayex.py,sha256
|
|
392
|
+
ccxt/async_support/sarmayex.py,sha256=-PAbYNOc4ibTd02VHf2hNaFhIiSuEEjTsUUF2CMHkUc,13501
|
|
392
393
|
ccxt/async_support/sarrafex.py,sha256=gwCJ0fULH3yOgpiGfu3SF2HwWKGJY-Aw1YWCWZ9VRDc,19262
|
|
393
394
|
ccxt/async_support/tabdeal.py,sha256=bfs-7buP5z8Gth24G-zuAUNivtgt48Ve1pnXto4YYOA,14438
|
|
394
395
|
ccxt/async_support/tetherland.py,sha256=5aKBUgjEcUwa81zdSEPf6GWJdED_55U3URMNP-2bvKY,13981
|
|
395
396
|
ccxt/async_support/timex.py,sha256=6_SBBYk3IW3iFFpHejYBPOTvmoOAFROygbh7TR0YvXM,71813
|
|
396
397
|
ccxt/async_support/tokocrypto.py,sha256=BJWVbn6oXdv0ESEPeSLAeW8fApO48GWh_b3znV9hsik,123555
|
|
397
398
|
ccxt/async_support/tradeogre.py,sha256=Nv6ifk1guxLlC7yAOdfneIJbYXqEBPDMqQKomMX_anM,24406
|
|
398
|
-
ccxt/async_support/twox.py,sha256=
|
|
399
|
+
ccxt/async_support/twox.py,sha256=AP01vSrtlL31L3dXDnhPTTbh1dXf9XMBtYj8RZTRtqM,12161
|
|
399
400
|
ccxt/async_support/ubitex.py,sha256=jNUQ_ZMQNA8IhW5jmCpQVJ10e6TSryWj1IYq2_WfY7o,16623
|
|
400
401
|
ccxt/async_support/upbit.py,sha256=IwpTyde1fOMEhq0D8yUnbWHNOZwof_yAoccOP2yh7wY,82493
|
|
401
402
|
ccxt/async_support/vertex.py,sha256=MRNvHu200ywf05HHSTj1W2s1JFzg7TYRS_6SCLHu__8,124020
|
|
@@ -765,8 +766,8 @@ ccxt/test/base/test_ticker.py,sha256=cMTIMb1oySNORUCmqI5ZzMswlEyCF6gJMah3vfvo8wQ
|
|
|
765
766
|
ccxt/test/base/test_trade.py,sha256=PMtmB8V38dpaP-eb8h488xYMlR6D69yCOhsA1RuWrUA,2336
|
|
766
767
|
ccxt/test/base/test_trading_fee.py,sha256=2aDCNJtqBkTC_AieO0l1HYGq5hz5qkWlkWb9Nv_fcwk,1066
|
|
767
768
|
ccxt/test/base/test_transaction.py,sha256=BTbB4UHHXkrvYgwbrhh867nVRlevmIkIrz1W_odlQJI,1434
|
|
768
|
-
ccxt_ir-4.3.46.0.
|
|
769
|
-
ccxt_ir-4.3.46.0.
|
|
770
|
-
ccxt_ir-4.3.46.0.
|
|
771
|
-
ccxt_ir-4.3.46.0.
|
|
772
|
-
ccxt_ir-4.3.46.0.
|
|
769
|
+
ccxt_ir-4.3.46.0.3.dist-info/LICENSE.txt,sha256=EIb9221AhMHV7xF1_55STFdKTFsnJVJYkRpY2Lnvo5w,1068
|
|
770
|
+
ccxt_ir-4.3.46.0.3.dist-info/METADATA,sha256=_OErwEqa3kJBwohtStSilx5l0SmyP6WPpPv4aReL7CU,132968
|
|
771
|
+
ccxt_ir-4.3.46.0.3.dist-info/WHEEL,sha256=0VNUDWQJzfRahYI3neAhz2UVbRCtztpN5dPHAGvmGXc,109
|
|
772
|
+
ccxt_ir-4.3.46.0.3.dist-info/top_level.txt,sha256=CkQDuCTDKNcImPV60t36G6MdYfxsAPNiSaEwifVoVMo,5
|
|
773
|
+
ccxt_ir-4.3.46.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|