ccxt 4.4.30__py2.py3-none-any.whl → 4.4.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 (268) 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/base/ws/aiohttp_client.py +25 -3
  11. ccxt/async_support/bigone.py +71 -27
  12. ccxt/async_support/binance.py +555 -323
  13. ccxt/async_support/bingx.py +208 -108
  14. ccxt/async_support/bit2c.py +34 -12
  15. ccxt/async_support/bitbank.py +42 -14
  16. ccxt/async_support/bitbns.py +17 -9
  17. ccxt/async_support/bitfinex.py +68 -24
  18. ccxt/async_support/bitfinex2.py +116 -44
  19. ccxt/async_support/bitflyer.py +54 -18
  20. ccxt/async_support/bitget.py +277 -145
  21. ccxt/async_support/bithumb.py +39 -14
  22. ccxt/async_support/bitmart.py +145 -79
  23. ccxt/async_support/bitmex.py +90 -30
  24. ccxt/async_support/bitopro.py +66 -22
  25. ccxt/async_support/bitrue.py +109 -57
  26. ccxt/async_support/bitso.py +55 -19
  27. ccxt/async_support/bitstamp.py +84 -36
  28. ccxt/async_support/bitteam.py +51 -17
  29. ccxt/async_support/bitvavo.py +57 -22
  30. ccxt/async_support/bl3p.py +26 -10
  31. ccxt/async_support/blockchaincom.py +63 -21
  32. ccxt/async_support/blofin.py +95 -38
  33. ccxt/async_support/btcalpha.py +48 -16
  34. ccxt/async_support/btcbox.py +27 -9
  35. ccxt/async_support/btcmarkets.py +57 -19
  36. ccxt/async_support/btcturk.py +36 -12
  37. ccxt/async_support/bybit.py +251 -95
  38. ccxt/async_support/cex.py +65 -22
  39. ccxt/async_support/coinbase.py +138 -56
  40. ccxt/async_support/coinbaseexchange.py +76 -28
  41. ccxt/async_support/coinbaseinternational.py +75 -27
  42. ccxt/async_support/coincatch.py +191 -97
  43. ccxt/async_support/coincheck.py +33 -11
  44. ccxt/async_support/coinex.py +212 -101
  45. ccxt/async_support/coinlist.py +87 -30
  46. ccxt/async_support/coinmate.py +55 -24
  47. ccxt/async_support/coinmetro.py +52 -18
  48. ccxt/async_support/coinone.py +27 -10
  49. ccxt/async_support/coinsph.py +73 -27
  50. ccxt/async_support/coinspot.py +25 -9
  51. ccxt/async_support/cryptocom.py +103 -38
  52. ccxt/async_support/currencycom.py +70 -23
  53. ccxt/async_support/delta.py +90 -30
  54. ccxt/async_support/deribit.py +131 -50
  55. ccxt/async_support/digifinex.py +114 -51
  56. ccxt/async_support/exmo.py +104 -45
  57. ccxt/async_support/gate.py +313 -157
  58. ccxt/async_support/gemini.py +57 -20
  59. ccxt/async_support/hashkey.py +151 -66
  60. ccxt/async_support/hitbtc.py +157 -74
  61. ccxt/async_support/hollaex.py +76 -25
  62. ccxt/async_support/htx.py +297 -240
  63. ccxt/async_support/huobijp.py +1 -0
  64. ccxt/async_support/hyperliquid.py +94 -38
  65. ccxt/async_support/idex.py +73 -24
  66. ccxt/async_support/independentreserve.py +12 -5
  67. ccxt/async_support/indodax.py +54 -17
  68. ccxt/async_support/kraken.py +108 -36
  69. ccxt/async_support/krakenfutures.py +88 -34
  70. ccxt/async_support/kucoin.py +214 -110
  71. ccxt/async_support/kucoinfutures.py +209 -64
  72. ccxt/async_support/kuna.py +80 -39
  73. ccxt/async_support/latoken.py +70 -33
  74. ccxt/async_support/lbank.py +89 -38
  75. ccxt/async_support/luno.py +54 -19
  76. ccxt/async_support/lykke.py +54 -19
  77. ccxt/async_support/mercado.py +1 -0
  78. ccxt/async_support/mexc.py +226 -108
  79. ccxt/async_support/ndax.py +58 -19
  80. ccxt/async_support/novadax.py +67 -22
  81. ccxt/async_support/oceanex.py +58 -19
  82. ccxt/async_support/okcoin.py +81 -38
  83. ccxt/async_support/okx.py +270 -109
  84. ccxt/async_support/onetrading.py +3 -1
  85. ccxt/async_support/oxfun.py +95 -36
  86. ccxt/async_support/p2b.py +49 -23
  87. ccxt/async_support/paradex.py +75 -27
  88. ccxt/async_support/paymium.py +31 -11
  89. ccxt/async_support/phemex.py +108 -56
  90. ccxt/async_support/poloniex.py +80 -30
  91. ccxt/async_support/poloniexfutures.py +72 -30
  92. ccxt/async_support/probit.py +64 -22
  93. ccxt/async_support/timex.py +58 -19
  94. ccxt/async_support/tokocrypto.py +63 -22
  95. ccxt/async_support/tradeogre.py +7 -2
  96. ccxt/async_support/upbit.py +72 -25
  97. ccxt/async_support/vertex.py +74 -28
  98. ccxt/async_support/wavesexchange.py +32 -8
  99. ccxt/async_support/wazirx.py +51 -17
  100. ccxt/async_support/whitebit.py +105 -41
  101. ccxt/async_support/woo.py +162 -65
  102. ccxt/async_support/woofipro.py +119 -50
  103. ccxt/async_support/xt.py +150 -73
  104. ccxt/async_support/yobit.py +49 -16
  105. ccxt/async_support/zaif.py +30 -10
  106. ccxt/async_support/zonda.py +46 -16
  107. ccxt/base/exchange.py +47 -35
  108. ccxt/base/types.py +1 -0
  109. ccxt/bigone.py +71 -27
  110. ccxt/binance.py +555 -323
  111. ccxt/bingx.py +208 -108
  112. ccxt/bit2c.py +34 -12
  113. ccxt/bitbank.py +42 -14
  114. ccxt/bitbns.py +17 -9
  115. ccxt/bitfinex.py +68 -24
  116. ccxt/bitfinex2.py +116 -44
  117. ccxt/bitflyer.py +54 -18
  118. ccxt/bitget.py +277 -145
  119. ccxt/bithumb.py +39 -14
  120. ccxt/bitmart.py +145 -79
  121. ccxt/bitmex.py +90 -30
  122. ccxt/bitopro.py +66 -22
  123. ccxt/bitrue.py +109 -57
  124. ccxt/bitso.py +55 -19
  125. ccxt/bitstamp.py +84 -36
  126. ccxt/bitteam.py +51 -17
  127. ccxt/bitvavo.py +57 -22
  128. ccxt/bl3p.py +26 -10
  129. ccxt/blockchaincom.py +63 -21
  130. ccxt/blofin.py +95 -38
  131. ccxt/btcalpha.py +48 -16
  132. ccxt/btcbox.py +27 -9
  133. ccxt/btcmarkets.py +57 -19
  134. ccxt/btcturk.py +36 -12
  135. ccxt/bybit.py +251 -95
  136. ccxt/cex.py +65 -22
  137. ccxt/coinbase.py +138 -56
  138. ccxt/coinbaseexchange.py +76 -28
  139. ccxt/coinbaseinternational.py +75 -27
  140. ccxt/coincatch.py +191 -97
  141. ccxt/coincheck.py +33 -11
  142. ccxt/coinex.py +212 -101
  143. ccxt/coinlist.py +87 -30
  144. ccxt/coinmate.py +55 -24
  145. ccxt/coinmetro.py +52 -18
  146. ccxt/coinone.py +27 -10
  147. ccxt/coinsph.py +73 -27
  148. ccxt/coinspot.py +25 -9
  149. ccxt/cryptocom.py +103 -38
  150. ccxt/currencycom.py +70 -23
  151. ccxt/delta.py +90 -30
  152. ccxt/deribit.py +131 -50
  153. ccxt/digifinex.py +114 -51
  154. ccxt/exmo.py +104 -45
  155. ccxt/gate.py +313 -157
  156. ccxt/gemini.py +57 -20
  157. ccxt/hashkey.py +151 -66
  158. ccxt/hitbtc.py +157 -74
  159. ccxt/hollaex.py +76 -25
  160. ccxt/htx.py +297 -240
  161. ccxt/huobijp.py +1 -0
  162. ccxt/hyperliquid.py +94 -38
  163. ccxt/idex.py +73 -24
  164. ccxt/independentreserve.py +12 -5
  165. ccxt/indodax.py +54 -17
  166. ccxt/kraken.py +108 -36
  167. ccxt/krakenfutures.py +88 -34
  168. ccxt/kucoin.py +214 -110
  169. ccxt/kucoinfutures.py +209 -64
  170. ccxt/kuna.py +80 -39
  171. ccxt/latoken.py +70 -33
  172. ccxt/lbank.py +89 -38
  173. ccxt/luno.py +54 -19
  174. ccxt/lykke.py +54 -19
  175. ccxt/mercado.py +1 -0
  176. ccxt/mexc.py +226 -108
  177. ccxt/ndax.py +58 -19
  178. ccxt/novadax.py +67 -22
  179. ccxt/oceanex.py +58 -19
  180. ccxt/okcoin.py +81 -38
  181. ccxt/okx.py +270 -109
  182. ccxt/onetrading.py +3 -1
  183. ccxt/oxfun.py +95 -36
  184. ccxt/p2b.py +49 -23
  185. ccxt/paradex.py +75 -27
  186. ccxt/paymium.py +31 -11
  187. ccxt/phemex.py +108 -56
  188. ccxt/poloniex.py +80 -30
  189. ccxt/poloniexfutures.py +72 -30
  190. ccxt/pro/__init__.py +1 -1
  191. ccxt/pro/alpaca.py +15 -5
  192. ccxt/pro/ascendex.py +18 -6
  193. ccxt/pro/binance.py +204 -123
  194. ccxt/pro/bingx.py +44 -24
  195. ccxt/pro/bitfinex.py +13 -5
  196. ccxt/pro/bitget.py +76 -37
  197. ccxt/pro/bithumb.py +12 -4
  198. ccxt/pro/bitmart.py +44 -20
  199. ccxt/pro/bitmex.py +42 -14
  200. ccxt/pro/bitopro.py +15 -5
  201. ccxt/pro/bitrue.py +7 -3
  202. ccxt/pro/bitvavo.py +97 -62
  203. ccxt/pro/blockchaincom.py +18 -6
  204. ccxt/pro/blofin.py +36 -12
  205. ccxt/pro/bybit.py +100 -42
  206. ccxt/pro/cex.py +48 -16
  207. ccxt/pro/coinbase.py +32 -12
  208. ccxt/pro/coinbaseexchange.py +1 -1
  209. ccxt/pro/coinbaseinternational.py +34 -14
  210. ccxt/pro/coincatch.py +54 -19
  211. ccxt/pro/coincheck.py +6 -2
  212. ccxt/pro/coinex.py +40 -20
  213. ccxt/pro/coinone.py +9 -3
  214. ccxt/pro/cryptocom.py +71 -27
  215. ccxt/pro/deribit.py +36 -12
  216. ccxt/pro/exmo.py +10 -4
  217. ccxt/pro/gate.py +65 -31
  218. ccxt/pro/gemini.py +21 -7
  219. ccxt/pro/hashkey.py +27 -9
  220. ccxt/pro/hitbtc.py +61 -37
  221. ccxt/pro/hollaex.py +15 -5
  222. ccxt/pro/htx.py +39 -21
  223. ccxt/pro/hyperliquid.py +41 -14
  224. ccxt/pro/kraken.py +49 -17
  225. ccxt/pro/krakenfutures.py +47 -24
  226. ccxt/pro/kucoin.py +60 -31
  227. ccxt/pro/kucoinfutures.py +41 -19
  228. ccxt/pro/lbank.py +27 -9
  229. ccxt/pro/luno.py +3 -1
  230. ccxt/pro/mexc.py +36 -19
  231. ccxt/pro/ndax.py +12 -4
  232. ccxt/pro/okcoin.py +18 -6
  233. ccxt/pro/okx.py +76 -28
  234. ccxt/pro/onetrading.py +21 -7
  235. ccxt/pro/oxfun.py +54 -20
  236. ccxt/pro/p2b.py +23 -11
  237. ccxt/pro/paradex.py +12 -4
  238. ccxt/pro/phemex.py +31 -19
  239. ccxt/pro/poloniex.py +50 -22
  240. ccxt/pro/poloniexfutures.py +17 -7
  241. ccxt/pro/probit.py +18 -6
  242. ccxt/pro/upbit.py +25 -9
  243. ccxt/pro/vertex.py +20 -6
  244. ccxt/pro/wazirx.py +21 -7
  245. ccxt/pro/whitebit.py +25 -9
  246. ccxt/pro/woo.py +32 -12
  247. ccxt/pro/woofipro.py +35 -13
  248. ccxt/pro/xt.py +46 -26
  249. ccxt/probit.py +64 -22
  250. ccxt/timex.py +58 -19
  251. ccxt/tokocrypto.py +63 -22
  252. ccxt/tradeogre.py +7 -2
  253. ccxt/upbit.py +72 -25
  254. ccxt/vertex.py +74 -28
  255. ccxt/wavesexchange.py +32 -8
  256. ccxt/wazirx.py +51 -17
  257. ccxt/whitebit.py +105 -41
  258. ccxt/woo.py +162 -65
  259. ccxt/woofipro.py +119 -50
  260. ccxt/xt.py +150 -73
  261. ccxt/yobit.py +49 -16
  262. ccxt/zaif.py +30 -10
  263. ccxt/zonda.py +46 -16
  264. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/METADATA +11 -5
  265. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/RECORD +268 -268
  266. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/LICENSE.txt +0 -0
  267. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/WHEEL +0 -0
  268. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/top_level.txt +0 -0
