ccxt-ir 4.9.11__py2.py3-none-any.whl → 4.9.13__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/bitbarg.py +4 -4
- ccxt/async_support/cafearz.py +2 -2
- ccxt/async_support/kifpoolme.py +1 -1
- ccxt/async_support/tetherland.py +2 -2
- ccxt/base/exchange.py +1 -1
- ccxt/bitbarg.py +4 -4
- ccxt/cafearz.py +2 -2
- ccxt/kifpoolme.py +1 -1
- ccxt/pro/__init__.py +1 -1
- ccxt/tetherland.py +2 -2
- {ccxt_ir-4.9.11.dist-info → ccxt_ir-4.9.13.dist-info}/METADATA +157 -164
- {ccxt_ir-4.9.11.dist-info → ccxt_ir-4.9.13.dist-info}/RECORD +18 -18
- {ccxt_ir-4.9.11.dist-info → ccxt_ir-4.9.13.dist-info}/WHEEL +0 -0
- {ccxt_ir-4.9.11.dist-info → ccxt_ir-4.9.13.dist-info}/licenses/LICENSE.txt +0 -0
- {ccxt_ir-4.9.11.dist-info → ccxt_ir-4.9.13.dist-info}/top_level.txt +0 -0
ccxt/__init__.py
CHANGED
ccxt/async_support/__init__.py
CHANGED
ccxt/async_support/bitbarg.py
CHANGED
|
@@ -138,8 +138,8 @@ class bitbarg(Exchange, ImplicitAPI):
|
|
|
138
138
|
'baseId': baseId,
|
|
139
139
|
'quoteId': quoteId,
|
|
140
140
|
'settleId': None,
|
|
141
|
-
'type': '
|
|
142
|
-
'spot':
|
|
141
|
+
'type': 'spot',
|
|
142
|
+
'spot': True,
|
|
143
143
|
'margin': False,
|
|
144
144
|
'swap': False,
|
|
145
145
|
'future': False,
|
|
@@ -213,7 +213,7 @@ class bitbarg(Exchange, ImplicitAPI):
|
|
|
213
213
|
request = {
|
|
214
214
|
'pageSize': -1,
|
|
215
215
|
}
|
|
216
|
-
response = await self.publicGetApiV1Currencies(
|
|
216
|
+
response = await self.publicGetApiV1Currencies(request)
|
|
217
217
|
data = self.safe_dict(response, 'result', {})
|
|
218
218
|
items = self.safe_list(data, 'items', [])
|
|
219
219
|
result = {}
|
|
@@ -261,7 +261,7 @@ class bitbarg(Exchange, ImplicitAPI):
|
|
|
261
261
|
# "isFavorite": False,
|
|
262
262
|
# "chart": [...]
|
|
263
263
|
# }
|
|
264
|
-
marketType = '
|
|
264
|
+
marketType = 'spot'
|
|
265
265
|
marketId = self.safe_string(ticker, 'coin') + '/' + 'USDT'
|
|
266
266
|
symbol = self.safe_symbol(marketId, market, None, marketType)
|
|
267
267
|
last = self.safe_float(ticker, 'price', 0)
|
ccxt/async_support/cafearz.py
CHANGED
|
@@ -22,7 +22,7 @@ class cafearz(Exchange, ImplicitAPI):
|
|
|
22
22
|
'pro': False,
|
|
23
23
|
'has': {
|
|
24
24
|
'CORS': None,
|
|
25
|
-
'spot':
|
|
25
|
+
'spot': True,
|
|
26
26
|
'margin': False,
|
|
27
27
|
'swap': False,
|
|
28
28
|
'future': False,
|
|
@@ -168,7 +168,7 @@ class cafearz(Exchange, ImplicitAPI):
|
|
|
168
168
|
'baseId': baseId,
|
|
169
169
|
'quoteId': quoteId,
|
|
170
170
|
'settleId': None,
|
|
171
|
-
'type': '
|
|
171
|
+
'type': 'spot',
|
|
172
172
|
'spot': False,
|
|
173
173
|
'margin': False,
|
|
174
174
|
'swap': False,
|
ccxt/async_support/kifpoolme.py
CHANGED
|
@@ -200,7 +200,7 @@ class kifpoolme(Exchange, ImplicitAPI):
|
|
|
200
200
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
201
201
|
:returns dict[]: an array of objects representing market data
|
|
202
202
|
"""
|
|
203
|
-
response = await self.publicGetApiSpotPrice(
|
|
203
|
+
response = await self.publicGetApiSpotPrice()
|
|
204
204
|
result = []
|
|
205
205
|
# Response is an array of coin objects
|
|
206
206
|
for i in range(0, len(response)):
|
ccxt/async_support/tetherland.py
CHANGED
|
@@ -244,7 +244,7 @@ class tetherland(Exchange, ImplicitAPI):
|
|
|
244
244
|
symbols = self.market_symbols(symbols)
|
|
245
245
|
response = await self.publicGetApiV5Currencies(params)
|
|
246
246
|
markets = self.safe_list(response, 'data')
|
|
247
|
-
result =
|
|
247
|
+
result = {}
|
|
248
248
|
quotes = ['USDT', 'IRT']
|
|
249
249
|
for i in range(0, len(markets)):
|
|
250
250
|
for key in range(0, len(quotes)):
|
|
@@ -312,7 +312,7 @@ class tetherland(Exchange, ImplicitAPI):
|
|
|
312
312
|
# 'priority': 18,
|
|
313
313
|
# },
|
|
314
314
|
# }
|
|
315
|
-
marketType = '
|
|
315
|
+
marketType = 'spot'
|
|
316
316
|
marketId = self.safe_string(ticker, 'id')
|
|
317
317
|
quote = self.safe_string(ticker, 'quote')
|
|
318
318
|
symbol = self.safe_symbol(marketId, market, None, marketType)
|
ccxt/base/exchange.py
CHANGED
ccxt/bitbarg.py
CHANGED
|
@@ -138,8 +138,8 @@ class bitbarg(Exchange, ImplicitAPI):
|
|
|
138
138
|
'baseId': baseId,
|
|
139
139
|
'quoteId': quoteId,
|
|
140
140
|
'settleId': None,
|
|
141
|
-
'type': '
|
|
142
|
-
'spot':
|
|
141
|
+
'type': 'spot',
|
|
142
|
+
'spot': True,
|
|
143
143
|
'margin': False,
|
|
144
144
|
'swap': False,
|
|
145
145
|
'future': False,
|
|
@@ -213,7 +213,7 @@ class bitbarg(Exchange, ImplicitAPI):
|
|
|
213
213
|
request = {
|
|
214
214
|
'pageSize': -1,
|
|
215
215
|
}
|
|
216
|
-
response = self.publicGetApiV1Currencies(
|
|
216
|
+
response = self.publicGetApiV1Currencies(request)
|
|
217
217
|
data = self.safe_dict(response, 'result', {})
|
|
218
218
|
items = self.safe_list(data, 'items', [])
|
|
219
219
|
result = {}
|
|
@@ -261,7 +261,7 @@ class bitbarg(Exchange, ImplicitAPI):
|
|
|
261
261
|
# "isFavorite": False,
|
|
262
262
|
# "chart": [...]
|
|
263
263
|
# }
|
|
264
|
-
marketType = '
|
|
264
|
+
marketType = 'spot'
|
|
265
265
|
marketId = self.safe_string(ticker, 'coin') + '/' + 'USDT'
|
|
266
266
|
symbol = self.safe_symbol(marketId, market, None, marketType)
|
|
267
267
|
last = self.safe_float(ticker, 'price', 0)
|
ccxt/cafearz.py
CHANGED
|
@@ -22,7 +22,7 @@ class cafearz(Exchange, ImplicitAPI):
|
|
|
22
22
|
'pro': False,
|
|
23
23
|
'has': {
|
|
24
24
|
'CORS': None,
|
|
25
|
-
'spot':
|
|
25
|
+
'spot': True,
|
|
26
26
|
'margin': False,
|
|
27
27
|
'swap': False,
|
|
28
28
|
'future': False,
|
|
@@ -168,7 +168,7 @@ class cafearz(Exchange, ImplicitAPI):
|
|
|
168
168
|
'baseId': baseId,
|
|
169
169
|
'quoteId': quoteId,
|
|
170
170
|
'settleId': None,
|
|
171
|
-
'type': '
|
|
171
|
+
'type': 'spot',
|
|
172
172
|
'spot': False,
|
|
173
173
|
'margin': False,
|
|
174
174
|
'swap': False,
|
ccxt/kifpoolme.py
CHANGED
|
@@ -200,7 +200,7 @@ class kifpoolme(Exchange, ImplicitAPI):
|
|
|
200
200
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
|
201
201
|
:returns dict[]: an array of objects representing market data
|
|
202
202
|
"""
|
|
203
|
-
response = self.publicGetApiSpotPrice(
|
|
203
|
+
response = self.publicGetApiSpotPrice()
|
|
204
204
|
result = []
|
|
205
205
|
# Response is an array of coin objects
|
|
206
206
|
for i in range(0, len(response)):
|
ccxt/pro/__init__.py
CHANGED
ccxt/tetherland.py
CHANGED
|
@@ -244,7 +244,7 @@ class tetherland(Exchange, ImplicitAPI):
|
|
|
244
244
|
symbols = self.market_symbols(symbols)
|
|
245
245
|
response = self.publicGetApiV5Currencies(params)
|
|
246
246
|
markets = self.safe_list(response, 'data')
|
|
247
|
-
result =
|
|
247
|
+
result = {}
|
|
248
248
|
quotes = ['USDT', 'IRT']
|
|
249
249
|
for i in range(0, len(markets)):
|
|
250
250
|
for key in range(0, len(quotes)):
|
|
@@ -312,7 +312,7 @@ class tetherland(Exchange, ImplicitAPI):
|
|
|
312
312
|
# 'priority': 18,
|
|
313
313
|
# },
|
|
314
314
|
# }
|
|
315
|
-
marketType = '
|
|
315
|
+
marketType = 'spot'
|
|
316
316
|
marketId = self.safe_string(ticker, 'id')
|
|
317
317
|
quote = self.safe_string(ticker, 'quote')
|
|
318
318
|
symbol = self.safe_symbol(marketId, market, None, marketType)
|