ccxt 4.4.30__py2.py3-none-any.whl → 4.4.31__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 (267) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/ace.py +36 -12
  3. ccxt/alpaca.py +62 -22
  4. ccxt/ascendex.py +65 -30
  5. ccxt/async_support/__init__.py +1 -1
  6. ccxt/async_support/ace.py +36 -12
  7. ccxt/async_support/alpaca.py +62 -22
  8. ccxt/async_support/ascendex.py +65 -30
  9. ccxt/async_support/base/exchange.py +3 -3
  10. ccxt/async_support/bigone.py +71 -27
  11. ccxt/async_support/binance.py +555 -323
  12. ccxt/async_support/bingx.py +208 -108
  13. ccxt/async_support/bit2c.py +34 -12
  14. ccxt/async_support/bitbank.py +42 -14
  15. ccxt/async_support/bitbns.py +17 -9
  16. ccxt/async_support/bitfinex.py +68 -24
  17. ccxt/async_support/bitfinex2.py +116 -44
  18. ccxt/async_support/bitflyer.py +54 -18
  19. ccxt/async_support/bitget.py +277 -145
  20. ccxt/async_support/bithumb.py +39 -14
  21. ccxt/async_support/bitmart.py +145 -79
  22. ccxt/async_support/bitmex.py +90 -30
  23. ccxt/async_support/bitopro.py +66 -22
  24. ccxt/async_support/bitrue.py +109 -57
  25. ccxt/async_support/bitso.py +55 -19
  26. ccxt/async_support/bitstamp.py +84 -36
  27. ccxt/async_support/bitteam.py +51 -17
  28. ccxt/async_support/bitvavo.py +57 -19
  29. ccxt/async_support/bl3p.py +26 -10
  30. ccxt/async_support/blockchaincom.py +63 -21
  31. ccxt/async_support/blofin.py +95 -38
  32. ccxt/async_support/btcalpha.py +48 -16
  33. ccxt/async_support/btcbox.py +27 -9
  34. ccxt/async_support/btcmarkets.py +57 -19
  35. ccxt/async_support/btcturk.py +36 -12
  36. ccxt/async_support/bybit.py +251 -95
  37. ccxt/async_support/cex.py +65 -22
  38. ccxt/async_support/coinbase.py +138 -56
  39. ccxt/async_support/coinbaseexchange.py +76 -28
  40. ccxt/async_support/coinbaseinternational.py +75 -27
  41. ccxt/async_support/coincatch.py +191 -97
  42. ccxt/async_support/coincheck.py +33 -11
  43. ccxt/async_support/coinex.py +212 -101
  44. ccxt/async_support/coinlist.py +87 -30
  45. ccxt/async_support/coinmate.py +55 -24
  46. ccxt/async_support/coinmetro.py +52 -18
  47. ccxt/async_support/coinone.py +27 -10
  48. ccxt/async_support/coinsph.py +73 -27
  49. ccxt/async_support/coinspot.py +25 -9
  50. ccxt/async_support/cryptocom.py +103 -38
  51. ccxt/async_support/currencycom.py +70 -23
  52. ccxt/async_support/delta.py +90 -30
  53. ccxt/async_support/deribit.py +131 -50
  54. ccxt/async_support/digifinex.py +114 -51
  55. ccxt/async_support/exmo.py +104 -45
  56. ccxt/async_support/gate.py +298 -155
  57. ccxt/async_support/gemini.py +57 -20
  58. ccxt/async_support/hashkey.py +151 -66
  59. ccxt/async_support/hitbtc.py +156 -73
  60. ccxt/async_support/hollaex.py +76 -25
  61. ccxt/async_support/htx.py +297 -240
  62. ccxt/async_support/huobijp.py +1 -0
  63. ccxt/async_support/hyperliquid.py +94 -38
  64. ccxt/async_support/idex.py +73 -24
  65. ccxt/async_support/independentreserve.py +12 -5
  66. ccxt/async_support/indodax.py +53 -16
  67. ccxt/async_support/kraken.py +107 -35
  68. ccxt/async_support/krakenfutures.py +88 -34
  69. ccxt/async_support/kucoin.py +211 -109
  70. ccxt/async_support/kucoinfutures.py +119 -42
  71. ccxt/async_support/kuna.py +80 -39
  72. ccxt/async_support/latoken.py +70 -33
  73. ccxt/async_support/lbank.py +89 -38
  74. ccxt/async_support/luno.py +54 -19
  75. ccxt/async_support/lykke.py +54 -19
  76. ccxt/async_support/mercado.py +1 -0
  77. ccxt/async_support/mexc.py +226 -108
  78. ccxt/async_support/ndax.py +58 -19
  79. ccxt/async_support/novadax.py +67 -22
  80. ccxt/async_support/oceanex.py +58 -19
  81. ccxt/async_support/okcoin.py +81 -38
  82. ccxt/async_support/okx.py +270 -109
  83. ccxt/async_support/onetrading.py +3 -1
  84. ccxt/async_support/oxfun.py +95 -36
  85. ccxt/async_support/p2b.py +49 -23
  86. ccxt/async_support/paradex.py +75 -27
  87. ccxt/async_support/paymium.py +31 -11
  88. ccxt/async_support/phemex.py +91 -41
  89. ccxt/async_support/poloniex.py +80 -30
  90. ccxt/async_support/poloniexfutures.py +72 -30
  91. ccxt/async_support/probit.py +64 -22
  92. ccxt/async_support/timex.py +58 -19
  93. ccxt/async_support/tokocrypto.py +63 -22
  94. ccxt/async_support/tradeogre.py +7 -2
  95. ccxt/async_support/upbit.py +72 -25
  96. ccxt/async_support/vertex.py +74 -28
  97. ccxt/async_support/wavesexchange.py +29 -8
  98. ccxt/async_support/wazirx.py +51 -17
  99. ccxt/async_support/whitebit.py +105 -41
  100. ccxt/async_support/woo.py +162 -65
  101. ccxt/async_support/woofipro.py +118 -49
  102. ccxt/async_support/xt.py +150 -73
  103. ccxt/async_support/yobit.py +49 -16
  104. ccxt/async_support/zaif.py +30 -10
  105. ccxt/async_support/zonda.py +46 -16
  106. ccxt/base/exchange.py +34 -34
  107. ccxt/base/types.py +1 -0
  108. ccxt/bigone.py +71 -27
  109. ccxt/binance.py +555 -323
  110. ccxt/bingx.py +208 -108
  111. ccxt/bit2c.py +34 -12
  112. ccxt/bitbank.py +42 -14
  113. ccxt/bitbns.py +17 -9
  114. ccxt/bitfinex.py +68 -24
  115. ccxt/bitfinex2.py +116 -44
  116. ccxt/bitflyer.py +54 -18
  117. ccxt/bitget.py +277 -145
  118. ccxt/bithumb.py +39 -14
  119. ccxt/bitmart.py +145 -79
  120. ccxt/bitmex.py +90 -30
  121. ccxt/bitopro.py +66 -22
  122. ccxt/bitrue.py +109 -57
  123. ccxt/bitso.py +55 -19
  124. ccxt/bitstamp.py +84 -36
  125. ccxt/bitteam.py +51 -17
  126. ccxt/bitvavo.py +57 -19
  127. ccxt/bl3p.py +26 -10
  128. ccxt/blockchaincom.py +63 -21
  129. ccxt/blofin.py +95 -38
  130. ccxt/btcalpha.py +48 -16
  131. ccxt/btcbox.py +27 -9
  132. ccxt/btcmarkets.py +57 -19
  133. ccxt/btcturk.py +36 -12
  134. ccxt/bybit.py +251 -95
  135. ccxt/cex.py +65 -22
  136. ccxt/coinbase.py +138 -56
  137. ccxt/coinbaseexchange.py +76 -28
  138. ccxt/coinbaseinternational.py +75 -27
  139. ccxt/coincatch.py +191 -97
  140. ccxt/coincheck.py +33 -11
  141. ccxt/coinex.py +212 -101
  142. ccxt/coinlist.py +87 -30
  143. ccxt/coinmate.py +55 -24
  144. ccxt/coinmetro.py +52 -18
  145. ccxt/coinone.py +27 -10
  146. ccxt/coinsph.py +73 -27
  147. ccxt/coinspot.py +25 -9
  148. ccxt/cryptocom.py +103 -38
  149. ccxt/currencycom.py +70 -23
  150. ccxt/delta.py +90 -30
  151. ccxt/deribit.py +131 -50
  152. ccxt/digifinex.py +114 -51
  153. ccxt/exmo.py +104 -45
  154. ccxt/gate.py +298 -155
  155. ccxt/gemini.py +57 -20
  156. ccxt/hashkey.py +151 -66
  157. ccxt/hitbtc.py +156 -73
  158. ccxt/hollaex.py +76 -25
  159. ccxt/htx.py +297 -240
  160. ccxt/huobijp.py +1 -0
  161. ccxt/hyperliquid.py +94 -38
  162. ccxt/idex.py +73 -24
  163. ccxt/independentreserve.py +12 -5
  164. ccxt/indodax.py +53 -16
  165. ccxt/kraken.py +107 -35
  166. ccxt/krakenfutures.py +88 -34
  167. ccxt/kucoin.py +211 -109
  168. ccxt/kucoinfutures.py +119 -42
  169. ccxt/kuna.py +80 -39
  170. ccxt/latoken.py +70 -33
  171. ccxt/lbank.py +89 -38
  172. ccxt/luno.py +54 -19
  173. ccxt/lykke.py +54 -19
  174. ccxt/mercado.py +1 -0
  175. ccxt/mexc.py +226 -108
  176. ccxt/ndax.py +58 -19
  177. ccxt/novadax.py +67 -22
  178. ccxt/oceanex.py +58 -19
  179. ccxt/okcoin.py +81 -38
  180. ccxt/okx.py +270 -109
  181. ccxt/onetrading.py +3 -1
  182. ccxt/oxfun.py +95 -36
  183. ccxt/p2b.py +49 -23
  184. ccxt/paradex.py +75 -27
  185. ccxt/paymium.py +31 -11
  186. ccxt/phemex.py +91 -41
  187. ccxt/poloniex.py +80 -30
  188. ccxt/poloniexfutures.py +72 -30
  189. ccxt/pro/__init__.py +1 -1
  190. ccxt/pro/alpaca.py +15 -5
  191. ccxt/pro/ascendex.py +18 -6
  192. ccxt/pro/binance.py +200 -119
  193. ccxt/pro/bingx.py +44 -24
  194. ccxt/pro/bitfinex.py +13 -5
  195. ccxt/pro/bitget.py +75 -36
  196. ccxt/pro/bithumb.py +12 -4
  197. ccxt/pro/bitmart.py +44 -20
  198. ccxt/pro/bitmex.py +42 -14
  199. ccxt/pro/bitopro.py +15 -5
  200. ccxt/pro/bitrue.py +7 -3
  201. ccxt/pro/bitvavo.py +51 -17
  202. ccxt/pro/blockchaincom.py +18 -6
  203. ccxt/pro/blofin.py +36 -12
  204. ccxt/pro/bybit.py +100 -42
  205. ccxt/pro/cex.py +48 -16
  206. ccxt/pro/coinbase.py +32 -12
  207. ccxt/pro/coinbaseexchange.py +1 -1
  208. ccxt/pro/coinbaseinternational.py +34 -14
  209. ccxt/pro/coincatch.py +54 -19
  210. ccxt/pro/coincheck.py +6 -2
  211. ccxt/pro/coinex.py +40 -20
  212. ccxt/pro/coinone.py +9 -3
  213. ccxt/pro/cryptocom.py +70 -26
  214. ccxt/pro/deribit.py +36 -12
  215. ccxt/pro/exmo.py +10 -4
  216. ccxt/pro/gate.py +64 -30
  217. ccxt/pro/gemini.py +21 -7
  218. ccxt/pro/hashkey.py +26 -8
  219. ccxt/pro/hitbtc.py +61 -37
  220. ccxt/pro/hollaex.py +15 -5
  221. ccxt/pro/htx.py +39 -21
  222. ccxt/pro/hyperliquid.py +41 -14
  223. ccxt/pro/kraken.py +49 -17
  224. ccxt/pro/krakenfutures.py +47 -24
  225. ccxt/pro/kucoin.py +60 -31
  226. ccxt/pro/kucoinfutures.py +41 -19
  227. ccxt/pro/lbank.py +27 -9
  228. ccxt/pro/luno.py +3 -1
  229. ccxt/pro/mexc.py +35 -17
  230. ccxt/pro/ndax.py +12 -4
  231. ccxt/pro/okcoin.py +18 -6
  232. ccxt/pro/okx.py +76 -28
  233. ccxt/pro/onetrading.py +21 -7
  234. ccxt/pro/oxfun.py +54 -20
  235. ccxt/pro/p2b.py +23 -11
  236. ccxt/pro/paradex.py +12 -4
  237. ccxt/pro/phemex.py +31 -19
  238. ccxt/pro/poloniex.py +50 -22
  239. ccxt/pro/poloniexfutures.py +17 -7
  240. ccxt/pro/probit.py +18 -6
  241. ccxt/pro/upbit.py +25 -9
  242. ccxt/pro/vertex.py +20 -6
  243. ccxt/pro/wazirx.py +21 -7
  244. ccxt/pro/whitebit.py +25 -9
  245. ccxt/pro/woo.py +32 -12
  246. ccxt/pro/woofipro.py +35 -13
  247. ccxt/pro/xt.py +46 -26
  248. ccxt/probit.py +64 -22
  249. ccxt/timex.py +58 -19
  250. ccxt/tokocrypto.py +63 -22
  251. ccxt/tradeogre.py +7 -2
  252. ccxt/upbit.py +72 -25
  253. ccxt/vertex.py +74 -28
  254. ccxt/wavesexchange.py +29 -8
  255. ccxt/wazirx.py +51 -17
  256. ccxt/whitebit.py +105 -41
  257. ccxt/woo.py +162 -65
  258. ccxt/woofipro.py +118 -49
  259. ccxt/xt.py +150 -73
  260. ccxt/yobit.py +49 -16
  261. ccxt/zaif.py +30 -10
  262. ccxt/zonda.py +46 -16
  263. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
  264. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/RECORD +267 -267
  265. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
  266. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
  267. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
