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.
Files changed (260) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/binance.py +2 -0
  3. ccxt/abstract/binancecoinm.py +2 -0
  4. ccxt/abstract/binanceus.py +2 -0
  5. ccxt/abstract/binanceusdm.py +2 -0
  6. ccxt/ace.py +14 -14
  7. ccxt/alpaca.py +16 -16
  8. ccxt/ascendex.py +46 -46
  9. ccxt/async_support/__init__.py +1 -1
  10. ccxt/async_support/ace.py +14 -14
  11. ccxt/async_support/alpaca.py +16 -16
  12. ccxt/async_support/ascendex.py +46 -46
  13. ccxt/async_support/base/exchange.py +23 -23
  14. ccxt/async_support/bigone.py +32 -32
  15. ccxt/async_support/binance.py +105 -96
  16. ccxt/async_support/bingx.py +21 -21
  17. ccxt/async_support/bit2c.py +13 -13
  18. ccxt/async_support/bitbank.py +19 -19
  19. ccxt/async_support/bitbns.py +17 -17
  20. ccxt/async_support/bitfinex.py +24 -24
  21. ccxt/async_support/bitfinex2.py +142 -109
  22. ccxt/async_support/bitflyer.py +23 -23
  23. ccxt/async_support/bitget.py +76 -76
  24. ccxt/async_support/bithumb.py +20 -20
  25. ccxt/async_support/bitmart.py +55 -55
  26. ccxt/async_support/bitmex.py +41 -41
  27. ccxt/async_support/bitopro.py +30 -30
  28. ccxt/async_support/bitrue.py +37 -37
  29. ccxt/async_support/bitso.py +30 -30
  30. ccxt/async_support/bitstamp.py +31 -31
  31. ccxt/async_support/bitteam.py +26 -26
  32. ccxt/async_support/bitvavo.py +27 -27
  33. ccxt/async_support/bl3p.py +8 -8
  34. ccxt/async_support/blockchaincom.py +24 -24
  35. ccxt/async_support/blofin.py +37 -37
  36. ccxt/async_support/btcalpha.py +19 -19
  37. ccxt/async_support/btcbox.py +11 -11
  38. ccxt/async_support/btcmarkets.py +22 -22
  39. ccxt/async_support/btcturk.py +13 -13
  40. ccxt/async_support/bybit.py +96 -96
  41. ccxt/async_support/cex.py +21 -21
  42. ccxt/async_support/coinbase.py +53 -53
  43. ccxt/async_support/coinbaseexchange.py +29 -29
  44. ccxt/async_support/coinbaseinternational.py +32 -32
  45. ccxt/async_support/coincheck.py +14 -14
  46. ccxt/async_support/coinex.py +208 -175
  47. ccxt/async_support/coinlist.py +35 -35
  48. ccxt/async_support/coinmate.py +22 -22
  49. ccxt/async_support/coinmetro.py +22 -22
  50. ccxt/async_support/coinone.py +18 -18
  51. ccxt/async_support/coinsph.py +32 -32
  52. ccxt/async_support/coinspot.py +8 -8
  53. ccxt/async_support/cryptocom.py +43 -43
  54. ccxt/async_support/currencycom.py +33 -33
  55. ccxt/async_support/delta.py +35 -35
  56. ccxt/async_support/deribit.py +54 -54
  57. ccxt/async_support/digifinex.py +56 -56
  58. ccxt/async_support/exmo.py +34 -34
  59. ccxt/async_support/gate.py +60 -60
  60. ccxt/async_support/gemini.py +24 -24
  61. ccxt/async_support/hitbtc.py +51 -51
  62. ccxt/async_support/hollaex.py +29 -29
  63. ccxt/async_support/htx.py +73 -73
  64. ccxt/async_support/huobijp.py +30 -30
  65. ccxt/async_support/hyperliquid.py +58 -58
  66. ccxt/async_support/idex.py +33 -33
  67. ccxt/async_support/independentreserve.py +12 -12
  68. ccxt/async_support/indodax.py +21 -21
  69. ccxt/async_support/kraken.py +46 -51
  70. ccxt/async_support/krakenfutures.py +29 -29
  71. ccxt/async_support/kucoin.py +51 -51
  72. ccxt/async_support/kucoinfutures.py +33 -33
  73. ccxt/async_support/kuna.py +27 -27
  74. ccxt/async_support/latoken.py +27 -27
  75. ccxt/async_support/lbank.py +35 -35
  76. ccxt/async_support/luno.py +19 -19
  77. ccxt/async_support/lykke.py +20 -20
  78. ccxt/async_support/mercado.py +17 -17
  79. ccxt/async_support/mexc.py +64 -64
  80. ccxt/async_support/ndax.py +38 -38
  81. ccxt/async_support/novadax.py +26 -26
  82. ccxt/async_support/oceanex.py +21 -21
  83. ccxt/async_support/okcoin.py +35 -35
  84. ccxt/async_support/okx.py +85 -85
  85. ccxt/async_support/onetrading.py +32 -32
  86. ccxt/async_support/p2b.py +14 -14
  87. ccxt/async_support/paymium.py +12 -12
  88. ccxt/async_support/phemex.py +50 -50
  89. ccxt/async_support/poloniex.py +35 -35
  90. ccxt/async_support/poloniexfutures.py +25 -21
  91. ccxt/async_support/probit.py +30 -30
  92. ccxt/async_support/timex.py +22 -22
  93. ccxt/async_support/tokocrypto.py +26 -26
  94. ccxt/async_support/tradeogre.py +12 -12
  95. ccxt/async_support/upbit.py +28 -28
  96. ccxt/async_support/wavesexchange.py +33 -33
  97. ccxt/async_support/wazirx.py +21 -21
  98. ccxt/async_support/whitebit.py +37 -37
  99. ccxt/async_support/woo.py +51 -51
  100. ccxt/async_support/woofipro.py +46 -46
  101. ccxt/async_support/yobit.py +20 -20
  102. ccxt/async_support/zaif.py +12 -12
  103. ccxt/async_support/zonda.py +22 -22
  104. ccxt/base/exchange.py +48 -36
  105. ccxt/base/types.py +13 -0
  106. ccxt/bigone.py +32 -32
  107. ccxt/binance.py +105 -96
  108. ccxt/bingx.py +21 -21
  109. ccxt/bit2c.py +13 -13
  110. ccxt/bitbank.py +19 -19
  111. ccxt/bitbns.py +17 -17
  112. ccxt/bitfinex.py +24 -24
  113. ccxt/bitfinex2.py +142 -109
  114. ccxt/bitflyer.py +23 -23
  115. ccxt/bitget.py +76 -76
  116. ccxt/bithumb.py +20 -20
  117. ccxt/bitmart.py +55 -55
  118. ccxt/bitmex.py +41 -41
  119. ccxt/bitopro.py +30 -30
  120. ccxt/bitrue.py +37 -37
  121. ccxt/bitso.py +30 -30
  122. ccxt/bitstamp.py +31 -31
  123. ccxt/bitteam.py +26 -26
  124. ccxt/bitvavo.py +27 -27
  125. ccxt/bl3p.py +8 -8
  126. ccxt/blockchaincom.py +24 -24
  127. ccxt/blofin.py +37 -37
  128. ccxt/btcalpha.py +19 -19
  129. ccxt/btcbox.py +11 -11
  130. ccxt/btcmarkets.py +22 -22
  131. ccxt/btcturk.py +13 -13
  132. ccxt/bybit.py +96 -96
  133. ccxt/cex.py +21 -21
  134. ccxt/coinbase.py +53 -53
  135. ccxt/coinbaseexchange.py +29 -29
  136. ccxt/coinbaseinternational.py +32 -32
  137. ccxt/coincheck.py +14 -14
  138. ccxt/coinex.py +208 -175
  139. ccxt/coinlist.py +35 -35
  140. ccxt/coinmate.py +22 -22
  141. ccxt/coinmetro.py +22 -22
  142. ccxt/coinone.py +18 -18
  143. ccxt/coinsph.py +32 -32
  144. ccxt/coinspot.py +8 -8
  145. ccxt/cryptocom.py +43 -43
  146. ccxt/currencycom.py +33 -33
  147. ccxt/delta.py +35 -35
  148. ccxt/deribit.py +54 -54
  149. ccxt/digifinex.py +56 -56
  150. ccxt/exmo.py +34 -34
  151. ccxt/gate.py +60 -60
  152. ccxt/gemini.py +24 -24
  153. ccxt/hitbtc.py +51 -51
  154. ccxt/hollaex.py +29 -29
  155. ccxt/htx.py +73 -73
  156. ccxt/huobijp.py +30 -30
  157. ccxt/hyperliquid.py +58 -58
  158. ccxt/idex.py +33 -33
  159. ccxt/independentreserve.py +12 -12
  160. ccxt/indodax.py +21 -21
  161. ccxt/kraken.py +46 -51
  162. ccxt/krakenfutures.py +29 -29
  163. ccxt/kucoin.py +51 -51
  164. ccxt/kucoinfutures.py +33 -33
  165. ccxt/kuna.py +27 -27
  166. ccxt/latoken.py +27 -27
  167. ccxt/lbank.py +35 -35
  168. ccxt/luno.py +19 -19
  169. ccxt/lykke.py +20 -20
  170. ccxt/mercado.py +17 -17
  171. ccxt/mexc.py +64 -64
  172. ccxt/ndax.py +38 -38
  173. ccxt/novadax.py +26 -26
  174. ccxt/oceanex.py +21 -21
  175. ccxt/okcoin.py +35 -35
  176. ccxt/okx.py +85 -85
  177. ccxt/onetrading.py +32 -32
  178. ccxt/p2b.py +14 -14
  179. ccxt/paymium.py +12 -12
  180. ccxt/phemex.py +50 -50
  181. ccxt/poloniex.py +35 -35
  182. ccxt/poloniexfutures.py +25 -21
  183. ccxt/pro/__init__.py +1 -1
  184. ccxt/pro/alpaca.py +8 -8
  185. ccxt/pro/ascendex.py +4 -4
  186. ccxt/pro/binance.py +56 -56
  187. ccxt/pro/bingx.py +5 -5
  188. ccxt/pro/bitfinex.py +6 -6
  189. ccxt/pro/bitfinex2.py +10 -10
  190. ccxt/pro/bitget.py +17 -17
  191. ccxt/pro/bithumb.py +6 -6
  192. ccxt/pro/bitmart.py +8 -8
  193. ccxt/pro/bitmex.py +16 -16
  194. ccxt/pro/bitopro.py +4 -4
  195. ccxt/pro/bitrue.py +8 -8
  196. ccxt/pro/bitstamp.py +5 -5
  197. ccxt/pro/bitvavo.py +14 -14
  198. ccxt/pro/blockchaincom.py +7 -7
  199. ccxt/pro/bybit.py +12 -12
  200. ccxt/pro/cex.py +20 -20
  201. ccxt/pro/coinbase.py +32 -2
  202. ccxt/pro/coinbaseexchange.py +10 -10
  203. ccxt/pro/coinbaseinternational.py +4 -4
  204. ccxt/pro/coincheck.py +2 -2
  205. ccxt/pro/coinex.py +15 -15
  206. ccxt/pro/coinone.py +4 -4
  207. ccxt/pro/cryptocom.py +11 -11
  208. ccxt/pro/currencycom.py +4 -4
  209. ccxt/pro/deribit.py +9 -9
  210. ccxt/pro/exmo.py +9 -9
  211. ccxt/pro/gate.py +12 -12
  212. ccxt/pro/gemini.py +11 -11
  213. ccxt/pro/hitbtc.py +13 -13
  214. ccxt/pro/hollaex.py +6 -6
  215. ccxt/pro/htx.py +15 -15
  216. ccxt/pro/huobijp.py +16 -16
  217. ccxt/pro/hyperliquid.py +9 -9
  218. ccxt/pro/idex.py +12 -12
  219. ccxt/pro/independentreserve.py +2 -2
  220. ccxt/pro/kraken.py +14 -14
  221. ccxt/pro/krakenfutures.py +12 -12
  222. ccxt/pro/kucoin.py +12 -12
  223. ccxt/pro/kucoinfutures.py +16 -16
  224. ccxt/pro/lbank.py +12 -12
  225. ccxt/pro/luno.py +4 -4
  226. ccxt/pro/mexc.py +14 -14
  227. ccxt/pro/ndax.py +12 -12
  228. ccxt/pro/okcoin.py +6 -6
  229. ccxt/pro/okx.py +30 -30
  230. ccxt/pro/onetrading.py +13 -13
  231. ccxt/pro/p2b.py +2 -2
  232. ccxt/pro/phemex.py +9 -9
  233. ccxt/pro/poloniex.py +9 -9
  234. ccxt/pro/poloniexfutures.py +10 -10
  235. ccxt/pro/probit.py +8 -8
  236. ccxt/pro/upbit.py +1 -1
  237. ccxt/pro/wazirx.py +10 -10
  238. ccxt/pro/whitebit.py +8 -8
  239. ccxt/pro/woo.py +14 -14
  240. ccxt/pro/woofipro.py +14 -14
  241. ccxt/probit.py +30 -30
  242. ccxt/test/base/test_shared_methods.py +1 -0
  243. ccxt/test/test_async.py +1 -1
  244. ccxt/test/test_sync.py +1 -1
  245. ccxt/timex.py +22 -22
  246. ccxt/tokocrypto.py +26 -26
  247. ccxt/tradeogre.py +12 -12
  248. ccxt/upbit.py +28 -28
  249. ccxt/wavesexchange.py +33 -33
  250. ccxt/wazirx.py +21 -21
  251. ccxt/whitebit.py +37 -37
  252. ccxt/woo.py +51 -51
  253. ccxt/woofipro.py +46 -46
  254. ccxt/yobit.py +20 -20
  255. ccxt/zaif.py +12 -12
  256. ccxt/zonda.py +22 -22
  257. {ccxt-4.3.30.dist-info → ccxt-4.3.32.dist-info}/METADATA +4 -4
  258. {ccxt-4.3.30.dist-info → ccxt-4.3.32.dist-info}/RECORD +260 -260
  259. {ccxt-4.3.30.dist-info → ccxt-4.3.32.dist-info}/WHEEL +0 -0
  260. {ccxt-4.3.30.dist-info → ccxt-4.3.32.dist-info}/top_level.txt +0 -0