ccxt/huobijp.py CHANGED
@@ -1117,6 +1117,7 @@ class huobijp(Exchange, ImplicitAPI):
1117
1117
  def fetch_order(self, id: str, symbol: Str = None, params={}):
1118
1118
  """
1119
1119
  fetches information on an order made by the user
1120
+ :param str id: order id
1120
1121
  :param str symbol: unified symbol of the market the order was made in
1121
1122
  :param dict [params]: extra parameters specific to the exchange API endpoint
1122
1123
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/hyperliquid.py CHANGED
@@ -228,7 +228,9 @@ class hyperliquid(Exchange, ImplicitAPI):
228
228
  def fetch_currencies(self, params={}) -> Currencies:
229
229
  """
230
230
  fetches all available currencies on an exchange
231
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-metadata
231
+
232
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-metadata
233
+
232
234
  :param dict [params]: extra parameters specific to the exchange API endpoint
233
235
  :returns dict: an associative dictionary of currencies
234
236
  """
@@ -284,8 +286,10 @@ class hyperliquid(Exchange, ImplicitAPI):
284
286
  def fetch_markets(self, params={}) -> List[Market]:
285
287
  """
286
288
  retrieves data on all markets for hyperliquid
287
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-asset-contexts-includes-mark-price-current-funding-open-interest-etc
288
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-spot-asset-contexts
289
+
290
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-asset-contexts-includes-mark-price-current-funding-open-interest-etc
291
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-spot-asset-contexts
292
+
289
293
  :param dict [params]: extra parameters specific to the exchange API endpoint
