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/pro/hollaex.py CHANGED
@@ -62,7 +62,9 @@ class hollaex(ccxt.async_support.hollaex):
62
62
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
63
63
  """
64
64
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
65
- :see: https://apidocs.hollaex.com/#sending-receiving-messages
65
+
66
+ https://apidocs.hollaex.com/#sending-receiving-messages
67
+
66
68
  :param str symbol: unified symbol of the market to fetch the order book for
67
69
  :param int [limit]: the maximum amount of order book entries to return
68
70
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -117,7 +119,9 @@ class hollaex(ccxt.async_support.hollaex):
117
119
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
118
120
  """
119
121
  get the list of most recent trades for a particular symbol
120
- :see: https://apidocs.hollaex.com/#sending-receiving-messages
122
+
123
+ https://apidocs.hollaex.com/#sending-receiving-messages
124
+
121
125
  :param str symbol: unified symbol of the market to fetch trades for
122
126
  :param int [since]: timestamp in ms of the earliest trade to fetch
123
127
  :param int [limit]: the maximum amount of trades to fetch
@@ -169,7 +173,9 @@ class hollaex(ccxt.async_support.hollaex):
169
173
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
170
174
  """
171
175
  watches information on multiple trades made by the user
172
- :see: https://apidocs.hollaex.com/#sending-receiving-messages
176
+
177
+ https://apidocs.hollaex.com/#sending-receiving-messages
178
+
173
179
  :param str symbol: unified market symbol of the market trades were made in
174
180
  :param int [since]: the earliest time in ms to fetch trades for
175
181
  :param int [limit]: the maximum number of trade structures to retrieve
@@ -242,7 +248,9 @@ class hollaex(ccxt.async_support.hollaex):
242
248
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
243
249
  """
244
250
  watches information on multiple orders made by the user
245
- :see: https://apidocs.hollaex.com/#sending-receiving-messages
251
+
252
+ https://apidocs.hollaex.com/#sending-receiving-messages
253
+
246
254
  :param str symbol: unified market symbol of the market orders were made in
247
255
  :param int [since]: the earliest time in ms to fetch orders for
248
256
  :param int [limit]: the maximum number of order structures to retrieve
@@ -354,7 +362,9 @@ class hollaex(ccxt.async_support.hollaex):
354
362
  async def watch_balance(self, params={}) -> Balances:
355
363
  """
356
364
  watch balance and get the amount of funds available for trading or funds locked in orders
357
- :see: https://apidocs.hollaex.com/#sending-receiving-messages
365
+
366
+ https://apidocs.hollaex.com/#sending-receiving-messages
367
+
358
368
  :param dict [params]: extra parameters specific to the exchange API endpoint
359
369
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
360
370
  """
ccxt/pro/htx.py CHANGED
@@ -143,8 +143,10 @@ class htx(ccxt.async_support.htx):
143
143
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
144
144
  """
145
145
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
146
- :see: https://www.htx.com/en-us/opend/newApiPages/?id=7ec53561-7773-11ed-9966-0242ac110003
147
- :see: https://www.htx.com/en-us/opend/newApiPages/?id=28c33ab2-77ae-11ed-9966-0242ac110003
146
+
147
+ https://www.htx.com/en-us/opend/newApiPages/?id=7ec53561-7773-11ed-9966-0242ac110003
148
+ https://www.htx.com/en-us/opend/newApiPages/?id=28c33ab2-77ae-11ed-9966-0242ac110003
149
+
148
150
  :param str symbol: unified symbol of the market to fetch the ticker for
149
151
  :param dict [params]: extra parameters specific to the exchange API endpoint
150
152
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -210,9 +212,11 @@ class htx(ccxt.async_support.htx):
210
212
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
211
213
  """
212
214
  get the list of most recent trades for a particular symbol