@@ -104,6 +104,7 @@ class hashkey(Exchange, ImplicitAPI):
104
104
  'fetchLeverageTiers': True,
105
105
  'fetchMarginAdjustmentHistory': False,
106
106
  'fetchMarginMode': False,
107
+ 'fetchMarketLeverageTiers': 'emulated',
107
108
  'fetchMarkets': True,
108
109
  'fetchMarkOHLCV': False,
109
110
  'fetchMyTrades': True,
@@ -536,7 +537,9 @@ class hashkey(Exchange, ImplicitAPI):
536
537
  async def fetch_time(self, params={}) -> Int:
537
538
  """
538
539
  fetches the current integer timestamp in milliseconds from the exchange server
539
- :see: https://hashkeyglobal-apidoc.readme.io/reference/check-server-time
540
+
541
+ https://hashkeyglobal-apidoc.readme.io/reference/check-server-time
542
+
540
543
  :param dict [params]: extra parameters specific to the exchange API endpoint
541
544
  :returns int: the current integer timestamp in milliseconds from the exchange server
542
545
  """
@@ -551,7 +554,9 @@ class hashkey(Exchange, ImplicitAPI):
551
554
  async def fetch_status(self, params={}):
552
555
  """
553
556
  the latest known information on the availability of the exchange API
554
- :see: https://hashkeyglobal-apidoc.readme.io/reference/test-connectivity
557
+
558
+ https://hashkeyglobal-apidoc.readme.io/reference/test-connectivity
559
+
555
560
  :param dict [params]: extra parameters specific to the exchange API endpoint
556
561
  :returns dict: a `status structure <https://docs.ccxt.com/#/?id=exchange-status-structure>`
557
562
  """