290
294
  :returns dict[]: an array of objects representing market data
291
295
  """
@@ -301,7 +305,9 @@ class hyperliquid(Exchange, ImplicitAPI):
301
305
  def fetch_swap_markets(self, params={}) -> List[Market]:
302
306
  """
303
307
  retrieves data on all swap markets for hyperliquid
304
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-asset-contexts-includes-mark-price-current-funding-open-interest-etc
308
+
309
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-asset-contexts-includes-mark-price-current-funding-open-interest-etc
310
+
305
311
  :param dict [params]: extra parameters specific to the exchange API endpoint
306
312
  :returns dict[]: an array of objects representing market data
307
313
  """
@@ -356,7 +362,9 @@ class hyperliquid(Exchange, ImplicitAPI):
356
362
  def fetch_spot_markets(self, params={}) -> List[Market]:
357
363
  """
358
364
  retrieves data on all spot markets for hyperliquid
359
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-spot-asset-contexts
365
+
366
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-spot-asset-contexts
367
+
360
368
  :param dict [params]: extra parameters specific to the exchange API endpoint
361
369
  :returns dict[]: an array of objects representing market data
362
370
  """
@@ -415,7 +423,8 @@ class hyperliquid(Exchange, ImplicitAPI):
415
423
  markets = []
416
424
  for i in range(0, len(meta)):
417
425
  market = self.safe_dict(meta, i, {})
418
- extraData = self.safe_dict(second, i, {})
426
+ index = self.safe_integer(market, 'index')
427
+ extraData = self.safe_dict(second, index, {})
419
428
  marketName = self.safe_string(market, 'name')
420
429
  # if marketName.find('/') < 0:
421
430
  # # there are some weird spot markets in testnet, eg @2
@@ -588,8 +597,10 @@ class hyperliquid(Exchange, ImplicitAPI):
588
597
  def fetch_balance(self, params={}) -> Balances:
589
598
  """