213
- :see: https://www.htx.com/en-us/opend/newApiPages/?id=7ec53b69-7773-11ed-9966-0242ac110003
214
- :see: https://www.htx.com/en-us/opend/newApiPages/?id=28c33c21-77ae-11ed-9966-0242ac110003
215
- :see: https://www.htx.com/en-us/opend/newApiPages/?id=28c33cfe-77ae-11ed-9966-0242ac110003
215
+
216
+ https://www.htx.com/en-us/opend/newApiPages/?id=7ec53b69-7773-11ed-9966-0242ac110003
217
+ https://www.htx.com/en-us/opend/newApiPages/?id=28c33c21-77ae-11ed-9966-0242ac110003
218
+ https://www.htx.com/en-us/opend/newApiPages/?id=28c33cfe-77ae-11ed-9966-0242ac110003
219
+
216
220
  :param str symbol: unified symbol of the market to fetch trades for
217
221
  :param int [since]: timestamp in ms of the earliest trade to fetch
218
222
  :param int [limit]: the maximum amount of trades to fetch
@@ -271,9 +275,11 @@ class htx(ccxt.async_support.htx):
271
275
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
272
276
  """
273
277
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
274
- :see: https://www.htx.com/en-us/opend/newApiPages/?id=7ec53241-7773-11ed-9966-0242ac110003
275
- :see: https://www.htx.com/en-us/opend/newApiPages/?id=28c3346a-77ae-11ed-9966-0242ac110003
276
- :see: https://www.htx.com/en-us/opend/newApiPages/?id=28c33563-77ae-11ed-9966-0242ac110003
278
+
279
+ https://www.htx.com/en-us/opend/newApiPages/?id=7ec53241-7773-11ed-9966-0242ac110003
280
+ https://www.htx.com/en-us/opend/newApiPages/?id=28c3346a-77ae-11ed-9966-0242ac110003
281
+ https://www.htx.com/en-us/opend/newApiPages/?id=28c33563-77ae-11ed-9966-0242ac110003
282
+
277
283
  :param str symbol: unified symbol of the market to fetch OHLCV data for
278
284
  :param str timeframe: the length of time each candle represents
279
285
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -329,9 +335,11 @@ class htx(ccxt.async_support.htx):
329
335
 
330
336
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
331
337
  """
332
- :see: https://huobiapi.github.io/docs/dm/v1/en/#subscribe-market-depth-data
333
- :see: https://huobiapi.github.io/docs/coin_margined_swap/v1/en/#subscribe-incremental-market-depth-data
334
- :see: https://huobiapi.github.io/docs/usdt_swap/v1/en/#general-subscribe-incremental-market-depth-data
338
+
339
+ https://huobiapi.github.io/docs/dm/v1/en/#subscribe-market-depth-data
340
+ https://huobiapi.github.io/docs/coin_margined_swap/v1/en/#subscribe-incremental-market-depth-data
341
+ https://huobiapi.github.io/docs/usdt_swap/v1/en/#general-subscribe-incremental-market-depth-data
342
+
335
343
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
336
344
  :param str symbol: unified symbol of the market to fetch the order book for
337
345
  :param int [limit]: the maximum amount of order book entries to return
@@ -650,7 +658,9 @@ class htx(ccxt.async_support.htx):
650
658
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
651
659
  """
652
660
  watches information on multiple trades made by the user
653
- :see: https://www.htx.com/en-us/opend/newApiPages/?id=7ec53dd5-7773-11ed-9966-0242ac110003
661
+
662
+ https://www.htx.com/en-us/opend/newApiPages/?id=7ec53dd5-7773-11ed-9966-0242ac110003
663
+
654
664
  :param str symbol: unified market symbol of the market trades were made in
655
665
  :param int [since]: the earliest time in ms to fetch trades for
656
666
  :param int [limit]: the maximum number of trade structures to retrieve
@@ -737,7 +747,9 @@ class htx(ccxt.async_support.htx):
737
747
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
738
748
  """
739
749
  watches information on multiple orders made by the user
740
- :see: https://www.htx.com/en-us/opend/newApiPages/?id=7ec53c8f-7773-11ed-9966-0242ac110003
750
+
751
+ https://www.htx.com/en-us/opend/newApiPages/?id=7ec53c8f-7773-11ed-9966-0242ac110003
752
+
741
753
  :param str symbol: unified market symbol of the market orders were made in
742
754
  :param int [since]: the earliest time in ms to fetch orders for
743
755
  :param int [limit]: the maximum number of order structures to retrieve
@@ -1170,12 +1182,16 @@ class htx(ccxt.async_support.htx):
1170
1182
 
1171
1183
  async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