@@ -570,7 +575,9 @@ class hashkey(Exchange, ImplicitAPI):
570
575
  async def fetch_markets(self, params={}) -> List[Market]:
571
576
  """
572
577
  retrieves data on all markets for the exchange
573
- :see: https://hashkeyglobal-apidoc.readme.io/reference/exchangeinfo
578
+
579
+ https://hashkeyglobal-apidoc.readme.io/reference/exchangeinfo
580
+
574
581
  :param dict [params]: extra parameters specific to the exchange API endpoint
575
582
  :param str [params.symbol]: the id of the market to fetch
576
583
  :returns dict[]: an array of objects representing market data
@@ -1029,7 +1036,9 @@ class hashkey(Exchange, ImplicitAPI):
1029
1036
  async def fetch_currencies(self, params={}) -> Currencies:
1030
1037
  """
1031
1038
  fetches all available currencies on an exchange
1032
- :see: https://hashkeyglobal-apidoc.readme.io/reference/exchangeinfo
1039
+
1040
+ https://hashkeyglobal-apidoc.readme.io/reference/exchangeinfo
1041
+
1033
1042
  :param dict [params]: extra parameters specific to the exchange API endpoint
1034
1043
  :returns dict: an associative dictionary of currencies
1035
1044
  """
@@ -1136,7 +1145,9 @@ class hashkey(Exchange, ImplicitAPI):
1136
1145
  async def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
1137
1146
  """