590
599
  query for balance and get the amount of funds available for trading or funds locked in orders
591
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-a-users-token-balances
592
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-users-perpetuals-account-summary
600
+
601
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-a-users-token-balances
602
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-users-perpetuals-account-summary
603
+
593
604
  :param dict [params]: extra parameters specific to the exchange API endpoint
594
605
  :param str [params.user]: user address, will default to self.walletAddress if not provided
595
606
  :param str [params.type]: wallet type, ['spot', 'swap'], defaults to swap
@@ -670,7 +681,9 @@ class hyperliquid(Exchange, ImplicitAPI):
670
681
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
671
682
  """
672
683
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
673
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#l2-book-snapshot
684
+
685
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#l2-book-snapshot
686
+
674
687
  :param str symbol: unified symbol of the market to fetch the order book for
675
688
  :param int [limit]: the maximum amount of order book entries to return
676
689
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -716,8 +729,10 @@ class hyperliquid(Exchange, ImplicitAPI):
716
729
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
717
730
  """
718
731
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
719
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-asset-contexts-includes-mark-price-current-funding-open-interest-etc
720
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-spot-asset-contexts
732
+
733
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-asset-contexts-includes-mark-price-current-funding-open-interest-etc
734
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/spot#retrieve-spot-asset-contexts
735
+
721
736
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
722
737
  :param dict [params]: extra parameters specific to the exchange API endpoint
723
738
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -739,7 +754,10 @@ class hyperliquid(Exchange, ImplicitAPI):
739
754
  def fetch_funding_rates(self, symbols: Strings = None, params={}) -> FundingRates:
740
755
  """
741
756
  retrieves data on all swap markets for hyperliquid
742
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-asset-contexts-includes-mark-price-current-funding-open-interest-etc
757
+
758
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-perpetuals-asset-contexts-includes-mark-price-current-funding-open-interest-etc
759
+
760
+ :param str[] [symbols]: list of unified market symbols
743
761
  :param dict [params]: extra parameters specific to the exchange API endpoint
744
762
  :returns dict[]: an array of objects representing market data
745
763
  """
@@ -872,7 +890,9 @@ class hyperliquid(Exchange, ImplicitAPI):
872
890
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
873
891
  """
874
892
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
875
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#candle-snapshot
893
+
894
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#candle-snapshot
895
+
876
896
  :param str symbol: unified symbol of the market to fetch OHLCV data for
877
897
  :param str timeframe: the length of time each candle represents, support '1m', '15m', '1h', '1d'
878
898
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -950,8 +970,10 @@ class hyperliquid(Exchange, ImplicitAPI):
950
970
  def fetch_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
951
971
  """
952
972
  get the list of most recent trades for a particular symbol
953
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-fills
954
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-fills-by-time
973
+
974
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-fills
975
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-fills-by-time
976
+
955
977
  :param str symbol: unified market symbol
956
978
  :param int [since]: the earliest time in ms to fetch trades for
957
979
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -1126,7 +1148,9 @@ class hyperliquid(Exchange, ImplicitAPI):
1126
1148
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
1127
1149
  """
1128
1150
  create a trade order
1129
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#place-an-order
1151
+
1152
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#place-an-order
1153
+
1130
1154
  :param str symbol: unified symbol of the market to create an order in
1131
1155
  :param str type: 'market' or 'limit'
1132
1156
  :param str side: 'buy' or 'sell'
@@ -1150,8 +1174,11 @@ class hyperliquid(Exchange, ImplicitAPI):
1150
1174
  def create_orders(self, orders: List[OrderRequest], params={}):
1151
1175
  """
1152
1176
  create a list of trade orders
1153
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#place-an-order
1177
+
1178
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#place-an-order
1179
+
1154
1180
  :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
1181
+ :param dict [params]: extra parameters specific to the exchange API endpoint
1155
1182
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1156
1183
  """
1157
1184
  self.load_markets()
@@ -1182,7 +1209,7 @@ class hyperliquid(Exchange, ImplicitAPI):
1182
1209
  def create_orders_request(self, orders, params={}) -> dict:
1183
1210
  """
1184
1211
  create a list of trade orders
1185
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#place-an-order
1212
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#place-an-order
1186
1213
  :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
1187
1214
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1188
1215
  """
@@ -1294,8 +1321,10 @@ class hyperliquid(Exchange, ImplicitAPI):
1294
1321
  def cancel_order(self, id: str, symbol: Str = None, params={}):
1295
1322
  """
1296
1323
  cancels an open order
1297
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s
1298
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s-by-cloid
1324
+
1325
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s
1326
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s-by-cloid
1327
+
1299
1328
  :param str id: order id