1172
1184
  """
1173
- :see: https://www.huobi.com/en-in/opend/newApiPages/?id=8cb7de1c-77b5-11ed-9966-0242ac110003
1174
- :see: https://www.huobi.com/en-in/opend/newApiPages/?id=8cb7df0f-77b5-11ed-9966-0242ac110003
1175
- :see: https://www.huobi.com/en-in/opend/newApiPages/?id=28c34a7d-77ae-11ed-9966-0242ac110003
1176
- :see: https://www.huobi.com/en-in/opend/newApiPages/?id=5d5156b5-77b6-11ed-9966-0242ac110003
1185
+
1186
+ https://www.huobi.com/en-in/opend/newApiPages/?id=8cb7de1c-77b5-11ed-9966-0242ac110003
1187
+ https://www.huobi.com/en-in/opend/newApiPages/?id=8cb7df0f-77b5-11ed-9966-0242ac110003
1188
+ https://www.huobi.com/en-in/opend/newApiPages/?id=28c34a7d-77ae-11ed-9966-0242ac110003
1189
+ https://www.huobi.com/en-in/opend/newApiPages/?id=5d5156b5-77b6-11ed-9966-0242ac110003
1190
+
1177
1191
  watch all open positions. Note: huobi has one channel for each marginMode and type
1178
1192
  :param str[]|None symbols: list of unified market symbols
1193
+ @param since
1194
+ @param limit
1179
1195
  :param dict params: extra parameters specific to the exchange API endpoint
1180
1196
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
1181
1197
  """
@@ -1279,10 +1295,12 @@ class htx(ccxt.async_support.htx):
1279
1295
  async def watch_balance(self, params={}) -> Balances:
1280
1296
  """
1281
1297
  watch balance and get the amount of funds available for trading or funds locked in orders
1282
- :see: https://www.htx.com/en-us/opend/newApiPages/?id=7ec52e28-7773-11ed-9966-0242ac110003
1283
- :see: https://www.htx.com/en-us/opend/newApiPages/?id=10000084-77b7-11ed-9966-0242ac110003
1284
- :see: https://www.htx.com/en-us/opend/newApiPages/?id=8cb7dcca-77b5-11ed-9966-0242ac110003
1285
- :see: https://www.htx.com/en-us/opend/newApiPages/?id=28c34995-77ae-11ed-9966-0242ac110003
1298
+
1299
+ https://www.htx.com/en-us/opend/newApiPages/?id=7ec52e28-7773-11ed-9966-0242ac110003
1300
+ https://www.htx.com/en-us/opend/newApiPages/?id=10000084-77b7-11ed-9966-0242ac110003
1301
+ https://www.htx.com/en-us/opend/newApiPages/?id=8cb7dcca-77b5-11ed-9966-0242ac110003
1302
+ https://www.htx.com/en-us/opend/newApiPages/?id=28c34995-77ae-11ed-9966-0242ac110003
1303
+
1286
1304
  :param dict [params]: extra parameters specific to the exchange API endpoint
1287
1305
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
1288
1306
  """
ccxt/pro/hyperliquid.py CHANGED
@@ -61,8 +61,11 @@ class hyperliquid(ccxt.async_support.hyperliquid):
61
61
  async def create_orders_ws(self, orders: List[OrderRequest], params={}):
62
62
  """
63
63
  create a list of trade orders using WebSocket post request
64
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#place-an-order
64
+
65
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#place-an-order
66
+
65
67
  :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
68
+ :param dict [params]: extra parameters specific to the exchange API endpoint
66
69
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
67
70
  """
68
71
  await self.load_markets()
@@ -80,7 +83,9 @@ class hyperliquid(ccxt.async_support.hyperliquid):
80
83
  async def create_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
81
84
  """
82
85
  create a trade order using WebSocket post request
83
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#place-an-order
86
+
87
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#place-an-order
88
+
84
89
  :param str symbol: unified symbol of the market to create an order in
85
90
  :param str type: 'market' or 'limit'
86
91
  :param str side: 'buy' or 'sell'
@@ -104,8 +109,10 @@ class hyperliquid(ccxt.async_support.hyperliquid):
104
109
  async def edit_order_ws(self, id: str, symbol: str, type: str, side: str, amount: Num = None, price: Num = None, params={}):
105
110
  """
