ccxt 4.3.30__py2.py3-none-any.whl → 4.3.32__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/abstract/binance.py +2 -0
- ccxt/abstract/binancecoinm.py +2 -0
- ccxt/abstract/binanceus.py +2 -0
- ccxt/abstract/binanceusdm.py +2 -0
- ccxt/ace.py +14 -14
- ccxt/alpaca.py +16 -16
- ccxt/ascendex.py +46 -46
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +14 -14
- ccxt/async_support/alpaca.py +16 -16
- ccxt/async_support/ascendex.py +46 -46
- ccxt/async_support/base/exchange.py +23 -23
- ccxt/async_support/bigone.py +32 -32
- ccxt/async_support/binance.py +105 -96
- ccxt/async_support/bingx.py +21 -21
- ccxt/async_support/bit2c.py +13 -13
- ccxt/async_support/bitbank.py +19 -19
- ccxt/async_support/bitbns.py +17 -17
- ccxt/async_support/bitfinex.py +24 -24
- ccxt/async_support/bitfinex2.py +142 -109
- ccxt/async_support/bitflyer.py +23 -23
- ccxt/async_support/bitget.py +76 -76
- ccxt/async_support/bithumb.py +20 -20
- ccxt/async_support/bitmart.py +55 -55
- ccxt/async_support/bitmex.py +41 -41
- ccxt/async_support/bitopro.py +30 -30
- ccxt/async_support/bitrue.py +37 -37
- ccxt/async_support/bitso.py +30 -30
- ccxt/async_support/bitstamp.py +31 -31
- ccxt/async_support/bitteam.py +26 -26
- ccxt/async_support/bitvavo.py +27 -27
- ccxt/async_support/bl3p.py +8 -8
- ccxt/async_support/blockchaincom.py +24 -24
- ccxt/async_support/blofin.py +37 -37
- ccxt/async_support/btcalpha.py +19 -19
- ccxt/async_support/btcbox.py +11 -11
- ccxt/async_support/btcmarkets.py +22 -22
- ccxt/async_support/btcturk.py +13 -13
- ccxt/async_support/bybit.py +96 -96
- ccxt/async_support/cex.py +21 -21
- ccxt/async_support/coinbase.py +53 -53
- ccxt/async_support/coinbaseexchange.py +29 -29
- ccxt/async_support/coinbaseinternational.py +32 -32
- ccxt/async_support/coincheck.py +14 -14
- ccxt/async_support/coinex.py +208 -175
- ccxt/async_support/coinlist.py +35 -35
- ccxt/async_support/coinmate.py +22 -22
- ccxt/async_support/coinmetro.py +22 -22
- ccxt/async_support/coinone.py +18 -18
- ccxt/async_support/coinsph.py +32 -32
- ccxt/async_support/coinspot.py +8 -8
- ccxt/async_support/cryptocom.py +43 -43
- ccxt/async_support/currencycom.py +33 -33
- ccxt/async_support/delta.py +35 -35
- ccxt/async_support/deribit.py +54 -54
- ccxt/async_support/digifinex.py +56 -56
- ccxt/async_support/exmo.py +34 -34
- ccxt/async_support/gate.py +60 -60
- ccxt/async_support/gemini.py +24 -24
- ccxt/async_support/hitbtc.py +51 -51
- ccxt/async_support/hollaex.py +29 -29
- ccxt/async_support/htx.py +73 -73
- ccxt/async_support/huobijp.py +30 -30
- ccxt/async_support/hyperliquid.py +58 -58
- ccxt/async_support/idex.py +33 -33
- ccxt/async_support/independentreserve.py +12 -12
- ccxt/async_support/indodax.py +21 -21
- ccxt/async_support/kraken.py +46 -51
- ccxt/async_support/krakenfutures.py +29 -29
- ccxt/async_support/kucoin.py +51 -51
- ccxt/async_support/kucoinfutures.py +33 -33
- ccxt/async_support/kuna.py +27 -27
- ccxt/async_support/latoken.py +27 -27
- ccxt/async_support/lbank.py +35 -35
- ccxt/async_support/luno.py +19 -19
- ccxt/async_support/lykke.py +20 -20
- ccxt/async_support/mercado.py +17 -17
- ccxt/async_support/mexc.py +64 -64
- ccxt/async_support/ndax.py +38 -38
- ccxt/async_support/novadax.py +26 -26
- ccxt/async_support/oceanex.py +21 -21
- ccxt/async_support/okcoin.py +35 -35
- ccxt/async_support/okx.py +85 -85
- ccxt/async_support/onetrading.py +32 -32
- ccxt/async_support/p2b.py +14 -14
- ccxt/async_support/paymium.py +12 -12
- ccxt/async_support/phemex.py +50 -50
- ccxt/async_support/poloniex.py +35 -35
- ccxt/async_support/poloniexfutures.py +25 -21
- ccxt/async_support/probit.py +30 -30
- ccxt/async_support/timex.py +22 -22
- ccxt/async_support/tokocrypto.py +26 -26
- ccxt/async_support/tradeogre.py +12 -12
- ccxt/async_support/upbit.py +28 -28
- ccxt/async_support/wavesexchange.py +33 -33
- ccxt/async_support/wazirx.py +21 -21
- ccxt/async_support/whitebit.py +37 -37
- ccxt/async_support/woo.py +51 -51
- ccxt/async_support/woofipro.py +46 -46
- ccxt/async_support/yobit.py +20 -20
- ccxt/async_support/zaif.py +12 -12
- ccxt/async_support/zonda.py +22 -22
- ccxt/base/exchange.py +48 -36
- ccxt/base/types.py +13 -0
- ccxt/bigone.py +32 -32
- ccxt/binance.py +105 -96
- ccxt/bingx.py +21 -21
- ccxt/bit2c.py +13 -13
- ccxt/bitbank.py +19 -19
- ccxt/bitbns.py +17 -17
- ccxt/bitfinex.py +24 -24
- ccxt/bitfinex2.py +142 -109
- ccxt/bitflyer.py +23 -23
- ccxt/bitget.py +76 -76
- ccxt/bithumb.py +20 -20
- ccxt/bitmart.py +55 -55
- ccxt/bitmex.py +41 -41
- ccxt/bitopro.py +30 -30
- ccxt/bitrue.py +37 -37
- ccxt/bitso.py +30 -30
- ccxt/bitstamp.py +31 -31
- ccxt/bitteam.py +26 -26
- ccxt/bitvavo.py +27 -27
- ccxt/bl3p.py +8 -8
- ccxt/blockchaincom.py +24 -24
- ccxt/blofin.py +37 -37
- ccxt/btcalpha.py +19 -19
- ccxt/btcbox.py +11 -11
- ccxt/btcmarkets.py +22 -22
- ccxt/btcturk.py +13 -13
- ccxt/bybit.py +96 -96
- ccxt/cex.py +21 -21
- ccxt/coinbase.py +53 -53
- ccxt/coinbaseexchange.py +29 -29
- ccxt/coinbaseinternational.py +32 -32
- ccxt/coincheck.py +14 -14
- ccxt/coinex.py +208 -175
- ccxt/coinlist.py +35 -35
- ccxt/coinmate.py +22 -22
- ccxt/coinmetro.py +22 -22
- ccxt/coinone.py +18 -18
- ccxt/coinsph.py +32 -32
- ccxt/coinspot.py +8 -8
- ccxt/cryptocom.py +43 -43
- ccxt/currencycom.py +33 -33
- ccxt/delta.py +35 -35
- ccxt/deribit.py +54 -54
- ccxt/digifinex.py +56 -56
- ccxt/exmo.py +34 -34
- ccxt/gate.py +60 -60
- ccxt/gemini.py +24 -24
- ccxt/hitbtc.py +51 -51
- ccxt/hollaex.py +29 -29
- ccxt/htx.py +73 -73
- ccxt/huobijp.py +30 -30
- ccxt/hyperliquid.py +58 -58
- ccxt/idex.py +33 -33
- ccxt/independentreserve.py +12 -12
- ccxt/indodax.py +21 -21
- ccxt/kraken.py +46 -51
- ccxt/krakenfutures.py +29 -29
- ccxt/kucoin.py +51 -51
- ccxt/kucoinfutures.py +33 -33
- ccxt/kuna.py +27 -27
- ccxt/latoken.py +27 -27
- ccxt/lbank.py +35 -35
- ccxt/luno.py +19 -19
- ccxt/lykke.py +20 -20
- ccxt/mercado.py +17 -17
- ccxt/mexc.py +64 -64
- ccxt/ndax.py +38 -38
- ccxt/novadax.py +26 -26
- ccxt/oceanex.py +21 -21
- ccxt/okcoin.py +35 -35
- ccxt/okx.py +85 -85
- ccxt/onetrading.py +32 -32
- ccxt/p2b.py +14 -14
- ccxt/paymium.py +12 -12
- ccxt/phemex.py +50 -50
- ccxt/poloniex.py +35 -35
- ccxt/poloniexfutures.py +25 -21
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/alpaca.py +8 -8
- ccxt/pro/ascendex.py +4 -4
- ccxt/pro/binance.py +56 -56
- ccxt/pro/bingx.py +5 -5
- ccxt/pro/bitfinex.py +6 -6
- ccxt/pro/bitfinex2.py +10 -10
- ccxt/pro/bitget.py +17 -17
- ccxt/pro/bithumb.py +6 -6
- ccxt/pro/bitmart.py +8 -8
- ccxt/pro/bitmex.py +16 -16
- ccxt/pro/bitopro.py +4 -4
- ccxt/pro/bitrue.py +8 -8
- ccxt/pro/bitstamp.py +5 -5
- ccxt/pro/bitvavo.py +14 -14
- ccxt/pro/blockchaincom.py +7 -7
- ccxt/pro/bybit.py +12 -12
- ccxt/pro/cex.py +20 -20
- ccxt/pro/coinbase.py +32 -2
- ccxt/pro/coinbaseexchange.py +10 -10
- ccxt/pro/coinbaseinternational.py +4 -4
- ccxt/pro/coincheck.py +2 -2
- ccxt/pro/coinex.py +15 -15
- ccxt/pro/coinone.py +4 -4
- ccxt/pro/cryptocom.py +11 -11
- ccxt/pro/currencycom.py +4 -4
- ccxt/pro/deribit.py +9 -9
- ccxt/pro/exmo.py +9 -9
- ccxt/pro/gate.py +12 -12
- ccxt/pro/gemini.py +11 -11
- ccxt/pro/hitbtc.py +13 -13
- ccxt/pro/hollaex.py +6 -6
- ccxt/pro/htx.py +15 -15
- ccxt/pro/huobijp.py +16 -16
- ccxt/pro/hyperliquid.py +9 -9
- ccxt/pro/idex.py +12 -12
- ccxt/pro/independentreserve.py +2 -2
- ccxt/pro/kraken.py +14 -14
- ccxt/pro/krakenfutures.py +12 -12
- ccxt/pro/kucoin.py +12 -12
- ccxt/pro/kucoinfutures.py +16 -16
- ccxt/pro/lbank.py +12 -12
- ccxt/pro/luno.py +4 -4
- ccxt/pro/mexc.py +14 -14
- ccxt/pro/ndax.py +12 -12
- ccxt/pro/okcoin.py +6 -6
- ccxt/pro/okx.py +30 -30
- ccxt/pro/onetrading.py +13 -13
- ccxt/pro/p2b.py +2 -2
- ccxt/pro/phemex.py +9 -9
- ccxt/pro/poloniex.py +9 -9
- ccxt/pro/poloniexfutures.py +10 -10
- ccxt/pro/probit.py +8 -8
- ccxt/pro/upbit.py +1 -1
- ccxt/pro/wazirx.py +10 -10
- ccxt/pro/whitebit.py +8 -8
- ccxt/pro/woo.py +14 -14
- ccxt/pro/woofipro.py +14 -14
- ccxt/probit.py +30 -30
- ccxt/test/base/test_shared_methods.py +1 -0
- ccxt/test/test_async.py +1 -1
- ccxt/test/test_sync.py +1 -1
- ccxt/timex.py +22 -22
- ccxt/tokocrypto.py +26 -26
- ccxt/tradeogre.py +12 -12
- ccxt/upbit.py +28 -28
- ccxt/wavesexchange.py +33 -33
- ccxt/wazirx.py +21 -21
- ccxt/whitebit.py +37 -37
- ccxt/woo.py +51 -51
- ccxt/woofipro.py +46 -46
- ccxt/yobit.py +20 -20
- ccxt/zaif.py +12 -12
- ccxt/zonda.py +22 -22
- {ccxt-4.3.30.dist-info → ccxt-4.3.32.dist-info}/METADATA +4 -4
- {ccxt-4.3.30.dist-info → ccxt-4.3.32.dist-info}/RECORD +260 -260
- {ccxt-4.3.30.dist-info → ccxt-4.3.32.dist-info}/WHEEL +0 -0
- {ccxt-4.3.30.dist-info → ccxt-4.3.32.dist-info}/top_level.txt +0 -0
ccxt/async_support/hollaex.py
CHANGED
@@ -374,7 +374,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
374
374
|
#
|
375
375
|
coins = self.safe_value(response, 'coins', {})
|
376
376
|
keys = list(coins.keys())
|
377
|
-
result = {}
|
377
|
+
result: dict = {}
|
378
378
|
for i in range(0, len(keys)):
|
379
379
|
key = keys[i]
|
380
380
|
currency = coins[key]
|
@@ -424,7 +424,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
424
424
|
"""
|
425
425
|
await self.load_markets()
|
426
426
|
response = await self.publicGetOrderbooks(params)
|
427
|
-
result = {}
|
427
|
+
result: dict = {}
|
428
428
|
marketIds = list(response.keys())
|
429
429
|
for i in range(0, len(marketIds)):
|
430
430
|
marketId = marketIds[i]
|
@@ -445,7 +445,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
445
445
|
"""
|
446
446
|
await self.load_markets()
|
447
447
|
market = self.market(symbol)
|
448
|
-
request = {
|
448
|
+
request: dict = {
|
449
449
|
'symbol': market['id'],
|
450
450
|
}
|
451
451
|
response = await self.publicGetOrderbook(self.extend(request, params))
|
@@ -482,7 +482,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
482
482
|
"""
|
483
483
|
await self.load_markets()
|
484
484
|
market = self.market(symbol)
|
485
|
-
request = {
|
485
|
+
request: dict = {
|
486
486
|
'symbol': market['id'],
|
487
487
|
}
|
488
488
|
response = await self.publicGetTicker(self.extend(request, params))
|
@@ -528,7 +528,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
528
528
|
return self.parse_tickers(response, symbols)
|
529
529
|
|
530
530
|
def parse_tickers(self, tickers, symbols: Strings = None, params={}) -> Tickers:
|
531
|
-
result = {}
|
531
|
+
result: dict = {}
|
532
532
|
keys = list(tickers.keys())
|
533
533
|
for i in range(0, len(keys)):
|
534
534
|
key = keys[i]
|
@@ -606,7 +606,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
606
606
|
"""
|
607
607
|
await self.load_markets()
|
608
608
|
market = self.market(symbol)
|
609
|
-
request = {
|
609
|
+
request: dict = {
|
610
610
|
'symbol': market['id'],
|
611
611
|
}
|
612
612
|
response = await self.publicGetTrades(self.extend(request, params))
|
@@ -626,7 +626,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
626
626
|
trades = self.safe_list(response, market['id'], [])
|
627
627
|
return self.parse_trades(trades, market, since, limit)
|
628
628
|
|
629
|
-
def parse_trade(self, trade, market: Market = None) -> Trade:
|
629
|
+
def parse_trade(self, trade: dict, market: Market = None) -> Trade:
|
630
630
|
#
|
631
631
|
# fetchTrades(public)
|
632
632
|
#
|
@@ -721,7 +721,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
721
721
|
fees = self.safe_value(firstTier, 'fees', {})
|
722
722
|
makerFees = self.safe_value(fees, 'maker', {})
|
723
723
|
takerFees = self.safe_value(fees, 'taker', {})
|
724
|
-
result = {}
|
724
|
+
result: dict = {}
|
725
725
|
for i in range(0, len(self.symbols)):
|
726
726
|
symbol = self.symbols[i]
|
727
727
|
market = self.market(symbol)
|
@@ -750,7 +750,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
750
750
|
"""
|
751
751
|
await self.load_markets()
|
752
752
|
market = self.market(symbol)
|
753
|
-
request = {
|
753
|
+
request: dict = {
|
754
754
|
'symbol': market['id'],
|
755
755
|
'resolution': self.safe_string(self.timeframes, timeframe, timeframe),
|
756
756
|
}
|
@@ -809,7 +809,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
809
809
|
|
810
810
|
def parse_balance(self, response) -> Balances:
|
811
811
|
timestamp = self.parse8601(self.safe_string(response, 'updated_at'))
|
812
|
-
result = {
|
812
|
+
result: dict = {
|
813
813
|
'info': response,
|
814
814
|
'timestamp': timestamp,
|
815
815
|
'datetime': self.iso8601(timestamp),
|
@@ -857,7 +857,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
857
857
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
858
858
|
"""
|
859
859
|
await self.load_markets()
|
860
|
-
request = {
|
860
|
+
request: dict = {
|
861
861
|
'order_id': id,
|
862
862
|
}
|
863
863
|
response = await self.privateGetOrder(self.extend(request, params))
|
@@ -897,7 +897,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
897
897
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
898
898
|
:returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
899
899
|
"""
|
900
|
-
request = {
|
900
|
+
request: dict = {
|
901
901
|
'open': True,
|
902
902
|
}
|
903
903
|
return await self.fetch_orders(symbol, since, limit, self.extend(request, params))
|
@@ -912,7 +912,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
912
912
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
913
913
|
:returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
914
914
|
"""
|
915
|
-
request = {
|
915
|
+
request: dict = {
|
916
916
|
'open': False,
|
917
917
|
}
|
918
918
|
return await self.fetch_orders(symbol, since, limit, self.extend(request, params))
|
@@ -926,7 +926,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
926
926
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
927
927
|
"""
|
928
928
|
await self.load_markets()
|
929
|
-
request = {
|
929
|
+
request: dict = {
|
930
930
|
'order_id': id,
|
931
931
|
}
|
932
932
|
response = await self.privateGetOrder(self.extend(request, params))
|
@@ -969,7 +969,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
969
969
|
"""
|
970
970
|
await self.load_markets()
|
971
971
|
market = None
|
972
|
-
request = {
|
972
|
+
request: dict = {
|
973
973
|
# 'symbol': market['id'],
|
974
974
|
# 'side': 'buy', # 'sell'
|
975
975
|
# 'status': 'new', # 'filled', 'pfilled', 'canceled'
|
@@ -1021,8 +1021,8 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1021
1021
|
data = self.safe_list(response, 'data', [])
|
1022
1022
|
return self.parse_orders(data, market, since, limit)
|
1023
1023
|
|
1024
|
-
def parse_order_status(self, status):
|
1025
|
-
statuses = {
|
1024
|
+
def parse_order_status(self, status: Str):
|
1025
|
+
statuses: dict = {
|
1026
1026
|
'new': 'open',
|
1027
1027
|
'pfilled': 'open',
|
1028
1028
|
'filled': 'closed',
|
@@ -1030,7 +1030,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1030
1030
|
}
|
1031
1031
|
return self.safe_string(statuses, status, status)
|
1032
1032
|
|
1033
|
-
def parse_order(self, order, market: Market = None) -> Order:
|
1033
|
+
def parse_order(self, order: dict, market: Market = None) -> Order:
|
1034
1034
|
#
|
1035
1035
|
# createOrder, fetchOpenOrder, fetchOpenOrders
|
1036
1036
|
#
|
@@ -1114,7 +1114,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1114
1114
|
await self.load_markets()
|
1115
1115
|
market = self.market(symbol)
|
1116
1116
|
convertedAmount = float(self.amount_to_precision(symbol, amount))
|
1117
|
-
request = {
|
1117
|
+
request: dict = {
|
1118
1118
|
'symbol': market['id'],
|
1119
1119
|
'side': side,
|
1120
1120
|
'size': self.normalize_number_if_needed(convertedAmount),
|
@@ -1171,7 +1171,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1171
1171
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
1172
1172
|
"""
|
1173
1173
|
await self.load_markets()
|
1174
|
-
request = {
|
1174
|
+
request: dict = {
|
1175
1175
|
'order_id': id,
|
1176
1176
|
}
|
1177
1177
|
response = await self.privateDeleteOrder(self.extend(request, params))
|
@@ -1201,7 +1201,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1201
1201
|
if symbol is None:
|
1202
1202
|
raise ArgumentsRequired(self.id + ' cancelAllOrders() requires a symbol argument')
|
1203
1203
|
await self.load_markets()
|
1204
|
-
request = {}
|
1204
|
+
request: dict = {}
|
1205
1205
|
market = None
|
1206
1206
|
market = self.market(symbol)
|
1207
1207
|
request['symbol'] = market['id']
|
@@ -1234,7 +1234,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1234
1234
|
:returns Trade[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1235
1235
|
"""
|
1236
1236
|
await self.load_markets()
|
1237
|
-
request = {
|
1237
|
+
request: dict = {
|
1238
1238
|
# 'symbol': market['id'],
|
1239
1239
|
# 'limit': 50, # default 50, max 100
|
1240
1240
|
# 'page': 1, # page of data to retrieve
|
@@ -1299,7 +1299,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1299
1299
|
'info': depositAddress,
|
1300
1300
|
}
|
1301
1301
|
|
1302
|
-
async def fetch_deposit_addresses(self, codes:
|
1302
|
+
async def fetch_deposit_addresses(self, codes: Strings = None, params={}):
|
1303
1303
|
"""
|
1304
1304
|
fetch deposit addresses for multiple currencies and chain types
|
1305
1305
|
:see: https://apidocs.hollaex.com/#get-user
|
@@ -1371,7 +1371,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1371
1371
|
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1372
1372
|
"""
|
1373
1373
|
await self.load_markets()
|
1374
|
-
request = {
|
1374
|
+
request: dict = {
|
1375
1375
|
# 'currency': currency['id'],
|
1376
1376
|
# 'limit': 50, # default 50, max 100
|
1377
1377
|
# 'page': 1, # page of data to retrieve
|
@@ -1425,7 +1425,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1425
1425
|
:returns dict: a `transaction structure <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1426
1426
|
"""
|
1427
1427
|
await self.load_markets()
|
1428
|
-
request = {
|
1428
|
+
request: dict = {
|
1429
1429
|
'transaction_id': id,
|
1430
1430
|
}
|
1431
1431
|
currency = None
|
@@ -1471,7 +1471,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1471
1471
|
:returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
|
1472
1472
|
"""
|
1473
1473
|
await self.load_markets()
|
1474
|
-
request = {
|
1474
|
+
request: dict = {
|
1475
1475
|
# 'currency': currency['id'],
|
1476
1476
|
# 'limit': 50, # default 50, max 100
|
1477
1477
|
# 'page': 1, # page of data to retrieve
|
@@ -1515,7 +1515,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1515
1515
|
data = self.safe_list(response, 'data', [])
|
1516
1516
|
return self.parse_transactions(data, currency, since, limit)
|
1517
1517
|
|
1518
|
-
def parse_transaction(self, transaction, currency: Currency = None) -> Transaction:
|
1518
|
+
def parse_transaction(self, transaction: dict, currency: Currency = None) -> Transaction:
|
1519
1519
|
#
|
1520
1520
|
# fetchWithdrawals, fetchDeposits
|
1521
1521
|
#
|
@@ -1631,7 +1631,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1631
1631
|
if network is None:
|
1632
1632
|
raise ArgumentsRequired(self.id + ' withdraw() requires a network parameter')
|
1633
1633
|
params = self.omit(params, 'network')
|
1634
|
-
request = {
|
1634
|
+
request: dict = {
|
1635
1635
|
'currency': currency['id'],
|
1636
1636
|
'amount': amount,
|
1637
1637
|
'address': address,
|
@@ -1681,7 +1681,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1681
1681
|
# "owner_id":1
|
1682
1682
|
# }
|
1683
1683
|
#
|
1684
|
-
result = {
|
1684
|
+
result: dict = {
|
1685
1685
|
'info': fee,
|
1686
1686
|
'withdraw': {
|
1687
1687
|
'fee': None,
|