1300
1329
  :param str symbol: unified symbol of the market the order was made in
1301
1330
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1309,8 +1338,10 @@ class hyperliquid(Exchange, ImplicitAPI):
1309
1338
  def cancel_orders(self, ids: List[str], symbol: Str = None, params={}):
1310
1339
  """
1311
1340
  cancel multiple orders
1312
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s
1313
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s-by-cloid
1341
+
1342
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s
1343
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s-by-cloid
1344
+
1314
1345
  :param str[] ids: order ids
1315
1346
  :param str [symbol]: unified market symbol
1316
1347
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1389,8 +1420,10 @@ class hyperliquid(Exchange, ImplicitAPI):
1389
1420
  def cancel_orders_for_symbols(self, orders: List[CancellationRequest], params={}):
1390
1421
  """
1391
1422
  cancel multiple orders for multiple symbols
1392
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s
1393
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s-by-cloid
1423
+
1424
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s
1425
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#cancel-order-s-by-cloid
1426
+
1394
1427
  :param CancellationRequest[] orders: each order should contain the parameters required by cancelOrder namely id and symbol, example [{"id": "a", "symbol": "BTC/USDT"}, {"id": "b", "symbol": "ETH/USDT"}]
1395
1428
  :param dict [params]: extra parameters specific to the exchange API endpoint
1396
1429
  :param str [params.vaultAddress]: the vault address
@@ -1573,8 +1606,10 @@ class hyperliquid(Exchange, ImplicitAPI):
1573
1606
  def edit_order(self, id: str, symbol: str, type: str, side: str, amount: Num = None, price: Num = None, params={}):
1574
1607
  """
1575
1608
  edit a trade order
1576
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#modify-an-order
1577
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#modify-multiple-orders
1609
+
1610
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#modify-an-order
1611
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#modify-multiple-orders
1612
+
1578
1613
  :param str id: cancel order id
1579
1614
  :param str symbol: unified symbol of the market to create an order in
1580
1615
  :param str type: 'market' or 'limit'
@@ -1638,7 +1673,9 @@ class hyperliquid(Exchange, ImplicitAPI):
1638
1673
  def fetch_funding_rate_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1639
1674
  """
1640
1675
  fetches historical funding rate prices
1641
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-historical-funding-rates
1676
+
1677
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-historical-funding-rates
1678
+
1642
1679
  :param str symbol: unified symbol of the market to fetch the funding rate history for
1643
1680
  :param int [since]: timestamp in ms of the earliest funding rate to fetch
1644
1681
  :param int [limit]: the maximum amount of `funding rate structures <https://docs.ccxt.com/#/?id=funding-rate-history-structure>` to fetch
@@ -1689,7 +1726,9 @@ class hyperliquid(Exchange, ImplicitAPI):
1689
1726
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1690
1727
  """
1691
1728
  fetch all unfilled currently open orders
1692
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-open-orders
1729
+
1730
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-open-orders
1731
+
1693
1732
  :param str symbol: unified market symbol
1694
1733
  :param int [since]: the earliest time in ms to fetch open orders for
1695
1734
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -1813,7 +1852,10 @@ class hyperliquid(Exchange, ImplicitAPI):
1813
1852
  def fetch_order(self, id: str, symbol: Str = None, params={}):
1814
1853
  """
1815
1854
  fetches information on an order made by the user
1816
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-order-status-by-oid-or-cloid
1855
+
1856
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#query-order-status-by-oid-or-cloid
1857
+
1858
+ :param str id: order id
1817
1859
  :param str symbol: unified symbol of the market the order was made in
1818
1860
  :param dict [params]: extra parameters specific to the exchange API endpoint
1819
1861
  :param str [params.user]: user address, will default to self.walletAddress if not provided
@@ -2019,8 +2061,10 @@ class hyperliquid(Exchange, ImplicitAPI):
2019
2061
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
2020
2062
  """
2021
2063
  fetch all trades made by the user
2022
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-fills
2023
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-fills-by-time
2064
+
2065
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-fills
2066
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint#retrieve-a-users-fills-by-time
2067
+
2024
2068
  :param str symbol: unified market symbol
2025
2069
  :param int [since]: the earliest time in ms to fetch trades for
2026
2070
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -2122,7 +2166,9 @@ class hyperliquid(Exchange, ImplicitAPI):
2122
2166
  def fetch_position(self, symbol: str, params={}):
2123
2167
  """
2124
2168
  fetch data on an open position
2125
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-users-perpetuals-account-summary
2169
+
2170
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-users-perpetuals-account-summary
2171
+
2126
2172
  :param str symbol: unified market symbol of the market the position is held in
2127
2173
  :param dict [params]: extra parameters specific to the exchange API endpoint
2128
2174
  :param str [params.user]: user address, will default to self.walletAddress if not provided
@@ -2134,7 +2180,9 @@ class hyperliquid(Exchange, ImplicitAPI):
2134
2180
  def fetch_positions(self, symbols: Strings = None, params={}):
2135
2181
  """
2136
2182
  fetch all open positions
2137
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-users-perpetuals-account-summary
2183
+
2184
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint/perpetuals#retrieve-users-perpetuals-account-summary
2185
+
2138
2186
  :param str[] [symbols]: list of unified market symbols
2139
2187
  :param dict [params]: extra parameters specific to the exchange API endpoint
2140
2188
  :param str [params.user]: user address, will default to self.walletAddress if not provided
@@ -2371,7 +2419,9 @@ class hyperliquid(Exchange, ImplicitAPI):
2371
2419
  def add_margin(self, symbol: str, amount: float, params={}) -> MarginModification:
2372
2420
  """