106
111
  edit a trade order
107
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#modify-an-order
108
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#modify-multiple-orders
112
+
113
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#modify-an-order
114
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint#modify-multiple-orders
115
+
109
116
  :param str id: cancel order id
110
117
  :param str symbol: unified symbol of the market to create an order in
111
118
  :param str type: 'market' or 'limit'
@@ -139,7 +146,9 @@ class hyperliquid(ccxt.async_support.hyperliquid):
139
146
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
140
147
  """
141
148
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
142
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
149
+
150
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
151
+
143
152
  :param str symbol: unified symbol of the market to fetch the order book for
144
153
  :param int [limit]: the maximum amount of order book entries to return
145
154
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -164,7 +173,9 @@ class hyperliquid(ccxt.async_support.hyperliquid):
164
173
  async def un_watch_order_book(self, symbol: str, params={}) -> Any:
165
174
  """
166
175
  unWatches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
167
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
176
+
177
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
178
+
168
179
  :param str symbol: unified symbol of the market to fetch the order book for
169
180
  :param dict [params]: extra parameters specific to the exchange API endpoint
170
181
  :returns dict: A dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbols
@@ -235,7 +246,9 @@ class hyperliquid(ccxt.async_support.hyperliquid):
235
246
 
236
247
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
237
248
  """
238
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
249
+
250
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
251
+
239
252
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
240
253
  :param str symbol: unified symbol of the market to fetch the ticker for
241
254
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -249,7 +262,9 @@ class hyperliquid(ccxt.async_support.hyperliquid):
249
262
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
250
263
  """
251
264
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
252
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
265
+
266
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
267
+
253
268
  :param str[] symbols: unified symbol of the market to fetch the ticker for
254
269
  :param dict [params]: extra parameters specific to the exchange API endpoint
255
270
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -273,7 +288,9 @@ class hyperliquid(ccxt.async_support.hyperliquid):
273
288
  async def un_watch_tickers(self, symbols: Strings = None, params={}) -> Any:
274
289
  """
275
290
  unWatches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
276
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
291
+
292
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
293
+
277
294
  :param str[] symbols: unified symbol of the market to fetch the ticker for
278
295
  :param dict [params]: extra parameters specific to the exchange API endpoint
279
296
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -295,7 +312,9 @@ class hyperliquid(ccxt.async_support.hyperliquid):
295
312
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
296
313
  """
297
314
  watches information on multiple trades made by the user
298
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
315
+
316
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
317
+
299
318
  :param str symbol: unified market symbol of the market orders were made in
300
319
  :param int [since]: the earliest time in ms to fetch orders for
301
320
  :param int [limit]: the maximum number of order structures to retrieve
@@ -486,7 +505,9 @@ class hyperliquid(ccxt.async_support.hyperliquid):
486
505
  async def un_watch_trades(self, symbol: str, params={}) -> Any:
487
506
  """
488
507
  unWatches information on multiple trades made in a market
489
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
508
+
509
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
510
+
490
511
  :param str symbol: unified market symbol of the market trades were made in
491
512
  :param dict [params]: extra parameters specific to the exchange API endpoint
492
513
  :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
@@ -607,7 +628,9 @@ class hyperliquid(ccxt.async_support.hyperliquid):
607
628
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
608
629
  """
609
630
  watches historical candlestick data containing the open, high, low, close price, and the volume of a market
610
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
631
+
632
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
633
+
611
634
  :param str symbol: unified symbol of the market to fetch OHLCV data for
612
635
  :param str timeframe: the length of time each candle represents
613
636
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -637,7 +660,9 @@ class hyperliquid(ccxt.async_support.hyperliquid):
637
660
  async def un_watch_ohlcv(self, symbol: str, timeframe='1m', params={}) -> Any:
638
661
  """
639
662
  watches historical candlestick data containing the open, high, low, close price, and the volume of a market
640
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
663
+
664
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
665
+
641
666
  :param str symbol: unified symbol of the market to fetch OHLCV data for
642
667
  :param str timeframe: the length of time each candle represents
643
668
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -714,7 +739,9 @@ class hyperliquid(ccxt.async_support.hyperliquid):
714
739
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
715
740
  """
