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 CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  # ----------------------------------------------------------------------------
24
24
 
25
- __version__ = '4.9.11'
25
+ __version__ = '4.9.13'
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.9.11'
7
+ __version__ = '4.9.13'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.9.11'
5
+ __version__ = '4.9.13'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -138,8 +138,8 @@ class bitbarg(Exchange, ImplicitAPI):
138
138
  'baseId': baseId,
139
139
  'quoteId': quoteId,
140
140
  'settleId': None,
141
- 'type': 'otc',
142
- 'spot': False,
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(self.extend(request, params))
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 = 'otc'
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)
@@ -22,7 +22,7 @@ class cafearz(Exchange, ImplicitAPI):
22
22
  'pro': False,
23
23
  'has': {
24
24
  'CORS': None,
25
- 'spot': False,
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': 'otc',
171
+ 'type': 'spot',
172
172
  'spot': False,
173
173
  'margin': False,
174
174
  'swap': False,
@@ -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(params)
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)):
@@ -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 = 'otc'
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
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.9.11'
7
+ __version__ = '4.9.13'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
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': 'otc',
142
- 'spot': False,
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(self.extend(request, params))
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 = 'otc'
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': False,
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': 'otc',
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(params)
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
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.9.11'
7
+ __version__ = '4.9.13'
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
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 = 'otc'
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)