1138
1147
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
1139
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-order-book
1148
+
1149
+ https://hashkeyglobal-apidoc.readme.io/reference/get-order-book
1150
+
1140
1151
  :param str symbol: unified symbol of the market to fetch the order book for
1141
1152
  :param int [limit]: the maximum amount of order book entries to return(maximum value is 200)
1142
1153
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1171,7 +1182,9 @@ class hashkey(Exchange, ImplicitAPI):
1171
1182
  async def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
1172
1183
  """
1173
1184
  get the list of most recent trades for a particular symbol
1174
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-recent-trade-list
1185
+
1186
+ https://hashkeyglobal-apidoc.readme.io/reference/get-recent-trade-list
1187
+
1175
1188
  :param str symbol: unified symbol of the market to fetch trades for
1176
1189
  :param int [since]: timestamp in ms of the earliest trade to fetch
1177
1190
  :param int [limit]: the maximum amount of trades to fetch(maximum value is 100)
@@ -1202,9 +1215,11 @@ class hashkey(Exchange, ImplicitAPI):
1202
1215
  async def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1203
1216
  """
1204
1217
  fetch all trades made by the user
1205
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-account-trade-list
1206
- :see: https://hashkeyglobal-apidoc.readme.io/reference/query-futures-trades
1207
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-sub-account-user
1218
+
1219
+ https://hashkeyglobal-apidoc.readme.io/reference/get-account-trade-list
1220
+ https://hashkeyglobal-apidoc.readme.io/reference/query-futures-trades
1221
+ https://hashkeyglobal-apidoc.readme.io/reference/get-sub-account-user
1222
+
1208
1223
  :param str symbol: *is mandatory for swap markets* unified market symbol
1209
1224
  :param int [since]: the earliest time in ms to fetch trades for
1210
1225
  :param int [limit]: the maximum amount of trades to fetch(default 200, max 500)
@@ -1404,7 +1419,9 @@ class hashkey(Exchange, ImplicitAPI):
1404
1419
 
1405
1420
  async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
1406
1421
  """
1407
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-kline
1422
+
1423
+ https://hashkeyglobal-apidoc.readme.io/reference/get-kline
1424
+
1408
1425
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1409
1426
  :param str symbol: unified symbol of the market to fetch OHLCV data for
1410
1427
  :param str timeframe: the length of time each candle represents
@@ -1480,7 +1497,9 @@ class hashkey(Exchange, ImplicitAPI):
1480
1497
  async def fetch_ticker(self, symbol: str, params={}) -> Ticker:
1481
1498
  """
1482
1499
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1483
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-24hr-ticker-price-change
1500
+
1501
+ https://hashkeyglobal-apidoc.readme.io/reference/get-24hr-ticker-price-change
1502
+
1484
1503
  :param str symbol: unified symbol of the market to fetch the ticker for
1485
1504
  :param dict [params]: extra parameters specific to the exchange API endpoint
1486
1505
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -1513,7 +1532,9 @@ class hashkey(Exchange, ImplicitAPI):
1513
1532
  async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
1514
1533
  """
1515
1534
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1516
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-24hr-ticker-price-change
1535
+
1536
+ https://hashkeyglobal-apidoc.readme.io/reference/get-24hr-ticker-price-change
1537
+
1517
1538
  :param str[] [symbols]: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1518
1539
  :param dict [params]: extra parameters specific to the exchange API endpoint
1519
1540
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -1569,7 +1590,9 @@ class hashkey(Exchange, ImplicitAPI):
1569
1590
  async def fetch_last_prices(self, symbols: Strings = None, params={}) -> LastPrices:
1570
1591
  """
1571
1592
  fetches the last price for multiple markets
1572
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-symbol-price-ticker
1593
+
1594
+ https://hashkeyglobal-apidoc.readme.io/reference/get-symbol-price-ticker
1595
+
1573
1596
  :param str[] [symbols]: unified symbols of the markets to fetch the last prices
1574
1597
  :param dict [params]: extra parameters specific to the exchange API endpoint
1575
1598
  :param str [params.symbol]: the id of the market to fetch last price for
@@ -1609,7 +1632,9 @@ class hashkey(Exchange, ImplicitAPI):
1609
1632
  async def fetch_balance(self, params={}) -> Balances:
1610
1633
  """
1611
1634
  query for balance and get the amount of funds available for trading or funds locked in orders
1612
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-account-information
1635
+
1636
+ https://hashkeyglobal-apidoc.readme.io/reference/get-account-information
1637
+
1613
1638
  :param dict [params]: extra parameters specific to the exchange API endpoint
1614
1639
  :param str [params.accountId]: account ID, for Master Key only
1615
1640
  :param str [params.type]: 'spot' or 'swap' - the type of the market to fetch balance for(default 'spot')
@@ -1721,7 +1746,9 @@ class hashkey(Exchange, ImplicitAPI):
1721
1746
  async def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
1722
1747
  """
1723
1748
  fetch the deposit address for a currency associated with self account
1724
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-deposit-address
1749
+
1750
+ https://hashkeyglobal-apidoc.readme.io/reference/get-deposit-address
1751
+
1725
1752
  :param str code: unified currency code(default is 'USDT')
1726
1753
  :param dict [params]: extra parameters specific to the exchange API endpoint
1727
1754
  :param str [params.network]: network for fetch deposit address(default is 'ETH')
@@ -1783,7 +1810,9 @@ class hashkey(Exchange, ImplicitAPI):
1783
1810
  async def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1784
1811
  """
1785
1812
  fetch all deposits made to an account
1786
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-deposit-history
1813
+
1814
+ https://hashkeyglobal-apidoc.readme.io/reference/get-deposit-history
1815
+
1787
1816
  :param str code: unified currency code of the currency transferred
1788
1817
  :param int [since]: the earliest time in ms to fetch transfers for(default 24 hours ago)
1789
1818
  :param int [limit]: the maximum number of transfer structures to retrieve(default 50, max 200)
@@ -1827,7 +1856,9 @@ class hashkey(Exchange, ImplicitAPI):
1827
1856
  async def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1828
1857
  """