2373
2421
  add margin
2374
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#update-isolated-margin
2422
+
2423
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#update-isolated-margin
2424
+
2375
2425
  :param str symbol: unified market symbol
2376
2426
  :param float amount: amount of margin to add
2377
2427
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2381,7 +2431,9 @@ class hyperliquid(Exchange, ImplicitAPI):
2381
2431
 
2382
2432
  def reduce_margin(self, symbol: str, amount: float, params={}) -> MarginModification:
2383
2433
  """
2384
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#update-isolated-margin
2434
+
2435
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#update-isolated-margin
2436
+
2385
2437
  remove margin from a position
2386
2438
  :param str symbol: unified market symbol
2387
2439
  :param float amount: the amount of margin to remove
@@ -2450,7 +2502,9 @@ class hyperliquid(Exchange, ImplicitAPI):
2450
2502
  def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
2451
2503
  """
2452
2504
  transfer currency internally between wallets on the same account
2453
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#l1-usdc-transfer
2505
+
2506
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#l1-usdc-transfer
2507
+
2454
2508
  :param str code: unified currency code
2455
2509
  :param float amount: amount to transfer
2456
2510
  :param str fromAccount: account to transfer from *spot, swap*
@@ -2518,8 +2572,10 @@ class hyperliquid(Exchange, ImplicitAPI):
2518
2572
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
2519
2573
  """
2520
2574
  make a withdrawal(only support USDC)
2521
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#initiate-a-withdrawal-request
2522
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#deposit-or-withdraw-from-a-vault
2575
+
2576
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#initiate-a-withdrawal-request
2577
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#deposit-or-withdraw-from-a-vault
2578
+
2523
2579
  :param str code: unified currency code
2524
2580
  :param float amount: the amount to withdraw
2525
2581
  :param str address: the address to withdraw to
ccxt/idex.py CHANGED
@@ -214,7 +214,9 @@ class idex(Exchange, ImplicitAPI):
214
214
  def fetch_markets(self, params={}) -> List[Market]:
215
215
  """
216
216
  retrieves data on all markets for idex
217
- :see: https://api-docs-v3.idex.io/#get-markets
217
+
218
+ https://api-docs-v3.idex.io/#get-markets
219
+
218
220
  :param dict [params]: extra parameters specific to the exchange API endpoint
219
221
  :returns dict[]: an array of objects representing market data
220
222
  """
@@ -341,7 +343,9 @@ class idex(Exchange, ImplicitAPI):
341
343
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
342
344
  """
343
345
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
344
- :see: https://api-docs-v3.idex.io/#get-tickers
346
+
347
+ https://api-docs-v3.idex.io/#get-tickers
348
+
345
349
  :param str symbol: unified symbol of the market to fetch the ticker for
346
350
  :param dict [params]: extra parameters specific to the exchange API endpoint
347
351
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -376,7 +380,9 @@ class idex(Exchange, ImplicitAPI):
376
380
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
377
381
  """
378
382
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
379
- :see: https://api-docs-v3.idex.io/#get-tickers
383
+
384
+ https://api-docs-v3.idex.io/#get-tickers
385
+
380
386
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
381
387
  :param dict [params]: extra parameters specific to the exchange API endpoint
382
388
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -451,7 +457,9 @@ class idex(Exchange, ImplicitAPI):
451
457
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
452
458
  """
453
459
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
454
- :see: https://api-docs-v3.idex.io/#get-candles
460
+
461
+ https://api-docs-v3.idex.io/#get-candles
462
+
455
463
  :param str symbol: unified symbol of the market to fetch OHLCV data for
456
464
  :param str timeframe: the length of time each candle represents
457
465
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -508,7 +516,9 @@ class idex(Exchange, ImplicitAPI):
508
516
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
509
517
  """
510
518
  get the list of most recent trades for a particular symbol
511
- :see: https://api-docs-v3.idex.io/#get-trades
519
+
520
+ https://api-docs-v3.idex.io/#get-trades
521
+
512
522
  :param str symbol: unified symbol of the market to fetch trades for
513
523
  :param int [since]: timestamp in ms of the earliest trade to fetch
514
524
  :param int [limit]: the maximum amount of trades to fetch
@@ -617,7 +627,9 @@ class idex(Exchange, ImplicitAPI):
617
627
  def fetch_trading_fees(self, params={}) -> TradingFees:
618
628
  """
619
629
  fetch the trading fees for multiple markets
620
- :see: https://api-docs-v3.idex.io/#get-api-account
630
+
631
+ https://api-docs-v3.idex.io/#get-api-account
632
+
621
633
  :param dict [params]: extra parameters specific to the exchange API endpoint
622
634
  :returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
623
635
  """
@@ -660,7 +672,9 @@ class idex(Exchange, ImplicitAPI):
660
672
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
661
673
  """
662
674
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
663
- :see: https://api-docs-v3.idex.io/#get-order-books
675
+
676
+ https://api-docs-v3.idex.io/#get-order-books
677
+
664
678
  :param str symbol: unified symbol of the market to fetch the order book for
665
679
  :param int [limit]: the maximum amount of order book entries to return
666
680
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -720,7 +734,9 @@ class idex(Exchange, ImplicitAPI):
720
734
  def fetch_currencies(self, params={}) -> Currencies:
721
735
  """
722
736
  fetches all available currencies on an exchange
723
- :see: https://api-docs-v3.idex.io/#get-assets
737
+
738
+ https://api-docs-v3.idex.io/#get-assets
739
+
724
740
  :param dict [params]: extra parameters specific to the exchange API endpoint
725
741
  :returns dict: an associative dictionary of currencies
726
742
  """