ccxt/bigone.py CHANGED
@@ -445,14 +445,14 @@ class bigone(Exchange, ImplicitAPI):
445
445
  # }
446
446
  #
447
447
  currenciesData = self.safe_list(data, 'data', [])
448
- result = {}
448
+ result: dict = {}
449
449
  for i in range(0, len(currenciesData)):
450
450
  currency = currenciesData[i]
451
451
  id = self.safe_string(currency, 'symbol')
452
452
  code = self.safe_currency_code(id)
453
453
  name = self.safe_string(currency, 'name')
454
454
  type = 'fiat' if self.safe_bool(currency, 'is_fiat') else 'crypto'
455
- networks = {}
455
+ networks: dict = {}
456
456
  chains = self.safe_list(currency, 'binding_gateways', [])
457
457
  currencyMaxPrecision = self.parse_precision(self.safe_string_2(currency, 'withdrawal_scale', 'scale'))
458
458
  currencyDepositEnabled: Bool = None
@@ -790,7 +790,7 @@ class bigone(Exchange, ImplicitAPI):
790
790
  type = None
791
791
  type, params = self.handle_market_type_and_params('fetchTicker', market, params)
792
792
  if type == 'spot':
793
- request = {
793
+ request: dict = {
794
794
  'asset_pair_name': market['id'],
795
795
  }
796
796
  response = self.publicGetAssetPairsAssetPairNameTicker(self.extend(request, params))
@@ -832,7 +832,7 @@ class bigone(Exchange, ImplicitAPI):
832
832
  type = None
833
833
  type, params = self.handle_market_type_and_params('fetchTickers', market, params)
834
834
  isSpot = type == 'spot'
835
- request = {}
835
+ request: dict = {}
836
836
  symbols = self.market_symbols(symbols)
837
837
  data = None
838
838
  if isSpot:
@@ -930,7 +930,7 @@ class bigone(Exchange, ImplicitAPI):
930
930
  market = self.market(symbol)
931
931
  response = None
932
932
  if market['contract']:
933
- request = {
933
+ request: dict = {
934
934
  'symbol': market['id'],
935
935
  }
936
936
  response = self.contractPublicGetDepthSymbolSnapshot(self.extend(request, params))
@@ -963,7 +963,7 @@ class bigone(Exchange, ImplicitAPI):
963
963
  #
964
964
  return self.parse_contract_order_book(response, market['symbol'], limit)
965
965
  else:
966
- request = {
966
+ request: dict = {
967
967
  'asset_pair_name': market['id'],
968
968
  }
969
969
  if limit is not None:
@@ -1009,7 +1009,7 @@ class bigone(Exchange, ImplicitAPI):
1009
1009
  'nonce': None,
1010
1010
  }
1011
1011
 
1012
- def parse_trade(self, trade, market: Market = None) -> Trade:
1012
+ def parse_trade(self, trade: dict, market: Market = None) -> Trade:
1013
1013
  #
1014
1014
  # fetchTrades(public)
1015
1015
  #
@@ -1078,7 +1078,7 @@ class bigone(Exchange, ImplicitAPI):
1078
1078
  elif takerOrderId is not None:
1079
1079
  orderId = takerOrderId
1080
1080
  id = self.safe_string(trade, 'id')
1081
- result = {
1081
+ result: dict = {
1082
1082
  'id': id,
1083
1083
  'timestamp': timestamp,
1084
1084
  'datetime': self.iso8601(timestamp),
@@ -1146,7 +1146,7 @@ class bigone(Exchange, ImplicitAPI):
1146
1146
  market = self.market(symbol)
1147
1147
  if market['contract']:
1148
1148
  raise BadRequest(self.id + ' fetchTrades() can only fetch trades for spot markets')
1149
- request = {
1149
+ request: dict = {
1150
1150
  'asset_pair_name': market['id'],
1151
1151
  }
1152
1152
  response = self.publicGetAssetPairsAssetPairNameTrades(self.extend(request, params))
@@ -1211,7 +1211,7 @@ class bigone(Exchange, ImplicitAPI):
1211
1211
  raise BadRequest(self.id + ' fetchOHLCV() can only fetch ohlcvs for spot markets')
1212
1212
  if limit is None:
1213
1213
  limit = 100 # default 100, max 500
1214
- request = {
1214
+ request: dict = {
1215
1215
  'asset_pair_name': market['id'],
1216
1216
  'period': self.safe_string(self.timeframes, timeframe, timeframe),
1217
1217
  'limit': limit,
@@ -1249,7 +1249,7 @@ class bigone(Exchange, ImplicitAPI):
1249
1249
  return self.parse_ohlcvs(data, market, timeframe, since, limit)
1250
1250
 
1251
1251
  def parse_balance(self, response) -> Balances:
1252
- result = {
1252
+ result: dict = {
1253
1253
  'info': response,
1254
1254
  'timestamp': None,
1255
1255
  'datetime': None,
@@ -1294,7 +1294,7 @@ class bigone(Exchange, ImplicitAPI):
1294
1294
  return self.parse_balance(response)
1295
1295
 
1296
1296
  def parse_type(self, type: str):
1297
- types = {
1297
+ types: dict = {
1298
1298
  'STOP_LIMIT': 'limit',
1299
1299
  'STOP_MARKET': 'market',
1300
1300
  'LIMIT': 'limit',
@@ -1302,7 +1302,7 @@ class bigone(Exchange, ImplicitAPI):
1302
1302
  }
1303
1303
  return self.safe_string(types, type, type)
1304
1304
 
1305
- def parse_order(self, order, market: Market = None) -> Order:
1305
+ def parse_order(self, order: dict, market: Market = None) -> Order:
1306
1306
  #
1307
1307
  # {
1308
1308
  # "id": "42154072251",
@@ -1419,7 +1419,7 @@ class bigone(Exchange, ImplicitAPI):
1419
1419
  postOnly = None
1420
1420
  postOnly, params = self.handle_post_only((uppercaseType == 'MARKET'), exchangeSpecificParam, params)
1421
1421
  triggerPrice = self.safe_string_n(params, ['triggerPrice', 'stopPrice', 'stop_price'])
1422
- request = {
1422
+ request: dict = {
1423
1423
  'asset_pair_name': market['id'], # asset pair name BTC-USDT, required
1424
1424
  'side': requestSide, # order side one of "ASK"/"BID", required
1425
1425
  'amount': self.amount_to_precision(symbol, amount), # order amount, string, required
@@ -1496,7 +1496,7 @@ class bigone(Exchange, ImplicitAPI):
1496
1496
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1497
1497
  """
1498
1498
  self.load_markets()
1499
- request = {'id': id}
1499
+ request: dict = {'id': id}
1500
1500
  response = self.privatePostOrdersIdCancel(self.extend(request, params))
1501
1501
  # {
1502
1502
  # "id": 10,
@@ -1523,7 +1523,7 @@ class bigone(Exchange, ImplicitAPI):
1523
1523
  """
1524
1524
  self.load_markets()
1525
1525
  market = self.market(symbol)
1526
- request = {
1526
+ request: dict = {
1527
1527
  'asset_pair_name': market['id'],
1528
1528
  }
1529
1529
  response = self.privatePostOrdersCancel(self.extend(request, params))
@@ -1550,7 +1550,7 @@ class bigone(Exchange, ImplicitAPI):
1550
1550
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1551
1551
  """
1552
1552
  self.load_markets()
1553
- request = {'id': id}
1553
+ request: dict = {'id': id}
1554
1554
  response = self.privateGetOrdersId(self.extend(request, params))
1555
1555
  order = self.safe_dict(response, 'data', {})
1556
1556
  return self.parse_order(order)
@@ -1569,7 +1569,7 @@ class bigone(Exchange, ImplicitAPI):
1569
1569
  raise ArgumentsRequired(self.id + ' fetchOrders() requires a symbol argument')
1570
1570
  self.load_markets()
1571
1571
  market = self.market(symbol)
1572
- request = {
1572
+ request: dict = {
1573
1573
  'asset_pair_name': market['id'],
1574
1574
  # 'page_token': 'dxzef', # request page after self page token
1575
1575
  # 'side': 'ASK', # 'ASK' or 'BID', optional
@@ -1616,7 +1616,7 @@ class bigone(Exchange, ImplicitAPI):
1616
1616
  raise ArgumentsRequired(self.id + ' fetchMyTrades() requires a symbol argument')
1617
1617
  self.load_markets()
1618
1618
  market = self.market(symbol)
1619
- request = {
1619
+ request: dict = {
1620
1620
  'asset_pair_name': market['id'],
1621
1621
  # 'page_token': 'dxzef', # request page after self page token
1622
1622
  }
@@ -1660,8 +1660,8 @@ class bigone(Exchange, ImplicitAPI):
1660
1660
  trades = self.safe_list(response, 'data', [])
1661
1661
  return self.parse_trades(trades, market, since, limit)
1662
1662
 
1663
- def parse_order_status(self, status):
1664
- statuses = {
1663
+ def parse_order_status(self, status: Str):
1664
+ statuses: dict = {
1665
1665
  'PENDING': 'open',
1666
1666
  'FILLED': 'closed',
1667
1667
  'CANCELLED': 'canceled',
@@ -1678,7 +1678,7 @@ class bigone(Exchange, ImplicitAPI):
1678
1678
  :param dict [params]: extra parameters specific to the exchange API endpoint
1679
1679
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1680
1680
  """
1681
- request = {
1681
+ request: dict = {
1682
1682
  'state': 'PENDING',
1683
1683
  }
1684
1684
  return self.fetch_orders(symbol, since, limit, self.extend(request, params))
@@ -1693,7 +1693,7 @@ class bigone(Exchange, ImplicitAPI):
1693
1693
  :param dict [params]: extra parameters specific to the exchange API endpoint
1694
1694
  :returns Order[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
1695
1695
  """
1696
- request = {
1696
+ request: dict = {
1697
1697
  'state': 'FILLED',
1698
1698
  }
1699
1699
  return self.fetch_orders(symbol, since, limit, self.extend(request, params))
@@ -1713,7 +1713,7 @@ class bigone(Exchange, ImplicitAPI):
1713
1713
  else:
1714
1714
  self.check_required_credentials()
1715
1715
  nonce = str(self.nonce())
1716
- request = {
1716
+ request: dict = {
1717
1717
  'type': 'OpenAPIV2',
1718
1718
  'sub': self.apiKey,
1719
1719
  'nonce': nonce,
@@ -1740,7 +1740,7 @@ class bigone(Exchange, ImplicitAPI):
1740
1740
  """
1741
1741
  self.load_markets()
1742
1742
  currency = self.currency(code)
1743
- request = {
1743
+ request: dict = {
1744
1744
  'asset_symbol': currency['id'],
1745
1745
  }
1746
1746
  networkCode, paramsOmitted = self.handle_network_code_and_params(params)
@@ -1781,7 +1781,7 @@ class bigone(Exchange, ImplicitAPI):
1781
1781
  }
1782
1782
 
1783
1783
  def parse_transaction_status(self, status):
1784
- statuses = {
1784
+ statuses: dict = {
1785
1785
  # what are other statuses here?
1786
1786
  'WITHHOLD': 'ok', # deposits
1787
1787
  'UNCONFIRMED': 'pending',
@@ -1791,7 +1791,7 @@ class bigone(Exchange, ImplicitAPI):
1791
1791
  }
1792
1792
  return self.safe_string(statuses, status, status)
1793
1793
 
1794
- def parse_transaction(self, transaction, currency: Currency = None) -> Transaction:
1794
+ def parse_transaction(self, transaction: dict, currency: Currency = None) -> Transaction:
1795
1795
  #
1796
1796
  # fetchDeposits
1797
1797
  #
@@ -1889,7 +1889,7 @@ class bigone(Exchange, ImplicitAPI):
1889
1889
  :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1890
1890
  """
1891
1891
  self.load_markets()
1892
- request = {
1892
+ request: dict = {
1893
1893
  # 'page_token': 'dxzef', # request page after self page token
1894
1894
  # 'limit': 50, # optional, default 50
1895
1895
  # 'kind': 'string', # optional - air_drop, big_holder_dividend, default, eosc_to_eos, internal, equally_airdrop, referral_mining, one_holder_dividend, single_customer, snapshotted_airdrop, trade_mining
@@ -1937,7 +1937,7 @@ class bigone(Exchange, ImplicitAPI):
1937
1937
  :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1938
1938
  """
1939
1939
  self.load_markets()
1940
- request = {
1940
+ request: dict = {
1941
1941
  # 'page_token': 'dxzef', # request page after self page token
1942
1942
  # 'limit': 50, # optional, default 50
1943
1943
  # 'kind': 'string', # optional - air_drop, big_holder_dividend, default, eosc_to_eos, internal, equally_airdrop, referral_mining, one_holder_dividend, single_customer, snapshotted_airdrop, trade_mining
@@ -1991,7 +1991,7 @@ class bigone(Exchange, ImplicitAPI):
1991
1991
  fromId = self.safe_string(accountsByType, fromAccount, fromAccount)
1992
1992
  toId = self.safe_string(accountsByType, toAccount, toAccount)
1993
1993
  guid = self.safe_string(params, 'guid', self.uuid())
1994
- request = {
1994
+ request: dict = {
1995
1995
  'symbol': currency['id'],
1996
1996
  'amount': self.currency_to_precision(code, amount),
1997
1997
  'from': fromId,
@@ -2038,7 +2038,7 @@ class bigone(Exchange, ImplicitAPI):
2038
2038
  }
2039
2039
 
2040
2040
  def parse_transfer_status(self, status: Str) -> Str:
2041
- statuses = {
2041
+ statuses: dict = {
2042
2042
  '0': 'ok',
2043
2043
  }
2044
2044
  return self.safe_string(statuses, status, 'failed')
@@ -2057,7 +2057,7 @@ class bigone(Exchange, ImplicitAPI):
2057
2057
  tag, params = self.handle_withdraw_tag_and_params(tag, params)
2058
2058
  self.load_markets()
2059
2059
  currency = self.currency(code)
2060
- request = {
2060
+ request: dict = {
2061
2061
  'symbol': currency['id'],
2062
2062
  'target_address': address,
2063
2063
  'amount': self.currency_to_precision(code, amount),