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
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
  """
ccxt/pro/krakenfutures.py CHANGED
@@ -69,9 +69,11 @@ class krakenfutures(ccxt.async_support.krakenfutures):
69
69
 
70
70
  async def authenticate(self, params={}):
71
71
  """
72
- * @ignore
72
+ @ignore
73
73
  authenticates the user to access private web socket channels
74
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-challenge
74
+
75
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-challenge
76
+
75
77
  :returns dict: response from exchange
76
78
  """
77
79
  self.check_required_credentials()
@@ -96,7 +98,9 @@ class krakenfutures(ccxt.async_support.krakenfutures):
96
98
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
97
99
  """
98
100
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
99
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-challenge
101
+
102
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-challenge
103
+
100
104
  :param str[] symbols: unified array of symbols
101
105
  :param int [limit]: the maximum amount of order book entries to return
102
106
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -107,7 +111,7 @@ class krakenfutures(ccxt.async_support.krakenfutures):
107
111
 
108
112
  async def subscribe_public(self, name: str, symbols: List[str], params={}):
109
113
  """
110
- * @ignore
114
+ @ignore
111
115
  Connects to a websocket channel
112
116
  :param str name: name of the channel
113
117
  :param str[] symbols: CCXT market symbols
@@ -137,10 +141,10 @@ class krakenfutures(ccxt.async_support.krakenfutures):
137
141
 
138
142
  async def subscribe_private(self, name: str, messageHash: str, params={}):
139
143
  """
140
- * @ignore
144
+ @ignore
141
145
  Connects to a websocket channel
142
146
  :param str name: name of the channel
143
- :param str[] symbols: CCXT market symbols
147
+ :param str messageHash: unique identifier for the message
144
148
  :param dict [params]: extra parameters specific to the krakenfutures api
145
149
  :returns dict: data from the websocket stream
146
150
  """
@@ -160,7 +164,9 @@ class krakenfutures(ccxt.async_support.krakenfutures):
160
164
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
161
165
  """
162
166
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
163
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker
167
+
168
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker
169
+
164
170
  :param str symbol: unified symbol of the market to fetch the ticker for
165
171
  :param dict [params]: extra parameters specific to the exchange API endpoint
166
172
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -173,8 +179,10 @@ class krakenfutures(ccxt.async_support.krakenfutures):
173
179
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
174
180
  """
175
181
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
176
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker
177
- :param str symbol: unified symbol of the market to fetch the ticker for
182
+
183
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker
184
+
185
+ :param str[] symbols: unified symbols of the markets to fetch the ticker for
178
186
  :param dict [params]: extra parameters specific to the exchange API endpoint
179
187
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
180
188
  """
@@ -189,7 +197,9 @@ class krakenfutures(ccxt.async_support.krakenfutures):
189
197
 
190
198
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
191
199
  """
192
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker-lite
200
+
201
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker-lite
202
+
193
203
  watches best bid & ask for symbols
194
204
  :param str[] symbols: unified symbol of the market to fetch the ticker for
195
205
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -205,7 +215,9 @@ class krakenfutures(ccxt.async_support.krakenfutures):
205
215
  async def watch_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
206
216
  """
207
217
  get the list of most recent trades for a particular symbol
208
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-trade
218
+
219
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-trade
220
+
209
221
  :param str symbol: unified symbol of the market to fetch trades for
210
222
  :param int [since]: timestamp in ms of the earliest trade to fetch
211
223
  :param int [limit]: the maximum amount of trades to fetch
@@ -216,7 +228,9 @@ class krakenfutures(ccxt.async_support.krakenfutures):
216
228
 
217
229
  async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
218
230
  """
219
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-trade
231
+
232
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-trade
233
+
220
234
  get the list of most recent trades for a list of symbols
221
235
  :param str[] symbols: unified symbol of the market to fetch trades for
222
236
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -234,7 +248,9 @@ class krakenfutures(ccxt.async_support.krakenfutures):
234
248
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
235
249
  """
236
250
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
237
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-book
251
+
252
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-book
253
+
238
254
  :param str symbol: unified symbol of the market to fetch the order book for
239
255
  :param int [limit]: not used by krakenfutures watchOrderBook
240
256
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -244,9 +260,13 @@ class krakenfutures(ccxt.async_support.krakenfutures):
244
260
 
245
261
  async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
246
262
  """
247
- :see: https://docs.futures.kraken.com/#websocket-api-private-feeds-open-positions
263
+
264
+ https://docs.futures.kraken.com/#websocket-api-private-feeds-open-positions
265
+
248
266
  watch all open positions
249
267
  :param str[]|None symbols: list of unified market symbols
268
+ @param since
269
+ @param limit
250
270
  :param dict params: extra parameters specific to the exchange API endpoint
251
271
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
252
272
  """
@@ -364,8 +384,10 @@ class krakenfutures(ccxt.async_support.krakenfutures):
364
384
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
365
385
  """
366
386
  watches information on multiple orders made by the user
367
- :see: https://docs.futures.kraken.com/#websocket-api-private-feeds-open-orders
368
- :see: https://docs.futures.kraken.com/#websocket-api-private-feeds-open-orders-verbose
387
+
388
+ https://docs.futures.kraken.com/#websocket-api-private-feeds-open-orders
389
+ https://docs.futures.kraken.com/#websocket-api-private-feeds-open-orders-verbose
390
+
369
391
  :param str symbol: not used by krakenfutures watchOrders
370
392
  :param int [since]: not used by krakenfutures watchOrders
371
393
  :param int [limit]: not used by krakenfutures watchOrders
@@ -386,7 +408,9 @@ class krakenfutures(ccxt.async_support.krakenfutures):
386
408
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
387
409
  """
388
410
  watches information on multiple trades made by the user
389
- :see: https://docs.futures.kraken.com/#websocket-api-private-feeds-fills
411
+
412
+ https://docs.futures.kraken.com/#websocket-api-private-feeds-fills
413
+
390
414
  :param str symbol: unified market symbol of the market orders were made in
391
415
  :param int [since]: the earliest time in ms to fetch orders for
392
416
  :param int [limit]: the maximum number of order structures to retrieve
@@ -406,11 +430,10 @@ class krakenfutures(ccxt.async_support.krakenfutures):
406
430
 
407
431
  async def watch_balance(self, params={}) -> Balances:
408
432
  """
409
- watches information on multiple orders made by the user
410
- :see: https://docs.futures.kraken.com/#websocket-api-private-feeds-balances
411
- :param str symbol: not used by krakenfutures watchBalance
412
- :param int [since]: not used by krakenfutures watchBalance
413
- :param int [limit]: not used by krakenfutures watchBalance
433
+ watches information on the user's account balance
434
+
435
+ https://docs.futures.kraken.com/#websocket-api-private-feeds-balances
436
+
414
437
  :param dict [params]: extra parameters specific to the exchange API endpoint
415
438
  :param str [params.account]: can be either 'futures' or 'flex_futures'
416
439
  :returns dict} a object of wallet types each with a balance structure {@link https://docs.ccxt.com/#/?id=balance-structure:
@@ -1467,8 +1490,8 @@ class krakenfutures(ccxt.async_support.krakenfutures):
1467
1490
 
1468
1491
  def handle_authenticate(self, client: Client, message):
1469
1492
  """
1470
- * @ignore
1471
- :see: https://docs.futures.kraken.com/#websocket-api-websocket-api-introduction-sign-challenge-challenge
1493
+ @ignore
1494
+ https://docs.futures.kraken.com/#websocket-api-websocket-api-introduction-sign-challenge-challenge
1472
1495
  """
1473
1496
  #
1474
1497
  # {