@@ -782,7 +798,9 @@ class idex(Exchange, ImplicitAPI):
782
798
  def fetch_balance(self, params={}) -> Balances:
783
799
  """
784
800
  query for balance and get the amount of funds available for trading or funds locked in orders
785
- :see: https://api-docs-v3.idex.io/#get-balances
801
+
802
+ https://api-docs-v3.idex.io/#get-balances
803
+
786
804
  :param dict [params]: extra parameters specific to the exchange API endpoint
787
805
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
788
806
  """
@@ -820,7 +838,9 @@ class idex(Exchange, ImplicitAPI):
820
838
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
821
839
  """
822
840
  fetch all trades made by the user
823
- :see: https://api-docs-v3.idex.io/#get-fills
841
+
842
+ https://api-docs-v3.idex.io/#get-fills
843
+
824
844
  :param str symbol: unified market symbol
825
845
  :param int [since]: the earliest time in ms to fetch trades for
826
846
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -879,7 +899,10 @@ class idex(Exchange, ImplicitAPI):
879
899
  def fetch_order(self, id: str, symbol: Str = None, params={}):
880
900
  """
881
901
  fetches information on an order made by the user
882
- :see: https://api-docs-v3.idex.io/#get-orders
902
+
903
+ https://api-docs-v3.idex.io/#get-orders
904
+
905
+ :param str id: order id
883
906
  :param str symbol: unified symbol of the market the order was made in
884
907
  :param dict [params]: extra parameters specific to the exchange API endpoint
885
908
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -892,7 +915,9 @@ class idex(Exchange, ImplicitAPI):
892
915
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
893
916
  """
894
917
  fetch all unfilled currently open orders
895
- :see: https://api-docs-v3.idex.io/#get-orders
918
+
919
+ https://api-docs-v3.idex.io/#get-orders
920
+
896
921
  :param str symbol: unified market symbol
897
922
  :param int [since]: the earliest time in ms to fetch open orders for
898
923
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -907,7 +932,9 @@ class idex(Exchange, ImplicitAPI):
907
932
  def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
908
933
  """
909
934
  fetches information on multiple closed orders made by the user
910
- :see: https://api-docs-v3.idex.io/#get-orders
935
+
936
+ https://api-docs-v3.idex.io/#get-orders
937
+
911
938
  :param str symbol: unified market symbol of the market orders were made in
912
939
  :param int [since]: the earliest time in ms to fetch orders for
913
940
  :param int [limit]: the maximum number of order structures to retrieve
@@ -1112,7 +1139,9 @@ class idex(Exchange, ImplicitAPI):
1112
1139
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
1113
1140
  """
1114
1141
  create a trade order, https://docs.idex.io/#create-order
1115
- :see: https://api-docs-v3.idex.io/#create-order
1142
+
1143
+ https://api-docs-v3.idex.io/#create-order
1144
+
1116
1145
  :param str symbol: unified symbol of the market to create an order in
1117
1146
  :param str type: 'market' or 'limit'
1118
1147
  :param str side: 'buy' or 'sell'
@@ -1295,7 +1324,9 @@ class idex(Exchange, ImplicitAPI):
1295
1324
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
1296
1325
  """
1297
1326
  make a withdrawal
1298
- :see: https://api-docs-v3.idex.io/#withdraw-funds
1327
+
1328
+ https://api-docs-v3.idex.io/#withdraw-funds
1329
+
1299
1330
  :param str code: unified currency code
1300
1331
  :param float amount: the amount to withdraw
1301
1332
  :param str address: the address to withdraw to
@@ -1347,7 +1378,9 @@ class idex(Exchange, ImplicitAPI):
1347
1378
  def cancel_all_orders(self, symbol: Str = None, params={}):
1348
1379
  """
1349
1380
  cancel all open orders
1350
- :see: https://api-docs-v3.idex.io/#cancel-order
1381
+
1382
+ https://api-docs-v3.idex.io/#cancel-order
1383
+
1351
1384
  :param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
1352
1385
  :param dict [params]: extra parameters specific to the exchange API endpoint
1353
1386
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
@@ -1383,7 +1416,9 @@ class idex(Exchange, ImplicitAPI):
1383
1416
  def cancel_order(self, id: str, symbol: Str = None, params={}):
1384
1417
  """
1385
1418
  cancels an open order
1386
- :see: https://api-docs-v3.idex.io/#cancel-order
1419
+
1420
+ https://api-docs-v3.idex.io/#cancel-order
1421
+
1387
1422
  :param str id: order id
1388
1423
  :param str symbol: unified symbol of the market the order was made in
1389
1424
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1428,7 +1463,9 @@ class idex(Exchange, ImplicitAPI):
1428
1463
  def fetch_deposit(self, id: str, code: Str = None, params={}):
1429
1464
  """
1430
1465
  fetch information on a deposit
1431
- :see: https://api-docs-v3.idex.io/#get-deposits
1466
+
1467
+ https://api-docs-v3.idex.io/#get-deposits
1468
+
1432
1469
  :param str id: deposit id
1433
1470
  :param str code: not used by idex fetchDeposit()
1434
1471
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1447,7 +1484,9 @@ class idex(Exchange, ImplicitAPI):
1447
1484
  def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1448
1485
  """
1449
1486
  fetch all deposits made to an account
1450
- :see: https://api-docs-v3.idex.io/#get-deposits
1487
+
1488
+ https://api-docs-v3.idex.io/#get-deposits
1489
+
1451
1490
  :param str code: unified currency code