1829
1858
  fetch all withdrawals made from an account
1830
- :see: https://hashkeyglobal-apidoc.readme.io/reference/withdrawal-records
1859
+
1860
+ https://hashkeyglobal-apidoc.readme.io/reference/withdrawal-records
1861
+
1831
1862
  :param str code: unified currency code of the currency transferred
1832
1863
  :param int [since]: the earliest time in ms to fetch transfers for(default 24 hours ago)
1833
1864
  :param int [limit]: the maximum number of transfer structures to retrieve(default 50, max 200)
@@ -1877,15 +1908,17 @@ class hashkey(Exchange, ImplicitAPI):
1877
1908
  async def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
1878
1909
  """
1879
1910
  make a withdrawal
1880
- :see: https://hashkeyglobal-apidoc.readme.io/reference/withdraw
1911
+
1912
+ https://hashkeyglobal-apidoc.readme.io/reference/withdraw
1913
+
1881
1914
  :param str code: unified currency code
1882
1915
  :param float amount: the amount to withdraw
1883
1916
  :param str address: the address to withdraw to
1884
1917
  :param str tag:
1918
+ :param dict [params]: extra parameters specific to the exchange API endpoint
1885
1919
  :param str [params.network]: network for withdraw
1886
1920
  :param str [params.clientOrderId]: client order id
1887
1921
  :param str [params.platform]: the platform to withdraw to(hashkey, HashKey HK)
1888
- :param dict [params]: extra parameters specific to the exchange API endpoint
1889
1922
  :returns dict: a `transaction structure <https://docs.ccxt.com/#/?id=transaction-structure>`
1890
1923
  """
1891
1924
  tag, params = self.handle_withdraw_tag_and_params(tag, params)
@@ -2028,7 +2061,9 @@ class hashkey(Exchange, ImplicitAPI):
2028
2061
  async def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
2029
2062
  """
2030
2063
  transfer currency internally between wallets on the same account
2031
- :see: https://hashkeyglobal-apidoc.readme.io/reference/new-account-transfer
2064
+
2065
+ https://hashkeyglobal-apidoc.readme.io/reference/new-account-transfer
2066
+
2032
2067
  :param str code: unified currency code
2033
2068
  :param float amount: amount to transfer
2034
2069
  :param str fromAccount: account id to transfer from
@@ -2087,7 +2122,9 @@ class hashkey(Exchange, ImplicitAPI):
2087
2122
  async def fetch_accounts(self, params={}) -> List[Account]:
2088
2123
  """
2089
2124
  fetch all the accounts associated with a profile
2090
- :see: https://hashkeyglobal-apidoc.readme.io/reference/query-sub-account
2125
+
2126
+ https://hashkeyglobal-apidoc.readme.io/reference/query-sub-account
2127
+
2091
2128
  :param dict [params]: extra parameters specific to the exchange API endpoint
2092
2129
  :returns dict: a dictionary of `account structures <https://docs.ccxt.com/#/?id=account-structure>` indexed by the account type
2093
2130
  """
@@ -2152,7 +2189,9 @@ class hashkey(Exchange, ImplicitAPI):
2152
2189
  async def fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[LedgerEntry]:
2153
2190
  """
2154
2191
  fetch the history of changes, actions done by the user or operations that altered the balance of the user
2155
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-account-transaction-list
2192
+
2193
+ https://hashkeyglobal-apidoc.readme.io/reference/get-account-transaction-list
2194
+
2156
2195
  :param str [code]: unified currency code, default is None(not used)
2157
2196
  :param int [since]: timestamp in ms of the earliest ledger entry, default is None
2158
2197
  :param int [limit]: max number of ledger entries to return, default is None
@@ -2268,9 +2307,11 @@ class hashkey(Exchange, ImplicitAPI):
2268
2307
  async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> Order:
2269
2308
  """
2270
2309
  create a trade order
2271
- :see: https://hashkeyglobal-apidoc.readme.io/reference/test-new-order
2272
- :see: https://hashkeyglobal-apidoc.readme.io/reference/create-order
2273
- :see: https://hashkeyglobal-apidoc.readme.io/reference/create-new-futures-order
2310
+
2311
+ https://hashkeyglobal-apidoc.readme.io/reference/test-new-order
2312
+ https://hashkeyglobal-apidoc.readme.io/reference/create-order
2313
+ https://hashkeyglobal-apidoc.readme.io/reference/create-new-futures-order
2314
+
2274
2315
  :param str symbol: unified symbol of the market to create an order in
2275
2316
  :param str type: 'market' or 'limit' or 'LIMIT_MAKER' for spot, 'market' or 'limit' or 'STOP' for swap
2276
2317
  :param str side: 'buy' or 'sell'
@@ -2312,8 +2353,10 @@ class hashkey(Exchange, ImplicitAPI):
2312
2353
  async def create_spot_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> Order:
2313
2354
  """
2314
2355
  create a trade order on spot market
2315
- :see: https://hashkeyglobal-apidoc.readme.io/reference/test-new-order
2316
- :see: https://hashkeyglobal-apidoc.readme.io/reference/create-order
2356
+
2357
+ https://hashkeyglobal-apidoc.readme.io/reference/test-new-order
2358
+ https://hashkeyglobal-apidoc.readme.io/reference/create-order
2359
+
2317
2360
  :param str symbol: unified symbol of the market to create an order in
2318
2361
  :param str type: 'market' or 'limit' or 'LIMIT_MAKER'
2319
2362
  :param str side: 'buy' or 'sell'
@@ -2436,7 +2479,7 @@ class hashkey(Exchange, ImplicitAPI):
2436
2479
 
