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/gate.py CHANGED
@@ -133,8 +133,10 @@ class gate(ccxt.async_support.gate):
133
133
 
134
134
  async def create_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
135
135
  """
136
- :see: https://www.gate.io/docs/developers/apiv4/ws/en/#order-place
137
- :see: https://www.gate.io/docs/developers/futures/ws/en/#order-place
136
+
137
+ https://www.gate.io/docs/developers/apiv4/ws/en/#order-place
138
+ https://www.gate.io/docs/developers/futures/ws/en/#order-place
139
+
138
140
  Create an order on the exchange
139
141
  :param str symbol: Unified CCXT market symbol
140
142
  :param str type: 'limit' or 'market' *"market" is contract only*
@@ -175,8 +177,11 @@ class gate(ccxt.async_support.gate):
175
177
  async def create_orders_ws(self, orders: List[OrderRequest], params={}):
176
178
  """
177
179
  create a list of trade orders
178
- :see: https://www.gate.io/docs/developers/futures/ws/en/#order-batch-place
180
+
181
+ https://www.gate.io/docs/developers/futures/ws/en/#order-batch-place
182
+
179
183
  :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
184
+ :param dict [params]: extra parameters specific to the exchange API endpoint
180
185
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
181
186
  """
182
187
  await self.load_markets()
@@ -195,8 +200,10 @@ class gate(ccxt.async_support.gate):
195
200
  async def cancel_all_orders_ws(self, symbol: Str = None, params={}):
196
201
  """
197
202
  cancel all open orders
198
- :see: https://www.gate.io/docs/developers/futures/ws/en/#cancel-all-open-orders-matched
199
- :see: https://www.gate.io/docs/developers/apiv4/ws/en/#order-cancel-all-with-specified-currency-pair
203
+
204
+ https://www.gate.io/docs/developers/futures/ws/en/#cancel-all-open-orders-matched
205
+ https://www.gate.io/docs/developers/apiv4/ws/en/#order-cancel-all-with-specified-currency-pair
206
+
200
207
  :param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
201
208
  :param dict [params]: extra parameters specific to the exchange API endpoint
202
209
  :param str [params.channel]: the channel to use, defaults to spot.order_cancel_cp or futures.order_cancel_cp
@@ -219,8 +226,10 @@ class gate(ccxt.async_support.gate):
219
226
  async def cancel_order_ws(self, id: str, symbol: Str = None, params={}):
220
227
  """
221
228
  Cancels an open order
222
- :see: https://www.gate.io/docs/developers/apiv4/ws/en/#order-cancel
223
- :see: https://www.gate.io/docs/developers/futures/ws/en/#order-cancel
229
+
230
+ https://www.gate.io/docs/developers/apiv4/ws/en/#order-cancel
231
+ https://www.gate.io/docs/developers/futures/ws/en/#order-cancel
232
+
224
233
  :param str id: Order id
225
234
  :param str symbol: Unified market symbol
226
235
  :param dict [params]: Parameters specified by the exchange api
@@ -244,8 +253,10 @@ class gate(ccxt.async_support.gate):
244
253
  async def edit_order_ws(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}):
245
254
  """
246
255
  edit a trade order, gate currently only supports the modification of the price or amount fields
247
- :see: https://www.gate.io/docs/developers/apiv4/ws/en/#order-amend
248
- :see: https://www.gate.io/docs/developers/futures/ws/en/#order-amend
256
+
257
+ https://www.gate.io/docs/developers/apiv4/ws/en/#order-amend
258
+ https://www.gate.io/docs/developers/futures/ws/en/#order-amend
259
+
249
260
  :param str id: order id
250
261
  :param str symbol: unified symbol of the market to create an order in
251
262
  :param str type: 'market' or 'limit'
@@ -268,8 +279,10 @@ class gate(ccxt.async_support.gate):
268
279
  async def fetch_order_ws(self, id: str, symbol: Str = None, params={}):