716
741
  watches information on multiple orders made by the user
717
- :see: https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
742
+
743
+ https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/websocket/subscriptions
744
+
718
745
  :param str symbol: unified market symbol of the market orders were made in
719
746
  :param int [since]: the earliest time in ms to fetch orders for
720
747
  :param int [limit]: the maximum number of order structures to retrieve
ccxt/pro/kraken.py CHANGED
@@ -129,7 +129,9 @@ class kraken(ccxt.async_support.kraken):
129
129
 
130
130
  async def create_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> Order:
131
131
  """
132
- :see: https://docs.kraken.com/api/docs/websocket-v1/addorder
132
+
133
+ https://docs.kraken.com/api/docs/websocket-v1/addorder
134
+
133
135
  create a trade order
134
136
  :param str symbol: unified symbol of the market to create an order in
135
137
  :param str type: 'market' or 'limit'
@@ -184,7 +186,9 @@ class kraken(ccxt.async_support.kraken):
184
186
  async def edit_order_ws(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}) -> Order:
185
187
  """
186
188
  edit a trade order
187
- :see: https://docs.kraken.com/api/docs/websocket-v1/editorder
189
+
190
+ https://docs.kraken.com/api/docs/websocket-v1/editorder
191
+
188
192
  :param str id: order id
189
193
  :param str symbol: unified symbol of the market to create an order in
190
194
  :param str type: 'market' or 'limit'
@@ -214,7 +218,9 @@ class kraken(ccxt.async_support.kraken):
214
218
 
215
219
  async def cancel_orders_ws(self, ids: List[str], symbol: Str = None, params={}):
216
220
  """
217
- :see: https://docs.kraken.com/api/docs/websocket-v1/cancelorder
221
+
222
+ https://docs.kraken.com/api/docs/websocket-v1/cancelorder
223
+
218
224
  cancel multiple orders
219
225
  :param str[] ids: order ids
220
226
  :param str symbol: unified market symbol, default is None
@@ -236,7 +242,9 @@ class kraken(ccxt.async_support.kraken):
236
242
 
237
243
  async def cancel_order_ws(self, id: str, symbol: Str = None, params={}) -> Order:
238
244
  """
239
- :see: https://docs.kraken.com/api/docs/websocket-v1/cancelorder
245
+
246
+ https://docs.kraken.com/api/docs/websocket-v1/cancelorder
247
+
240
248
  cancels an open order
241
249
  :param str id: order id
242
250
  :param str symbol: unified symbol of the market the order was made in
@@ -272,7 +280,9 @@ class kraken(ccxt.async_support.kraken):
272
280
 
273
281
  async def cancel_all_orders_ws(self, symbol: Str = None, params={}):
274
282
  """
275
- :see: https://docs.kraken.com/api/docs/websocket-v1/cancelall
283
+
284
+ https://docs.kraken.com/api/docs/websocket-v1/cancelall
285
+
276
286
  cancel all open orders
277
287
  :param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
278
288
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -466,7 +476,9 @@ class kraken(ccxt.async_support.kraken):
466
476
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
467
477
  """
468
478
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
469
- :see: https://docs.kraken.com/api/docs/websocket-v1/ticker
479
+
480
+ https://docs.kraken.com/api/docs/websocket-v1/ticker
481
+
470
482
  :param str symbol: unified symbol of the market to fetch the ticker for
471
483
  :param dict [params]: extra parameters specific to the exchange API endpoint
472
484
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -479,8 +491,10 @@ class kraken(ccxt.async_support.kraken):
479
491
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
480
492
  """
481
493
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
482
- :see: https://docs.kraken.com/api/docs/websocket-v1/ticker
483
- :param str symbol: unified symbol of the market to fetch the ticker for
494
+
495
+ https://docs.kraken.com/api/docs/websocket-v1/ticker
496
+
497
+ :param str[] symbols:
484
498
  :param dict [params]: extra parameters specific to the exchange API endpoint
485
499
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
486
500
  """
@@ -495,7 +509,9 @@ class kraken(ccxt.async_support.kraken):
495
509
 