2437
2480
  def create_spot_order_request(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> dict:
2438
2481
  """
2439
- * @ignore
2482
+ @ignore
2440
2483
  helper function to build request
2441
2484
  :param str symbol: unified symbol of the market to create an order in
2442
2485
  :param str type: 'market' or 'limit' or 'LIMIT_MAKER'
@@ -2478,7 +2521,7 @@ class hashkey(Exchange, ImplicitAPI):
2478
2521
 
2479
2522
  def create_swap_order_request(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> dict:
2480
2523
  """
2481
- * @ignore
2524
+ @ignore
2482
2525
  helper function to build request
2483
2526
  :param str symbol: unified symbol of the market to create an order in
2484
2527
  :param str type: 'market' or 'limit' or 'STOP'
@@ -2532,7 +2575,9 @@ class hashkey(Exchange, ImplicitAPI):
2532
2575
  async def create_swap_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> Order:
2533
2576
  """
2534
2577
  create a trade order on swap market
2535
- :see: https://hashkeyglobal-apidoc.readme.io/reference/create-new-futures-order
2578
+
2579
+ https://hashkeyglobal-apidoc.readme.io/reference/create-new-futures-order
2580
+
2536
2581
  :param str symbol: unified symbol of the market to create an order in
2537
2582
  :param str type: 'market' or 'limit' or 'STOP'
2538
2583
  :param str side: 'buy' or 'sell'
@@ -2576,8 +2621,10 @@ class hashkey(Exchange, ImplicitAPI):
2576
2621
  async def create_orders(self, orders: List[OrderRequest], params={}):
2577
2622
  """
2578
2623
  create a list of trade orders(all orders should be of the same symbol)
2579
- :see: https://hashkeyglobal-apidoc.readme.io/reference/create-multiple-orders
2580
- :see: https://hashkeyglobal-apidoc.readme.io/reference/batch-create-new-futures-order
2624
+
2625
+ https://hashkeyglobal-apidoc.readme.io/reference/create-multiple-orders
2626
+ https://hashkeyglobal-apidoc.readme.io/reference/batch-create-new-futures-order
2627
+
2581
2628
  :param Array orders: list of orders to create, each object should contain the parameters required by createOrder, namely symbol, type, side, amount, price and params
2582
2629
  :param dict [params]: extra parameters specific to the api endpoint
2583
2630
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -2683,8 +2730,10 @@ class hashkey(Exchange, ImplicitAPI):
2683
2730
  async def cancel_order(self, id: str, symbol: Str = None, params={}):
2684
2731
  """
2685
2732
  cancels an open order
2686
- :see: https://hashkeyglobal-apidoc.readme.io/reference/cancel-order
2687
- :see: https://hashkeyglobal-apidoc.readme.io/reference/cancel-futures-order
2733
+
2734
+ https://hashkeyglobal-apidoc.readme.io/reference/cancel-order
2735
+ https://hashkeyglobal-apidoc.readme.io/reference/cancel-futures-order
2736
+
2688
2737
  :param str id: order id
2689
2738
  :param str symbol: unified symbol of the market the order was made in
2690
2739
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2765,8 +2814,10 @@ class hashkey(Exchange, ImplicitAPI):
2765
2814
  async def cancel_all_orders(self, symbol: Str = None, params={}):
2766
2815
  """
2767
2816
  cancel all open orders
2768
- :see: https://hashkeyglobal-apidoc.readme.io/reference/cancel-all-open-orders
2769
- :see: https://hashkeyglobal-apidoc.readme.io/reference/batch-cancel-futures-order
2817
+
2818
+ https://hashkeyglobal-apidoc.readme.io/reference/cancel-all-open-orders
2819
+ https://hashkeyglobal-apidoc.readme.io/reference/batch-cancel-futures-order
2820
+
2770
2821
  :param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
2771
2822
  :param dict [params]: extra parameters specific to the exchange API endpoint
2772
2823
  :param str [params.side]: 'buy' or 'sell'
@@ -2804,10 +2855,13 @@ class hashkey(Exchange, ImplicitAPI):
2804
2855
  async def cancel_orders(self, ids: List[str], symbol: Str = None, params={}):
2805
2856
  """
2806
2857
  cancel multiple orders
2807
- :see: https://hashkeyglobal-apidoc.readme.io/reference/cancel-multiple-orders
2808
- :see: https://hashkeyglobal-apidoc.readme.io/reference/batch-cancel-futures-order-by-order-id
2858
+
2859
+ https://hashkeyglobal-apidoc.readme.io/reference/cancel-multiple-orders
2860
+ https://hashkeyglobal-apidoc.readme.io/reference/batch-cancel-futures-order-by-order-id
2861
+
2809
2862
  :param str[] ids: order ids
2810
2863
  :param str [symbol]: unified market symbol(not used by hashkey)
2864
+ :param dict [params]: extra parameters specific to the exchange API endpoint
2811
2865
  :param str [params.type]: 'spot' or 'swap' - the type of the market to fetch entry for(default 'spot')
2812
2866
  :returns dict: an list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
2813
2867
  """
@@ -2841,8 +2895,10 @@ class hashkey(Exchange, ImplicitAPI):
2841
2895
  async def fetch_order(self, id: str, symbol: Str = None, params={}) -> Order:
2842
2896
  """
2843
2897
  fetches information on an order made by the user
2844
- :see: https://hashkeyglobal-apidoc.readme.io/reference/query-order
2845
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-futures-order
2898
+
2899
+ https://hashkeyglobal-apidoc.readme.io/reference/query-order
2900
+ https://hashkeyglobal-apidoc.readme.io/reference/get-futures-order
2901
+
2846
2902
  :param str id: the order id
2847
2903
  :param str symbol: unified symbol of the market the order was made in
2848
2904
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2940,10 +2996,12 @@ class hashkey(Exchange, ImplicitAPI):
2940
2996
  async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
2941
2997
  """
2942
2998
  fetch all unfilled currently open orders
2943
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-current-open-orders
2944
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-sub-account-open-orders
2945
- :see: https://hashkeyglobal-apidoc.readme.io/reference/sub
2946
- :see: https://hashkeyglobal-apidoc.readme.io/reference/query-open-futures-orders
2999
+
3000
+ https://hashkeyglobal-apidoc.readme.io/reference/get-current-open-orders
3001
+ https://hashkeyglobal-apidoc.readme.io/reference/get-sub-account-open-orders
3002
+ https://hashkeyglobal-apidoc.readme.io/reference/sub
3003
+ https://hashkeyglobal-apidoc.readme.io/reference/query-open-futures-orders
3004
+
2947
3005
  :param str [symbol]: unified market symbol of the market orders were made in - is mandatory for swap markets
2948
3006
  :param int [since]: the earliest time in ms to fetch orders for
2949
3007
  :param int [limit]: the maximum number of order structures to retrieve - default 500, maximum 1000
@@ -2975,10 +3033,12 @@ class hashkey(Exchange, ImplicitAPI):
2975
3033
 
2976
3034
  async def fetch_open_spot_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
2977
3035
  """
2978
- * @ignore
3036
+ @ignore
2979
3037
  fetch all unfilled currently open orders for spot markets
2980
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-current-open-orders
2981
- :see: https://hashkeyglobal-apidoc.readme.io/reference/sub
3038
+
3039
+ https://hashkeyglobal-apidoc.readme.io/reference/get-current-open-orders
3040
+ https://hashkeyglobal-apidoc.readme.io/reference/sub
3041
+
2982
3042
  :param str [symbol]: unified market symbol of the market orders were made in
2983
3043
  :param int [since]: the earliest time in ms to fetch orders for
2984
3044
  :param int [limit]: the maximum number of order structures to retrieve - default 500, maximum 1000
@@ -3046,10 +3106,12 @@ class hashkey(Exchange, ImplicitAPI):
3046
3106
 
3047
3107
  async def fetch_open_swap_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3048
3108
  """
3049
- * @ignore
3109
+ @ignore
3050
3110
  fetch all unfilled currently open orders for swap markets
3051
- :see: https://hashkeyglobal-apidoc.readme.io/reference/query-open-futures-orders
3052
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-sub-account-open-orders
3111
+
3112
+ https://hashkeyglobal-apidoc.readme.io/reference/query-open-futures-orders
3113
+ https://hashkeyglobal-apidoc.readme.io/reference/get-sub-account-open-orders
3114
+
3053
3115
  :param str symbol: *is mandatory* unified market symbol of the market orders were made in
3054
3116
  :param int [since]: the earliest time in ms to fetch orders for
3055
3117
  :param int [limit]: the maximum number of order structures to retrieve - maximum 500
@@ -3136,9 +3198,11 @@ class hashkey(Exchange, ImplicitAPI):
3136
3198
  async def fetch_canceled_and_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3137
3199
  """
3138
3200
  fetches information on multiple canceled and closed orders made by the user
3139
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-all-orders
3140
- :see: https://hashkeyglobal-apidoc.readme.io/reference/query-futures-history-orders
3141
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-sub-account-history-orders
3201
+
3202
+ https://hashkeyglobal-apidoc.readme.io/reference/get-all-orders
3203
+ https://hashkeyglobal-apidoc.readme.io/reference/query-futures-history-orders
3204
+ https://hashkeyglobal-apidoc.readme.io/reference/get-sub-account-history-orders
3205
+
3142
3206
  :param str symbol: *is mandatory for swap markets* unified market symbol of the market orders were made in
3143
3207
  :param int [since]: the earliest time in ms to fetch orders for
3144
3208
  :param int [limit]: the maximum number of order structures to retrieve - default 500, maximum 1000
@@ -3496,7 +3560,9 @@ class hashkey(Exchange, ImplicitAPI):
3496
3560
  async def fetch_funding_rate(self, symbol: str, params={}) -> FundingRate:
3497
3561
  """
3498
3562
  fetch the current funding rate
3499
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-futures-funding-rate
3563
+
3564
+ https://hashkeyglobal-apidoc.readme.io/reference/get-futures-funding-rate
3565
+
3500
3566
  :param str symbol: unified market symbol
3501
3567
  :param dict [params]: extra parameters specific to the exchange API endpoint
3502
3568
  :returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
@@ -3519,7 +3585,9 @@ class hashkey(Exchange, ImplicitAPI):
3519
3585
  async def fetch_funding_rates(self, symbols: Strings = None, params={}) -> FundingRates:
3520
3586
  """
3521
3587
  fetch the funding rate for multiple markets
3522
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-futures-funding-rate
3588
+
3589
+ https://hashkeyglobal-apidoc.readme.io/reference/get-futures-funding-rate
3590
+
3523
3591
  :param str[]|None symbols: list of unified market symbols
3524
3592
  :param dict [params]: extra parameters specific to the exchange API endpoint
3525
3593
  :returns dict[]: a list of `funding rate structures <https://docs.ccxt.com/#/?id=funding-rates-structure>`, indexed by market symbols
@@ -3575,7 +3643,9 @@ class hashkey(Exchange, ImplicitAPI):
3575
3643
  async def fetch_funding_rate_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
3576
3644
  """
3577
3645
  fetches historical funding rate prices
3578
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-futures-history-funding-rate
3646
+
3647
+ https://hashkeyglobal-apidoc.readme.io/reference/get-futures-history-funding-rate
3648
+
3579
3649
  :param str symbol: unified symbol of the market to fetch the funding rate history for
3580
3650
  :param int [since]: timestamp in ms of the earliest funding rate to fetch
3581
3651
  :param int [limit]: the maximum amount of `funding rate structures <https://docs.ccxt.com/#/?id=funding-rate-history-structure>` to fetch
@@ -3622,7 +3692,9 @@ class hashkey(Exchange, ImplicitAPI):
3622
3692
  async def fetch_positions(self, symbols: Strings = None, params={}) -> List[Position]:
3623
3693
  """
3624
3694
  fetch open positions for a market
3625
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-futures-positions
3695
+
3696
+ https://hashkeyglobal-apidoc.readme.io/reference/get-futures-positions
3697
+
3626
3698
  fetch all open positions
3627
3699
  :param str[]|None symbols: list of unified market symbols
3628
3700
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3642,7 +3714,9 @@ class hashkey(Exchange, ImplicitAPI):
3642
3714
  async def fetch_positions_for_symbol(self, symbol: str, params={}) -> List[Position]:
3643
3715
  """
3644
3716
  fetch open positions for a single market
3645
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-futures-positions
3717
+
3718
+ https://hashkeyglobal-apidoc.readme.io/reference/get-futures-positions
3719
+
3646
3720
  fetch all open positions for specific symbol
3647
3721
  :param str symbol: unified market symbol
3648
3722
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3724,7 +3798,9 @@ class hashkey(Exchange, ImplicitAPI):
3724
3798
  async def fetch_leverage(self, symbol: str, params={}) -> Leverage:
3725
3799
  """
3726
3800
  fetch the set leverage for a market
3727
- :see: https://hashkeyglobal-apidoc.readme.io/reference/query-futures-leverage-trade
3801
+
3802
+ https://hashkeyglobal-apidoc.readme.io/reference/query-futures-leverage-trade
3803
+
3728
3804
  :param str symbol: unified market symbol
3729
3805
  :param dict [params]: extra parameters specific to the exchange API endpoint
3730
3806
  :returns dict: a `leverage structure <https://docs.ccxt.com/#/?id=leverage-structure>`
@@ -3761,7 +3837,9 @@ class hashkey(Exchange, ImplicitAPI):
3761
3837
  async def set_leverage(self, leverage: Int, symbol: Str = None, params={}):
3762
3838
  """
3763
3839
  set the level of leverage for a market
3764
- :see: https://hashkeyglobal-apidoc.readme.io/reference/change-futures-leverage-trade
3840
+
3841
+ https://hashkeyglobal-apidoc.readme.io/reference/change-futures-leverage-trade
3842
+
3765
3843
  :param float leverage: the rate of leverage
3766
3844
  :param str symbol: unified market symbol
3767
3845
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3787,8 +3865,10 @@ class hashkey(Exchange, ImplicitAPI):
3787
3865
 
3788
3866
  async def fetch_leverage_tiers(self, symbols: Strings = None, params={}) -> LeverageTiers:
3789
3867
  """
3790
- :see: https://hashkeyglobal-apidoc.readme.io/reference/exchangeinfo
3791
3868
  retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
3869
+
3870
+ https://hashkeyglobal-apidoc.readme.io/reference/exchangeinfo
3871
+
3792
3872
  :param str[]|None symbols: list of unified market symbols
3793
3873
  :param dict [params]: extra parameters specific to the exchange API endpoint
3794
3874
  :returns dict: a dictionary of `leverage tiers structures <https://docs.ccxt.com/#/?id=leverage-tiers-structure>`, indexed by market symbols
@@ -3879,14 +3959,15 @@ class hashkey(Exchange, ImplicitAPI):
3879
3959
  # }
3880
3960
  #
3881
3961
  riskLimits = self.safe_list(info, 'riskLimits', [])
3882
- id = self.safe_string(info, 'symbol')
3883
- market = self.safe_market(id, market)
3962
+ marketId = self.safe_string(info, 'symbol')
3963
+ market = self.safe_market(marketId, market)
3884
3964
  tiers = []
3885
3965
  for i in range(0, len(riskLimits)):
3886
3966
  tier = riskLimits[i]
3887
3967
  initialMarginRate = self.safe_string(tier, 'initialMargin')
3888
3968
  tiers.append({
3889
3969
  'tier': self.sum(i, 1),
3970
+ 'symbol': self.safe_symbol(marketId, market),
3890
3971
  'currency': market['settle'],
3891
3972
  'minNotional': None,
3892
3973
  'maxNotional': self.safe_number(tier, 'quantity'),
@@ -3899,8 +3980,10 @@ class hashkey(Exchange, ImplicitAPI):
3899
3980
  async def fetch_trading_fee(self, symbol: str, params={}) -> TradingFeeInterface:
3900
3981
  """
3901
3982
  fetch the trading fees for a market
3902
- :see: https://developers.binance.com/docs/wallet/asset/trade-fee # spot
3903
- :see: https://hashkeyglobal-apidoc.readme.io/reference/get-futures-commission-rate-request-weight # swap
3983
+
3984
+ https://developers.binance.com/docs/wallet/asset/trade-fee # spot
3985
+ https://hashkeyglobal-apidoc.readme.io/reference/get-futures-commission-rate-request-weight # swap
3986
+
3904
3987
  :param str symbol: unified market symbol
3905
3988
  :param dict [params]: extra parameters specific to the exchange API endpoint
3906
3989
  :returns dict: a `fee structure <https://docs.ccxt.com/#/?id=fee-structure>`
@@ -3929,7 +4012,9 @@ class hashkey(Exchange, ImplicitAPI):
3929
4012
  async def fetch_trading_fees(self, params={}) -> TradingFees:
3930
4013
  """
3931
4014
  *for spot markets only* fetch the trading fees for multiple markets
3932
- :see: https://developers.binance.com/docs/wallet/asset/trade-fee
4015
+
4016
+ https://developers.binance.com/docs/wallet/asset/trade-fee
4017
+
3933
4018
  :param dict [params]: extra parameters specific to the exchange API endpoint
3934
4019
  :returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
3935
4020
  """