269
280
  """
270
281
  Retrieves information on an order
271
- :see: https://www.gate.io/docs/developers/apiv4/ws/en/#order-status
272
- :see: https://www.gate.io/docs/developers/futures/ws/en/#order-status
282
+
283
+ https://www.gate.io/docs/developers/apiv4/ws/en/#order-status
284
+ https://www.gate.io/docs/developers/futures/ws/en/#order-status
285
+
273
286
  :param str id: Order id
274
287
  :param str symbol: Unified market symbol, *required for spot and margin*
275
288
  :param dict [params]: Parameters specified by the exchange api
@@ -292,7 +305,9 @@ class gate(ccxt.async_support.gate):
292
305
  async def fetch_open_orders_ws(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
293
306
  """
294
307
  fetch all unfilled currently open orders
295
- :see: https://www.gate.io/docs/developers/futures/ws/en/#order-list
308
+
309
+ https://www.gate.io/docs/developers/futures/ws/en/#order-list
310
+
296
311
  :param str symbol: unified market symbol
297
312
  :param int [since]: the earliest time in ms to fetch open orders for
298
313
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -304,7 +319,9 @@ class gate(ccxt.async_support.gate):
304
319
  async def fetch_closed_orders_ws(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
305
320
  """
306
321
  fetches information on multiple closed orders made by the user
307
- :see: https://www.gate.io/docs/developers/futures/ws/en/#order-list
322
+
323
+ https://www.gate.io/docs/developers/futures/ws/en/#order-list
324
+
308
325
  :param str symbol: unified market symbol of the market orders were made in
309
326
  :param int [since]: the earliest time in ms to fetch orders for
310
327
  :param int [limit]: the maximum number of order structures to retrieve
@@ -315,8 +332,11 @@ class gate(ccxt.async_support.gate):
315
332
 
316
333
  async def fetch_orders_by_status_ws(self, status: str, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
317
334
  """
318
- :see: https://www.gate.io/docs/developers/futures/ws/en/#order-list
335
+
336
+ https://www.gate.io/docs/developers/futures/ws/en/#order-list
337
+
319
338
  fetches information on multiple orders made by the user by status
339
+ :param str status: requested order status
320
340
  :param str symbol: unified market symbol of the market orders were made in
321
341
  :param int|None [since]: the earliest time in ms to fetch orders for
322
342
  :param int|None [limit]: the maximum number of order structures to retrieve
@@ -533,7 +553,9 @@ class gate(ccxt.async_support.gate):
533
553
 
534
554
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
535
555
  """
536
- :see: https://www.gate.io/docs/developers/apiv4/ws/en/#tickers-channel
556
+
557
+ https://www.gate.io/docs/developers/apiv4/ws/en/#tickers-channel
558
+
537
559
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
538
560
  :param str symbol: unified symbol of the market to fetch the ticker for
539
561
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -548,7 +570,9 @@ class gate(ccxt.async_support.gate):
548
570
 
549
571
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
550
572
  """
551
- :see: https://www.gate.io/docs/developers/apiv4/ws/en/#tickers-channel
573
+
574
+ https://www.gate.io/docs/developers/apiv4/ws/en/#tickers-channel
575
+
552
576
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
553
577
  :param str[] symbols: unified symbol of the market to fetch the ticker for
554
578
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -579,8 +603,10 @@ class gate(ccxt.async_support.gate):
579
603
 
580
604
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
581
605
  """
582
- :see: https://www.gate.io/docs/developers/apiv4/ws/en/#best-bid-or-ask-price
583
- :see: https://www.gate.io/docs/developers/apiv4/ws/en/#order-book-channel
606
+
607
+ https://www.gate.io/docs/developers/apiv4/ws/en/#best-bid-or-ask-price
608
+ https://www.gate.io/docs/developers/apiv4/ws/en/#order-book-channel
609
+
584
610
  watches best bid & ask for symbols
585
611
  :param str[] symbols: unified symbol of the market to fetch the ticker for
586
612
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -673,7 +699,7 @@ class gate(ccxt.async_support.gate):
673
699
  async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
674
700
  """
675
701
  get the list of most recent trades for a particular symbol
676
- :param str symbol: unified symbol of the market to fetch trades for
702
+ :param str[] symbols: unified symbol of the market to fetch trades for
677
703
  :param int [since]: timestamp in ms of the earliest trade to fetch
678
704
  :param int [limit]: the maximum amount of trades to fetch
679
705
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -700,7 +726,7 @@ class gate(ccxt.async_support.gate):
700
726
  async def un_watch_trades_for_symbols(self, symbols: List[str], params={}) -> Any:
701
727
  """
702
728
  get the list of most recent trades for a particular symbol
703
- :param str symbol: unified symbol of the market to fetch trades for
729
+ :param str[] symbols: unified symbol of the market to fetch trades for
704
730
  :param dict [params]: extra parameters specific to the exchange API endpoint
705
731
  :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=public-trades>`
706
732
  """
@@ -1035,11 +1061,15 @@ class gate(ccxt.async_support.gate):
1035
1061
 
1036
1062
  async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
1037
1063
  """
1038
- :see: https://www.gate.io/docs/developers/futures/ws/en/#positions-subscription
1039
- :see: https://www.gate.io/docs/developers/delivery/ws/en/#positions-subscription
1040
- :see: https://www.gate.io/docs/developers/options/ws/en/#positions-channel
1064
+
1065
+ https://www.gate.io/docs/developers/futures/ws/en/#positions-subscription
1066
+ https://www.gate.io/docs/developers/delivery/ws/en/#positions-subscription
1067
+ https://www.gate.io/docs/developers/options/ws/en/#positions-channel
1068
+
1041
1069
  watch all open positions
1042
- :param str[]|None symbols: list of unified market symbols
1070
+ :param str[] [symbols]: list of unified market symbols to watch positions for
1071
+ :param int [since]: the earliest time in ms to fetch positions for
1072
+ :param int [limit]: the maximum number of positions to retrieve
1043
1073
  :param dict params: extra parameters specific to the exchange API endpoint
1044
1074
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
1045
1075
  """
@@ -1267,9 +1297,11 @@ class gate(ccxt.async_support.gate):
1267
1297
  async def watch_my_liquidations(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
1268
1298
  """
1269
1299
  watch the public liquidations of a trading pair
1270
- :see: https://www.gate.io/docs/developers/futures/ws/en/#liquidates-api
1271
- :see: https://www.gate.io/docs/developers/delivery/ws/en/#liquidates-api
1272
- :see: https://www.gate.io/docs/developers/options/ws/en/#liquidates-channel
1300
+
1301
+ https://www.gate.io/docs/developers/futures/ws/en/#liquidates-api
1302
+ https://www.gate.io/docs/developers/delivery/ws/en/#liquidates-api
1303
+ https://www.gate.io/docs/developers/options/ws/en/#liquidates-channel
1304
+
1273
1305
  :param str symbol: unified CCXT market symbol
1274
1306
  :param int [since]: the earliest time in ms to fetch liquidations for
1275
1307
  :param int [limit]: the maximum number of liquidation structures to retrieve
@@ -1281,10 +1313,12 @@ class gate(ccxt.async_support.gate):
1281
1313
  async def watch_my_liquidations_for_symbols(self, symbols: List[str] = None, since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
1282
1314
  """
1283
1315
  watch the private liquidations of a trading pair
1284
- :see: https://www.gate.io/docs/developers/futures/ws/en/#liquidates-api
1285
- :see: https://www.gate.io/docs/developers/delivery/ws/en/#liquidates-api
1286
- :see: https://www.gate.io/docs/developers/options/ws/en/#liquidates-channel
1287
- :param str symbol: unified CCXT market symbol
1316
+
1317
+ https://www.gate.io/docs/developers/futures/ws/en/#liquidates-api
1318
+ https://www.gate.io/docs/developers/delivery/ws/en/#liquidates-api
1319
+ https://www.gate.io/docs/developers/options/ws/en/#liquidates-channel
1320
+
1321
+ :param str[] symbols: unified CCXT market symbols
1288
1322
  :param int [since]: the earliest time in ms to fetch liquidations for
1289
1323
  :param int [limit]: the maximum number of liquidation structures to retrieve
1290
1324
  :param dict [params]: exchange specific parameters for the gate api endpoint
ccxt/pro/gemini.py CHANGED
@@ -46,7 +46,9 @@ class gemini(ccxt.async_support.gemini):
46
46
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
47
47
  """
48
48
  watch the list of most recent trades for a particular symbol
49
- :see: https://docs.gemini.com/websocket-api/#market-data-version-2
49
+
50
+ https://docs.gemini.com/websocket-api/#market-data-version-2
51
+
50
52
  :param str symbol: unified symbol of the market to fetch trades for
51
53
  :param int [since]: timestamp in ms of the earliest trade to fetch
52
54
  :param int [limit]: the maximum amount of trades to fetch
@@ -77,7 +79,9 @@ class gemini(ccxt.async_support.gemini):
77
79
 
78
80
  async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
79
81
  """
80
- :see: https://docs.gemini.com/websocket-api/#multi-market-data
82
+
83
+ https://docs.gemini.com/websocket-api/#multi-market-data
84
+
81
85
  get the list of most recent trades for a list of symbols
82
86
  :param str[] symbols: unified symbol of the market to fetch trades for
83
87
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -250,7 +254,9 @@ class gemini(ccxt.async_support.gemini):
250
254
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
251
255
  """
252
256
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
253
- :see: https://docs.gemini.com/websocket-api/#candles-data-feed
257
+
258
+ https://docs.gemini.com/websocket-api/#candles-data-feed
259
+
254
260
  :param str symbol: unified symbol of the market to fetch OHLCV data for
255
261
  :param str timeframe: the length of time each candle represents
256
262
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -335,7 +341,9 @@ class gemini(ccxt.async_support.gemini):
335
341
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
336
342
  """
337
343
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
338
- :see: https://docs.gemini.com/websocket-api/#market-data-version-2
344
+
345
+ https://docs.gemini.com/websocket-api/#market-data-version-2
346
+
339
347
  :param str symbol: unified symbol of the market to fetch the order book for
340
348
  :param int [limit]: the maximum amount of order book entries to return
341
349
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -386,7 +394,9 @@ class gemini(ccxt.async_support.gemini):
386
394
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
387
395
  """
388
396
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
389
- :see: https://docs.gemini.com/websocket-api/#multi-market-data
397
+
398
+ https://docs.gemini.com/websocket-api/#multi-market-data
399
+
390
400
  :param str[] symbols: unified array of symbols
391
401
  :param int [limit]: the maximum amount of order book entries to return
392
402
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -398,7 +408,9 @@ class gemini(ccxt.async_support.gemini):
398
408
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
399
409
  """
400
410
  watches best bid & ask for symbols
401
- :see: https://docs.gemini.com/websocket-api/#multi-market-data
411
+
412
+ https://docs.gemini.com/websocket-api/#multi-market-data
413
+
402
414
  :param str[] symbols: unified symbol of the market to fetch the ticker for
403
415
  :param dict [params]: extra parameters specific to the exchange API endpoint
404
416
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -574,7 +586,9 @@ class gemini(ccxt.async_support.gemini):
574
586
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
575
587
  """
576
588
  watches information on multiple orders made by the user
577
- :see: https://docs.gemini.com/websocket-api/#order-events
589
+
590
+ https://docs.gemini.com/websocket-api/#order-events
591
+
578
592
  :param str symbol: unified market symbol of the market orders were made in
579
593
  :param int [since]: the earliest time in ms to fetch orders for
580
594
  :param int [limit]: the maximum number of order structures to retrieve
ccxt/pro/hashkey.py CHANGED
@@ -73,7 +73,9 @@ class hashkey(ccxt.async_support.hashkey):
73
73
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
74
74
  """
75
75
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
76
- :see: https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#public-stream
76
+
77
+ https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#public-stream
78
+
77
79
  :param str symbol: unified symbol of the market to fetch OHLCV data for
78
80
  :param str timeframe: the length of time each candle represents
79
81
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -165,7 +167,9 @@ class hashkey(ccxt.async_support.hashkey):
165
167
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
166
168
  """
167
169
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
168
- :see: https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#public-stream
170
+
171
+ https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#public-stream
172
+
169
173
  :param str symbol: unified symbol of the market to fetch the ticker for
170
174
  :param dict [params]: extra parameters specific to the exchange API endpoint
171
175
  :param bool [params.binary]: True or False - default False
@@ -217,7 +221,9 @@ class hashkey(ccxt.async_support.hashkey):
217
221
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
218
222
  """
219
223
  watches information on multiple trades made in a market
220
- :see: https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#public-stream
224
+
225
+ https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#public-stream
226
+
221
227
  :param str symbol: unified market symbol of the market trades were made in
222
228
  :param int [since]: the earliest time in ms to fetch orders for
223
229
  :param int [limit]: the maximum number of trade structures to retrieve
@@ -280,7 +286,9 @@ class hashkey(ccxt.async_support.hashkey):
280
286
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
281
287
  """
282
288
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
283
- :see: https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#public-stream
289
+
290
+ https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#public-stream
291
+
284
292
  :param str symbol: unified symbol of the market to fetch the order book for
285
293
  :param int [limit]: the maximum amount of order book entries to return.
286
294
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -342,7 +350,9 @@ class hashkey(ccxt.async_support.hashkey):
342
350
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
343
351
  """
344
352
  watches information on multiple orders made by the user
345
- :see: https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#private-stream
353
+
354
+ https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#private-stream
355
+
346
356
  :param str symbol: unified market symbol of the market orders were made in
347
357
  :param int [since]: the earliest time in ms to fetch orders for
348
358
  :param int [limit]: the maximum number of order structures to retrieve
@@ -455,7 +465,9 @@ class hashkey(ccxt.async_support.hashkey):
455
465
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
456
466
  """
457
467
  watches information on multiple trades made by the user
458
- :see: https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#private-stream
468
+
469
+ https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#private-stream
470
+
459
471
  :param str symbol: unified market symbol of the market trades were made in
460
472
  :param int [since]: the earliest time in ms to fetch trades for
461
473
  :param int [limit]: the maximum number of trade structures to retrieve
@@ -557,9 +569,13 @@ class hashkey(ccxt.async_support.hashkey):
557
569
 
558
570
  async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
559
571
  """
560
- :see: https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#private-stream
572
+
573
+ https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#private-stream
574
+
561
575
  watch all open positions
562
- :param str[]|None symbols: list of unified market symbols
576
+ :param str[] [symbols]: list of unified market symbols to watch positions for
577
+ :param int [since]: the earliest time in ms to fetch positions for
578
+ :param int [limit]: the maximum number of positions to retrieve
563
579
  :param dict params: extra parameters specific to the exchange API endpoint
564
580
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
565
581
  """
@@ -650,7 +666,9 @@ class hashkey(ccxt.async_support.hashkey):
650
666
  async def watch_balance(self, params={}) -> Balances:
651
667
  """
652
668
  watch balance and get the amount of funds available for trading or funds locked in orders
653
- :see: https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#private-stream
669
+
670
+ https://hashkeyglobal-apidoc.readme.io/reference/websocket-api#private-stream
671
+
654
672
  :param dict [params]: extra parameters specific to the exchange API endpoint
655
673
  :param str [params.type]: 'spot' or 'swap' - the type of the market to watch balance for(default 'spot')
656
674
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
ccxt/pro/hitbtc.py CHANGED
@@ -83,9 +83,11 @@ class hitbtc(ccxt.async_support.hitbtc):
83
83
 
84
84
  async def authenticate(self):
85
85
  """
86
- * @ignore
86
+ @ignore
87
87
  authenticates the user to access private web socket channels
88
- :see: https://api.hitbtc.com/#socket-authentication
88
+
89
+ https://api.hitbtc.com/#socket-authentication
90
+
89
91
  :returns dict: response from exchange
90
92
  """
91
93
  self.check_required_credentials()
@@ -128,8 +130,9 @@ class hitbtc(ccxt.async_support.hitbtc):
128
130
 
129
131
  async def subscribe_public(self, name: str, messageHashPrefix: str, symbols: Strings = None, params={}):
130
132
  """
131
- * @ignore
133
+ @ignore
132
134
  :param str name: websocket endpoint name
135
+ :param str messageHashPrefix: prefix for the message hash
133
136
  :param str[] [symbols]: unified CCXT symbol(s)
134
137
  :param dict [params]: extra parameters specific to the hitbtc api
135
138
  """
@@ -153,7 +156,7 @@ class hitbtc(ccxt.async_support.hitbtc):
153
156
 
154
157
  async def subscribe_private(self, name: str, symbol: Str = None, params={}):
155
158
  """
156
- * @ignore
159
+ @ignore
157
160
  :param str name: websocket endpoint name
158
161
  :param str [symbol]: unified CCXT symbol
159
162
  :param dict [params]: extra parameters specific to the hitbtc api
@@ -174,9 +177,8 @@ class hitbtc(ccxt.async_support.hitbtc):
174
177
 
175
178
  async def trade_request(self, name: str, params={}):
176
179
  """
177
- * @ignore
180
+ @ignore
178
181
  :param str name: websocket endpoint name
179
- :param str [symbol]: unified CCXT symbol
180
182
  :param dict [params]: extra parameters specific to the hitbtc api
181
183
  """
182
184
  await self.load_markets()
@@ -193,11 +195,13 @@ class hitbtc(ccxt.async_support.hitbtc):
193
195
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
194
196
  """
195
197
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
196
- :see: https://api.hitbtc.com/#subscribe-to-full-order-book
197
- :see: https://api.hitbtc.com/#subscribe-to-partial-order-book
198
- :see: https://api.hitbtc.com/#subscribe-to-partial-order-book-in-batches
199
- :see: https://api.hitbtc.com/#subscribe-to-top-of-book
200
- :see: https://api.hitbtc.com/#subscribe-to-top-of-book-in-batches
198
+
199
+ https://api.hitbtc.com/#subscribe-to-full-order-book
200
+ https://api.hitbtc.com/#subscribe-to-partial-order-book
201
+ https://api.hitbtc.com/#subscribe-to-partial-order-book-in-batches
202
+ https://api.hitbtc.com/#subscribe-to-top-of-book
203
+ https://api.hitbtc.com/#subscribe-to-top-of-book-in-batches
204
+
201
205
  :param str symbol: unified symbol of the market to fetch the order book for
202
206
  :param int [limit]: the maximum amount of order book entries to return
203
207
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -293,10 +297,12 @@ class hitbtc(ccxt.async_support.hitbtc):
293
297
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
294
298
  """
295
299
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
296
- :see: https://api.hitbtc.com/#subscribe-to-ticker
297
- :see: https://api.hitbtc.com/#subscribe-to-ticker-in-batches
298
- :see: https://api.hitbtc.com/#subscribe-to-mini-ticker
299
- :see: https://api.hitbtc.com/#subscribe-to-mini-ticker-in-batches
300
+
301
+ https://api.hitbtc.com/#subscribe-to-ticker
302
+ https://api.hitbtc.com/#subscribe-to-ticker-in-batches
303
+ https://api.hitbtc.com/#subscribe-to-mini-ticker
304
+ https://api.hitbtc.com/#subscribe-to-mini-ticker-in-batches
305
+
300
306
  :param str symbol: unified symbol of the market to fetch the ticker for
301
307
  :param dict [params]: extra parameters specific to the exchange API endpoint
302
308
  :param str [params.method]: 'ticker/{speed}'(default), or 'ticker/price/{speed}'
@@ -309,7 +315,7 @@ class hitbtc(ccxt.async_support.hitbtc):
309
315
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
310
316
  """
311
317
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
312
- :param str symbol: unified symbol of the market to fetch the ticker for
318
+ :param str[] [symbols]:
313
319
  :param dict params: extra parameters specific to the exchange API endpoint
314
320
  :param str params['method']: 'ticker/{speed}' ,'ticker/price/{speed}', 'ticker/{speed}/batch'(default), or 'ticker/{speed}/price/batch''
315
321
  :param str params['speed']: '1s'(default), or '3s'
@@ -455,7 +461,9 @@ class hitbtc(ccxt.async_support.hitbtc):
455
461
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
456
462
  """
457
463
  watches best bid & ask for symbols
458
- :see: https://api.hitbtc.com/#subscribe-to-top-of-book
464
+
465
+ https://api.hitbtc.com/#subscribe-to-top-of-book
466
+
459
467
  :param str[] symbols: unified symbol of the market to fetch the ticker for
460
468
  :param dict [params]: extra parameters specific to the exchange API endpoint
461
469
  :param str [params.method]: 'orderbook/top/{speed}' or 'orderbook/top/{speed}/batch(default)'
@@ -530,7 +538,9 @@ class hitbtc(ccxt.async_support.hitbtc):
530
538
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
531
539
  """
532
540
  get the list of most recent trades for a particular symbol
533
- :see: https://api.hitbtc.com/#subscribe-to-trades
541
+
542
+ https://api.hitbtc.com/#subscribe-to-trades
543
+
534
544
  :param str symbol: unified symbol of the market to fetch trades for
535
545
  :param int [since]: timestamp in ms of the earliest trade to fetch
536
546
  :param int [limit]: the maximum amount of trades to fetch
@@ -650,7 +660,9 @@ class hitbtc(ccxt.async_support.hitbtc):
650
660
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
651
661
  """
652
662
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
653
- :see: https://api.hitbtc.com/#subscribe-to-candles
663
+
664
+ https://api.hitbtc.com/#subscribe-to-candles
665
+
654
666
  :param str symbol: unified symbol of the market to fetch OHLCV data for
655
667
  :param str [timeframe]: the length of time each candle represents
656
668
  :param int [since]: not used by hitbtc watchOHLCV
@@ -754,9 +766,11 @@ class hitbtc(ccxt.async_support.hitbtc):
754
766
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
755
767
  """
756
768
  watches information on multiple orders made by the user
757
- :see: https://api.hitbtc.com/#subscribe-to-reports
758
- :see: https://api.hitbtc.com/#subscribe-to-reports-2
759
- :see: https://api.hitbtc.com/#subscribe-to-reports-3
769
+
770
+ https://api.hitbtc.com/#subscribe-to-reports
771
+ https://api.hitbtc.com/#subscribe-to-reports-2
772
+ https://api.hitbtc.com/#subscribe-to-reports-3
773
+
760
774
  :param str [symbol]: unified CCXT market symbol
761
775
  :param int [since]: timestamp in ms of the earliest order to fetch
762
776
  :param int [limit]: the maximum amount of orders to fetch
@@ -984,12 +998,14 @@ class hitbtc(ccxt.async_support.hitbtc):
984
998
  async def watch_balance(self, params={}) -> Balances:
985
999
  """
986
1000
  watches balance updates, cannot subscribe to margin account balances
987
- :see: https://api.hitbtc.com/#subscribe-to-spot-balances
988
- :see: https://api.hitbtc.com/#subscribe-to-futures-balances
1001
+
1002
+ https://api.hitbtc.com/#subscribe-to-spot-balances
1003
+ https://api.hitbtc.com/#subscribe-to-futures-balances
1004
+
989
1005
  :param dict [params]: extra parameters specific to the exchange API endpoint
990
1006
  :param str [params.type]: 'spot', 'swap', or 'future'
991
- *
992
- * EXCHANGE SPECIFIC PARAMETERS
1007
+
1008
+ EXCHANGE SPECIFIC PARAMETERS
993
1009
  :param str [params.mode]: 'updates' or 'batches'(default), 'updates' = messages arrive after balance updates, 'batches' = messages arrive at equal intervals if there were any updates
994
1010
  :returns dict[]: a list of `balance structures <https://docs.ccxt.com/#/?id=balance-structure>`
995
1011
  """
@@ -1011,9 +1027,11 @@ class hitbtc(ccxt.async_support.hitbtc):
1011
1027
  async def create_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> Order:
1012
1028
  """
1013
1029
  create a trade order
1014
- :see: https://api.hitbtc.com/#create-new-spot-order
1015
- :see: https://api.hitbtc.com/#create-margin-order
1016
- :see: https://api.hitbtc.com/#create-futures-order
1030
+
1031
+ https://api.hitbtc.com/#create-new-spot-order
1032
+ https://api.hitbtc.com/#create-margin-order
1033
+ https://api.hitbtc.com/#create-futures-order
1034
+
1017
1035
  :param str symbol: unified symbol of the market to create an order in
1018
1036
  :param str type: 'market' or 'limit'
1019
1037
  :param str side: 'buy' or 'sell'
@@ -1045,9 +1063,11 @@ class hitbtc(ccxt.async_support.hitbtc):
1045
1063
 
1046
1064
  async def cancel_order_ws(self, id: str, symbol: Str = None, params={}) -> Order:
1047
1065
  """
1048
- :see: https://api.hitbtc.com/#cancel-spot-order-2
1049
- :see: https://api.hitbtc.com/#cancel-futures-order-2
1050
- :see: https://api.hitbtc.com/#cancel-margin-order-2
1066
+
1067
+ https://api.hitbtc.com/#cancel-spot-order-2
1068
+ https://api.hitbtc.com/#cancel-futures-order-2
1069
+ https://api.hitbtc.com/#cancel-margin-order-2
1070
+
1051
1071
  cancels an open order
1052
1072
  :param str id: order id
1053
1073
  :param str symbol: unified symbol of the market the order was made in
@@ -1076,8 +1096,10 @@ class hitbtc(ccxt.async_support.hitbtc):
1076
1096
 
1077
1097
  async def cancel_all_orders_ws(self, symbol: Str = None, params={}):
1078
1098
  """
1079
- :see: https://api.hitbtc.com/#cancel-spot-orders
1080
- :see: https://api.hitbtc.com/#cancel-futures-order-3
1099
+
1100
+ https://api.hitbtc.com/#cancel-spot-orders
1101
+ https://api.hitbtc.com/#cancel-futures-order-3
1102
+
1081
1103
  cancel all open orders
1082
1104
  :param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
1083
1105
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1102,9 +1124,11 @@ class hitbtc(ccxt.async_support.hitbtc):
1102
1124
 
1103
1125
  async def fetch_open_orders_ws(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1104
1126
  """
1105
- :see: https://api.hitbtc.com/#get-active-futures-orders-2
1106
- :see: https://api.hitbtc.com/#get-margin-orders
1107
- :see: https://api.hitbtc.com/#get-active-spot-orders
1127
+
1128
+ https://api.hitbtc.com/#get-active-futures-orders-2
1129
+ https://api.hitbtc.com/#get-margin-orders
1130
+ https://api.hitbtc.com/#get-active-spot-orders
1131
+
1108
1132
  fetch all unfilled currently open orders
1109
1133
  :param str symbol: unified market symbol
1110
1134
  :param int [since]: the earliest time in ms to fetch open orders for