496
510
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
497
511
  """
498
- :see: https://docs.kraken.com/api/docs/websocket-v1/spread
512
+
513
+ https://docs.kraken.com/api/docs/websocket-v1/spread
514
+
499
515
  watches best bid & ask for symbols
500
516
  :param str[] symbols: unified symbol of the market to fetch the ticker for
501
517
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -551,7 +567,9 @@ class kraken(ccxt.async_support.kraken):
551
567
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
552
568
  """
553
569
  get the list of most recent trades for a particular symbol
554
- :see: https://docs.kraken.com/api/docs/websocket-v1/trade
570
+
571
+ https://docs.kraken.com/api/docs/websocket-v1/trade
572
+
555
573
  :param str symbol: unified symbol of the market to fetch trades for
556
574
  :param int [since]: timestamp in ms of the earliest trade to fetch
557
575
  :param int [limit]: the maximum amount of trades to fetch
@@ -562,7 +580,9 @@ class kraken(ccxt.async_support.kraken):
562
580
 
563
581
  async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
564
582
  """
565
- :see: https://docs.kraken.com/api/docs/websocket-v1/trade
583
+
584
+ https://docs.kraken.com/api/docs/websocket-v1/trade
585
+
566
586
  get the list of most recent trades for a list of symbols
567
587
  :param str[] symbols: unified symbol of the market to fetch trades for
568
588
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -580,7 +600,9 @@ class kraken(ccxt.async_support.kraken):
580
600
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
581
601
  """
582
602
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
583
- :see: https://docs.kraken.com/api/docs/websocket-v1/book
603
+
604
+ https://docs.kraken.com/api/docs/websocket-v1/book
605
+
584
606
  :param str symbol: unified symbol of the market to fetch the order book for
585
607
  :param int [limit]: the maximum amount of order book entries to return
586
608
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -591,7 +613,9 @@ class kraken(ccxt.async_support.kraken):
591
613
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
592
614
  """
593
615
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
594
- :see: https://docs.kraken.com/api/docs/websocket-v1/book
616
+
617
+ https://docs.kraken.com/api/docs/websocket-v1/book
618
+
595
619
  :param str[] symbols: unified array of symbols
596
620
  :param int [limit]: the maximum amount of order book entries to return
597
621
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -611,7 +635,9 @@ class kraken(ccxt.async_support.kraken):
611
635
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
612
636
  """
613
637
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
614
- :see: https://docs.kraken.com/api/docs/websocket-v1/ohlc
638
+
639
+ https://docs.kraken.com/api/docs/websocket-v1/ohlc
640
+
615
641
  :param str symbol: unified symbol of the market to fetch OHLCV data for
616
642
  :param str timeframe: the length of time each candle represents
617
643
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -893,7 +919,9 @@ class kraken(ccxt.async_support.kraken):
893
919
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
894
920
  """
895
921
  watches information on multiple trades made by the user
896
- :see: https://docs.kraken.com/api/docs/websocket-v1/owntrades
922
+
923
+ https://docs.kraken.com/api/docs/websocket-v1/owntrades
924
+
897
925
  :param str symbol: unified market symbol of the market trades were made in
898
926
  :param int [since]: the earliest time in ms to fetch trades for
899
927
  :param int [limit]: the maximum number of trade structures to retrieve
@@ -1042,7 +1070,9 @@ class kraken(ccxt.async_support.kraken):
1042
1070
 
1043
1071
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1044
1072
  """
1045
- :see: https://docs.kraken.com/api/docs/websocket-v1/openorders
1073
+
1074
+ https://docs.kraken.com/api/docs/websocket-v1/openorders
1075
+
1046
1076
  watches information on multiple orders made by the user
1047
1077
  :param str symbol: unified market symbol of the market orders were made in
1048
1078
  :param int [since]: the earliest time in ms to fetch orders for
@@ -1313,7 +1343,9 @@ class kraken(ccxt.async_support.kraken):
1313
1343
  async def watch_balance(self, params={}) -> Balances:
1314
1344
  """
1315
1345
  watch balance and get the amount of funds available for trading or funds locked in orders
1316
- :see: https://docs.kraken.com/api/docs/websocket-v2/balances
1346
+
1347
+ https://docs.kraken.com/api/docs/websocket-v2/balances
1348
+
1317
1349
  :param dict [params]: extra parameters specific to the exchange API endpoint
1318
1350
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
1319
1351
  """