1452
1491
  :param int [since]: the earliest time in ms to fetch deposits for
1453
1492
  :param int [limit]: the maximum number of deposits structures to retrieve
@@ -1462,7 +1501,9 @@ class idex(Exchange, ImplicitAPI):
1462
1501
  def fetch_status(self, params={}):
1463
1502
  """
1464
1503
  the latest known information on the availability of the exchange API
1465
- :see: https://api-docs-v3.idex.io/#get-ping
1504
+
1505
+ https://api-docs-v3.idex.io/#get-ping
1506
+
1466
1507
  :param dict [params]: extra parameters specific to the exchange API endpoint
1467
1508
  :returns dict: a `status structure <https://docs.ccxt.com/#/?id=exchange-status-structure>`
1468
1509
  """
@@ -1478,7 +1519,9 @@ class idex(Exchange, ImplicitAPI):
1478
1519
  def fetch_time(self, params={}):
1479
1520
  """
1480
1521
  fetches the current integer timestamp in milliseconds from the exchange server
1481
- :see: https://api-docs-v3.idex.io/#get-time
1522
+
1523
+ https://api-docs-v3.idex.io/#get-time
1524
+
1482
1525
  :param dict [params]: extra parameters specific to the exchange API endpoint
1483
1526
  :returns int: the current integer timestamp in milliseconds from the exchange server
1484
1527
  """
@@ -1491,7 +1534,9 @@ class idex(Exchange, ImplicitAPI):
1491
1534
  def fetch_withdrawal(self, id: str, code: Str = None, params={}):
1492
1535
  """
1493
1536
  fetch data on a currency withdrawal via the withdrawal id
1494
- :see: https://api-docs-v3.idex.io/#get-withdrawals
1537
+
1538
+ https://api-docs-v3.idex.io/#get-withdrawals
1539
+
1495
1540
  :param str id: withdrawal id
1496
1541
  :param str code: not used by idex.fetchWithdrawal
1497
1542
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1510,7 +1555,9 @@ class idex(Exchange, ImplicitAPI):
1510
1555
  def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1511
1556
  """
1512
1557
  fetch all withdrawals made from an account
1513
- :see: https://api-docs-v3.idex.io/#get-withdrawals
1558
+
1559
+ https://api-docs-v3.idex.io/#get-withdrawals
1560
+
1514
1561
  :param str code: unified currency code
1515
1562
  :param int [since]: the earliest time in ms to fetch withdrawals for
1516
1563
  :param int [limit]: the maximum number of withdrawals structures to retrieve
@@ -1658,7 +1705,9 @@ class idex(Exchange, ImplicitAPI):
1658
1705
  def fetch_deposit_address(self, code: Str = None, params={}) -> DepositAddress:
1659
1706
  """
1660
1707
  fetch the Polygon address of the wallet
1661
- :see: https://api-docs-v3.idex.io/#get-wallets
1708
+
1709
+ https://api-docs-v3.idex.io/#get-wallets
1710
+
1662
1711
  :param str code: not used by idex
1663
1712
  :param dict [params]: extra parameters specific to the exchange API endpoint
1664
1713
  :returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
@@ -467,6 +467,7 @@ class independentreserve(Exchange, ImplicitAPI):
467
467
  def fetch_order(self, id: str, symbol: Str = None, params={}):
468
468
  """
469
469
  fetches information on an order made by the user
470
+ :param str id: order id
470
471
  :param str symbol: unified symbol of the market the order was made in
471
472
  :param dict [params]: extra parameters specific to the exchange API endpoint
472
473
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -684,7 +685,9 @@ class independentreserve(Exchange, ImplicitAPI):
684
685
  def cancel_order(self, id: str, symbol: Str = None, params={}):
685
686
  """
686
687
  cancels an open order
687
- :see: https://www.independentreserve.com/features/api#CancelOrder
688
+
689
+ https://www.independentreserve.com/features/api#CancelOrder
690
+
688
691
  :param str id: order id
689
692
  :param str symbol: unified symbol of the market the order was made in
690
693
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -715,7 +718,9 @@ class independentreserve(Exchange, ImplicitAPI):
715
718
  def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
716
719
  """
717
720
  fetch the deposit address for a currency associated with self account
718
- :see: https://www.independentreserve.com/features/api#GetDigitalCurrencyDepositAddress
721
+
722
+ https://www.independentreserve.com/features/api#GetDigitalCurrencyDepositAddress
723
+
719
724
  :param str code: unified currency code
720
725
  :param dict [params]: extra parameters specific to the exchange API endpoint
721
726
  :returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
@@ -758,14 +763,16 @@ class independentreserve(Exchange, ImplicitAPI):
758
763
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
759
764
  """
760
765
  make a withdrawal
761
- :see: https://www.independentreserve.com/features/api#WithdrawDigitalCurrency
766
+
767
+ https://www.independentreserve.com/features/api#WithdrawDigitalCurrency
768
+
762
769
  :param str code: unified currency code
763
770
  :param float amount: the amount to withdraw
764
771
  :param str address: the address to withdraw to
765
772
  :param str tag:
766
773
  :param dict [params]: extra parameters specific to the exchange API endpoint
767
- *
768
- * EXCHANGE SPECIFIC PARAMETERS
774
+
775
+ EXCHANGE SPECIFIC PARAMETERS
769
776
  :param dict [params.comment]: withdrawal comment, should not exceed 500 characters
770
777
  :returns dict: a `transaction structure <https://docs.ccxt.com/#/?id=transaction-structure>`
771
778
  """