ccxt 4.4.29__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 (273) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/alpaca.py +1 -0
  3. ccxt/abstract/binance.py +9 -0
  4. ccxt/abstract/binancecoinm.py +9 -0
  5. ccxt/abstract/binanceus.py +9 -0
  6. ccxt/abstract/binanceusdm.py +9 -0
  7. ccxt/ace.py +36 -12
  8. ccxt/alpaca.py +113 -28
  9. ccxt/ascendex.py +65 -30
  10. ccxt/async_support/__init__.py +1 -1
  11. ccxt/async_support/ace.py +36 -12
  12. ccxt/async_support/alpaca.py +113 -28
  13. ccxt/async_support/ascendex.py +65 -30
  14. ccxt/async_support/base/exchange.py +3 -3
  15. ccxt/async_support/bigone.py +71 -27
  16. ccxt/async_support/binance.py +564 -323
  17. ccxt/async_support/bingx.py +208 -108
  18. ccxt/async_support/bit2c.py +34 -12
  19. ccxt/async_support/bitbank.py +42 -14
  20. ccxt/async_support/bitbns.py +29 -21
  21. ccxt/async_support/bitfinex.py +77 -33
  22. ccxt/async_support/bitfinex2.py +116 -44
  23. ccxt/async_support/bitflyer.py +54 -18
  24. ccxt/async_support/bitget.py +277 -145
  25. ccxt/async_support/bithumb.py +39 -14
  26. ccxt/async_support/bitmart.py +198 -132
  27. ccxt/async_support/bitmex.py +90 -30
  28. ccxt/async_support/bitopro.py +66 -22
  29. ccxt/async_support/bitrue.py +109 -57
  30. ccxt/async_support/bitso.py +55 -19
  31. ccxt/async_support/bitstamp.py +84 -36
  32. ccxt/async_support/bitteam.py +51 -17
  33. ccxt/async_support/bitvavo.py +57 -19
  34. ccxt/async_support/bl3p.py +26 -10
  35. ccxt/async_support/blockchaincom.py +63 -21
  36. ccxt/async_support/blofin.py +95 -38
  37. ccxt/async_support/btcalpha.py +48 -16
  38. ccxt/async_support/btcbox.py +27 -9
  39. ccxt/async_support/btcmarkets.py +57 -19
  40. ccxt/async_support/btcturk.py +36 -12
  41. ccxt/async_support/bybit.py +251 -95
  42. ccxt/async_support/cex.py +65 -22
  43. ccxt/async_support/coinbase.py +138 -56
  44. ccxt/async_support/coinbaseexchange.py +76 -28
  45. ccxt/async_support/coinbaseinternational.py +75 -27
  46. ccxt/async_support/coincatch.py +191 -97
  47. ccxt/async_support/coincheck.py +33 -11
  48. ccxt/async_support/coinex.py +212 -101
  49. ccxt/async_support/coinlist.py +87 -30
  50. ccxt/async_support/coinmate.py +55 -24
  51. ccxt/async_support/coinmetro.py +52 -18
  52. ccxt/async_support/coinone.py +27 -10
  53. ccxt/async_support/coinsph.py +73 -27
  54. ccxt/async_support/coinspot.py +25 -9
  55. ccxt/async_support/cryptocom.py +103 -38
  56. ccxt/async_support/currencycom.py +70 -23
  57. ccxt/async_support/delta.py +90 -30
  58. ccxt/async_support/deribit.py +138 -53
  59. ccxt/async_support/digifinex.py +114 -51
  60. ccxt/async_support/exmo.py +104 -45
  61. ccxt/async_support/gate.py +298 -155
  62. ccxt/async_support/gemini.py +57 -20
  63. ccxt/async_support/hashkey.py +151 -66
  64. ccxt/async_support/hitbtc.py +156 -73
  65. ccxt/async_support/hollaex.py +76 -25
  66. ccxt/async_support/htx.py +297 -240
  67. ccxt/async_support/huobijp.py +1 -0
  68. ccxt/async_support/hyperliquid.py +203 -42
  69. ccxt/async_support/idex.py +73 -24
  70. ccxt/async_support/independentreserve.py +12 -5
  71. ccxt/async_support/indodax.py +53 -16
  72. ccxt/async_support/kraken.py +107 -35
  73. ccxt/async_support/krakenfutures.py +88 -34
  74. ccxt/async_support/kucoin.py +211 -109
  75. ccxt/async_support/kucoinfutures.py +119 -42
  76. ccxt/async_support/kuna.py +80 -39
  77. ccxt/async_support/latoken.py +70 -33
  78. ccxt/async_support/lbank.py +90 -39
  79. ccxt/async_support/luno.py +54 -19
  80. ccxt/async_support/lykke.py +54 -19
  81. ccxt/async_support/mercado.py +1 -0
  82. ccxt/async_support/mexc.py +226 -108
  83. ccxt/async_support/ndax.py +58 -19
  84. ccxt/async_support/novadax.py +67 -22
  85. ccxt/async_support/oceanex.py +58 -19
  86. ccxt/async_support/okcoin.py +81 -38
  87. ccxt/async_support/okx.py +270 -109
  88. ccxt/async_support/onetrading.py +3 -1
  89. ccxt/async_support/oxfun.py +95 -36
  90. ccxt/async_support/p2b.py +49 -23
  91. ccxt/async_support/paradex.py +75 -27
  92. ccxt/async_support/paymium.py +31 -11
  93. ccxt/async_support/phemex.py +91 -41
  94. ccxt/async_support/poloniex.py +80 -30
  95. ccxt/async_support/poloniexfutures.py +72 -30
  96. ccxt/async_support/probit.py +64 -22
  97. ccxt/async_support/timex.py +58 -19
  98. ccxt/async_support/tokocrypto.py +63 -22
  99. ccxt/async_support/tradeogre.py +7 -2
  100. ccxt/async_support/upbit.py +72 -25
  101. ccxt/async_support/vertex.py +74 -28
  102. ccxt/async_support/wavesexchange.py +29 -8
  103. ccxt/async_support/wazirx.py +51 -17
  104. ccxt/async_support/whitebit.py +105 -41
  105. ccxt/async_support/woo.py +162 -65
  106. ccxt/async_support/woofipro.py +118 -49
  107. ccxt/async_support/xt.py +150 -73
  108. ccxt/async_support/yobit.py +49 -16
  109. ccxt/async_support/zaif.py +30 -10
  110. ccxt/async_support/zonda.py +46 -16
  111. ccxt/base/exchange.py +34 -34
  112. ccxt/base/types.py +1 -0
  113. ccxt/bigone.py +71 -27
  114. ccxt/binance.py +564 -323
  115. ccxt/bingx.py +208 -108
  116. ccxt/bit2c.py +34 -12
  117. ccxt/bitbank.py +42 -14
  118. ccxt/bitbns.py +29 -21
  119. ccxt/bitfinex.py +77 -33
  120. ccxt/bitfinex2.py +116 -44
  121. ccxt/bitflyer.py +54 -18
  122. ccxt/bitget.py +277 -145
  123. ccxt/bithumb.py +39 -14
  124. ccxt/bitmart.py +198 -132
  125. ccxt/bitmex.py +90 -30
  126. ccxt/bitopro.py +66 -22
  127. ccxt/bitrue.py +109 -57
  128. ccxt/bitso.py +55 -19
  129. ccxt/bitstamp.py +84 -36
  130. ccxt/bitteam.py +51 -17
  131. ccxt/bitvavo.py +57 -19
  132. ccxt/bl3p.py +26 -10
  133. ccxt/blockchaincom.py +63 -21
  134. ccxt/blofin.py +95 -38
  135. ccxt/btcalpha.py +48 -16
  136. ccxt/btcbox.py +27 -9
  137. ccxt/btcmarkets.py +57 -19
  138. ccxt/btcturk.py +36 -12
  139. ccxt/bybit.py +251 -95
  140. ccxt/cex.py +65 -22
  141. ccxt/coinbase.py +138 -56
  142. ccxt/coinbaseexchange.py +76 -28
  143. ccxt/coinbaseinternational.py +75 -27
  144. ccxt/coincatch.py +191 -97
  145. ccxt/coincheck.py +33 -11
  146. ccxt/coinex.py +212 -101
  147. ccxt/coinlist.py +87 -30
  148. ccxt/coinmate.py +55 -24
  149. ccxt/coinmetro.py +52 -18
  150. ccxt/coinone.py +27 -10
  151. ccxt/coinsph.py +73 -27
  152. ccxt/coinspot.py +25 -9
  153. ccxt/cryptocom.py +103 -38
  154. ccxt/currencycom.py +70 -23
  155. ccxt/delta.py +90 -30
  156. ccxt/deribit.py +138 -53
  157. ccxt/digifinex.py +114 -51
  158. ccxt/exmo.py +104 -45
  159. ccxt/gate.py +298 -155
  160. ccxt/gemini.py +57 -20
  161. ccxt/hashkey.py +151 -66
  162. ccxt/hitbtc.py +156 -73
  163. ccxt/hollaex.py +76 -25
  164. ccxt/htx.py +297 -240
  165. ccxt/huobijp.py +1 -0
  166. ccxt/hyperliquid.py +203 -42
  167. ccxt/idex.py +73 -24
  168. ccxt/independentreserve.py +12 -5
  169. ccxt/indodax.py +53 -16
  170. ccxt/kraken.py +107 -35
  171. ccxt/krakenfutures.py +88 -34
  172. ccxt/kucoin.py +211 -109
  173. ccxt/kucoinfutures.py +119 -42
  174. ccxt/kuna.py +80 -39
  175. ccxt/latoken.py +70 -33
  176. ccxt/lbank.py +90 -39
  177. ccxt/luno.py +54 -19
  178. ccxt/lykke.py +54 -19
  179. ccxt/mercado.py +1 -0
  180. ccxt/mexc.py +226 -108
  181. ccxt/ndax.py +58 -19
  182. ccxt/novadax.py +67 -22
  183. ccxt/oceanex.py +58 -19
  184. ccxt/okcoin.py +81 -38
  185. ccxt/okx.py +270 -109
  186. ccxt/onetrading.py +3 -1
  187. ccxt/oxfun.py +95 -36
  188. ccxt/p2b.py +49 -23
  189. ccxt/paradex.py +75 -27
  190. ccxt/paymium.py +31 -11
  191. ccxt/phemex.py +91 -41
  192. ccxt/poloniex.py +80 -30
  193. ccxt/poloniexfutures.py +72 -30
  194. ccxt/pro/__init__.py +1 -1
  195. ccxt/pro/alpaca.py +15 -5
  196. ccxt/pro/ascendex.py +18 -6
  197. ccxt/pro/binance.py +200 -119
  198. ccxt/pro/bingx.py +44 -24
  199. ccxt/pro/bitfinex.py +13 -5
  200. ccxt/pro/bitget.py +75 -36
  201. ccxt/pro/bithumb.py +12 -4
  202. ccxt/pro/bitmart.py +44 -20
  203. ccxt/pro/bitmex.py +42 -14
  204. ccxt/pro/bitopro.py +15 -5
  205. ccxt/pro/bitrue.py +7 -3
  206. ccxt/pro/bitvavo.py +51 -17
  207. ccxt/pro/blockchaincom.py +18 -6
  208. ccxt/pro/blofin.py +38 -13
  209. ccxt/pro/bybit.py +100 -42
  210. ccxt/pro/cex.py +48 -16
  211. ccxt/pro/coinbase.py +32 -12
  212. ccxt/pro/coinbaseexchange.py +1 -1
  213. ccxt/pro/coinbaseinternational.py +34 -14
  214. ccxt/pro/coincatch.py +54 -19
  215. ccxt/pro/coincheck.py +6 -2
  216. ccxt/pro/coinex.py +40 -20
  217. ccxt/pro/coinone.py +9 -3
  218. ccxt/pro/cryptocom.py +70 -26
  219. ccxt/pro/deribit.py +36 -12
  220. ccxt/pro/exmo.py +10 -4
  221. ccxt/pro/gate.py +64 -30
  222. ccxt/pro/gemini.py +21 -7
  223. ccxt/pro/hashkey.py +26 -8
  224. ccxt/pro/hitbtc.py +61 -37
  225. ccxt/pro/hollaex.py +15 -5
  226. ccxt/pro/htx.py +39 -21
  227. ccxt/pro/hyperliquid.py +41 -14
  228. ccxt/pro/kraken.py +49 -17
  229. ccxt/pro/krakenfutures.py +47 -24
  230. ccxt/pro/kucoin.py +60 -31
  231. ccxt/pro/kucoinfutures.py +41 -19
  232. ccxt/pro/lbank.py +27 -9
  233. ccxt/pro/luno.py +3 -1
  234. ccxt/pro/mexc.py +35 -17
  235. ccxt/pro/ndax.py +12 -4
  236. ccxt/pro/okcoin.py +18 -6
  237. ccxt/pro/okx.py +76 -28
  238. ccxt/pro/onetrading.py +21 -7
  239. ccxt/pro/oxfun.py +54 -20
  240. ccxt/pro/p2b.py +23 -11
  241. ccxt/pro/paradex.py +12 -4
  242. ccxt/pro/phemex.py +31 -19
  243. ccxt/pro/poloniex.py +50 -22
  244. ccxt/pro/poloniexfutures.py +17 -7
  245. ccxt/pro/probit.py +18 -6
  246. ccxt/pro/upbit.py +25 -9
  247. ccxt/pro/vertex.py +20 -6
  248. ccxt/pro/wazirx.py +21 -7
  249. ccxt/pro/whitebit.py +25 -9
  250. ccxt/pro/woo.py +32 -12
  251. ccxt/pro/woofipro.py +35 -13
  252. ccxt/pro/xt.py +46 -26
  253. ccxt/probit.py +64 -22
  254. ccxt/test/tests_helpers.py +2 -2
  255. ccxt/timex.py +58 -19
  256. ccxt/tokocrypto.py +63 -22
  257. ccxt/tradeogre.py +7 -2
  258. ccxt/upbit.py +72 -25
  259. ccxt/vertex.py +74 -28
  260. ccxt/wavesexchange.py +29 -8
  261. ccxt/wazirx.py +51 -17
  262. ccxt/whitebit.py +105 -41
  263. ccxt/woo.py +162 -65
  264. ccxt/woofipro.py +118 -49
  265. ccxt/xt.py +150 -73
  266. ccxt/yobit.py +49 -16
  267. ccxt/zaif.py +30 -10
  268. ccxt/zonda.py +46 -16
  269. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
  270. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/RECORD +273 -273
  271. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
  272. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
  273. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/pro/bitmex.py CHANGED
@@ -66,7 +66,9 @@ class bitmex(ccxt.async_support.bitmex):
66
66
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
67
67
  """
68
68
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
69
- :see: https://www.bitmex.com/app/wsAPI#Subscriptions
69
+
70
+ https://www.bitmex.com/app/wsAPI#Subscriptions
71
+
70
72
  :param str symbol: unified symbol of the market to fetch the ticker for
71
73
  :param dict [params]: extra parameters specific to the exchange API endpoint
72
74
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -79,7 +81,9 @@ class bitmex(ccxt.async_support.bitmex):
79
81
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
80
82
  """
81
83
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
82
- :see: https://www.bitmex.com/app/wsAPI#Subscriptions
84
+
85
+ https://www.bitmex.com/app/wsAPI#Subscriptions
86
+
83
87
  :param str[] symbols: unified symbol of the market to fetch the ticker for
84
88
  :param dict [params]: extra parameters specific to the exchange API endpoint
85
89
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -359,7 +363,9 @@ class bitmex(ccxt.async_support.bitmex):
359
363
  async def watch_liquidations(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
360
364
  """
361
365
  watch the public liquidations of a trading pair
362
- :see: https://www.bitmex.com/app/wsAPI#Liquidation
366
+
367
+ https://www.bitmex.com/app/wsAPI#Liquidation
368
+
363
369
  :param str symbol: unified CCXT market symbol
364
370
  :param int [since]: the earliest time in ms to fetch liquidations for
365
371
  :param int [limit]: the maximum number of liquidation structures to retrieve
@@ -371,8 +377,10 @@ class bitmex(ccxt.async_support.bitmex):
371
377
  async def watch_liquidations_for_symbols(self, symbols: List[str] = None, since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
372
378
  """
373
379
  watch the public liquidations of a trading pair
374
- :see: https://www.bitmex.com/app/wsAPI#Liquidation
375
- :param str symbol: unified CCXT market symbol
380
+
381
+ https://www.bitmex.com/app/wsAPI#Liquidation
382
+
383
+ :param str[] symbols:
376
384
  :param int [since]: the earliest time in ms to fetch liquidations for
377
385
  :param int [limit]: the maximum number of liquidation structures to retrieve
378
386
  :param dict [params]: exchange specific parameters for the bitmex api endpoint
@@ -451,7 +459,9 @@ class bitmex(ccxt.async_support.bitmex):
451
459
  async def watch_balance(self, params={}) -> Balances:
452
460
  """
453
461
  watch balance and get the amount of funds available for trading or funds locked in orders
454
- :see: https://www.bitmex.com/app/wsAPI#Subscriptions
462
+
463
+ https://www.bitmex.com/app/wsAPI#Subscriptions
464
+
455
465
  :param dict [params]: extra parameters specific to the exchange API endpoint
456
466
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
457
467
  """
@@ -654,7 +664,9 @@ class bitmex(ccxt.async_support.bitmex):
654
664
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
655
665
  """
656
666
  get the list of most recent trades for a particular symbol
657
- :see: https://www.bitmex.com/app/wsAPI#Subscriptions
667
+
668
+ https://www.bitmex.com/app/wsAPI#Subscriptions
669
+
658
670
  :param str symbol: unified symbol of the market to fetch trades for
659
671
  :param int [since]: timestamp in ms of the earliest trade to fetch
660
672
  :param int [limit]: the maximum amount of trades to fetch
@@ -702,8 +714,12 @@ class bitmex(ccxt.async_support.bitmex):
702
714
  async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
703
715
  """
704
716
  watch all open positions
705
- :see: https://www.bitmex.com/app/wsAPI#Subscriptions
717
+
718
+ https://www.bitmex.com/app/wsAPI#Subscriptions
719
+
706
720
  :param str[]|None symbols: list of unified market symbols
721
+ @param since
722
+ @param limit
707
723
  :param dict params: extra parameters specific to the exchange API endpoint
708
724
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
709
725
  """
@@ -898,7 +914,9 @@ class bitmex(ccxt.async_support.bitmex):
898
914
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
899
915
  """
900
916
  watches information on multiple orders made by the user
901
- :see: https://www.bitmex.com/app/wsAPI#Subscriptions
917
+
918
+ https://www.bitmex.com/app/wsAPI#Subscriptions
919
+
902
920
  :param str symbol: unified market symbol of the market orders were made in
903
921
  :param int [since]: the earliest time in ms to fetch orders for
904
922
  :param int [limit]: the maximum number of order structures to retrieve
@@ -1105,7 +1123,9 @@ class bitmex(ccxt.async_support.bitmex):
1105
1123
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
1106
1124
  """
1107
1125
  watches information on multiple trades made by the user
1108
- :see: https://www.bitmex.com/app/wsAPI#Subscriptions
1126
+
1127
+ https://www.bitmex.com/app/wsAPI#Subscriptions
1128
+
1109
1129
  :param str symbol: unified market symbol of the market trades were made in
1110
1130
  :param int [since]: the earliest time in ms to fetch trades for
1111
1131
  :param int [limit]: the maximum number of trade structures to retrieve
@@ -1215,7 +1235,9 @@ class bitmex(ccxt.async_support.bitmex):
1215
1235
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
1216
1236
  """
1217
1237
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
1218
- :see: https://www.bitmex.com/app/wsAPI#OrderBookL2
1238
+
1239
+ https://www.bitmex.com/app/wsAPI#OrderBookL2
1240
+
1219
1241
  :param str symbol: unified symbol of the market to fetch the order book for
1220
1242
  :param int [limit]: the maximum amount of order book entries to return
1221
1243
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1226,7 +1248,9 @@ class bitmex(ccxt.async_support.bitmex):
1226
1248
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
1227
1249
  """
1228
1250
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
1229
- :see: https://www.bitmex.com/app/wsAPI#OrderBookL2
1251
+
1252
+ https://www.bitmex.com/app/wsAPI#OrderBookL2
1253
+
1230
1254
  :param str[] symbols: unified array of symbols
1231
1255
  :param int [limit]: the maximum amount of order book entries to return
1232
1256
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1263,7 +1287,9 @@ class bitmex(ccxt.async_support.bitmex):
1263
1287
  async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
1264
1288
  """
1265
1289
  get the list of most recent trades for a list of symbols
1266
- :see: https://www.bitmex.com/app/wsAPI#Subscriptions
1290
+
1291
+ https://www.bitmex.com/app/wsAPI#Subscriptions
1292
+
1267
1293
  :param str[] symbols: unified symbol of the market to fetch trades for
1268
1294
  :param int [since]: timestamp in ms of the earliest trade to fetch
1269
1295
  :param int [limit]: the maximum amount of trades to fetch
@@ -1297,7 +1323,9 @@ class bitmex(ccxt.async_support.bitmex):
1297
1323
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
1298
1324
  """
1299
1325
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1300
- :see: https://www.bitmex.com/app/wsAPI#Subscriptions
1326
+
1327
+ https://www.bitmex.com/app/wsAPI#Subscriptions
1328
+
1301
1329
  :param str symbol: unified symbol of the market to fetch OHLCV data for
1302
1330
  :param str timeframe: the length of time each candle represents
1303
1331
  :param int [since]: timestamp in ms of the earliest candle to fetch
ccxt/pro/bitopro.py CHANGED
@@ -58,7 +58,9 @@ class bitopro(ccxt.async_support.bitopro):
58
58
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
59
59
  """
60
60
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
61
- :see: https://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/public/order_book_stream.md
61
+
62
+ https://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/public/order_book_stream.md
63
+
62
64
  :param str symbol: unified symbol of the market to fetch the order book for
63
65
  :param int [limit]: the maximum amount of order book entries to return
64
66
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -117,7 +119,9 @@ class bitopro(ccxt.async_support.bitopro):
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://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/public/trade_stream.md
122
+
123
+ https://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/public/trade_stream.md
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
@@ -172,7 +176,9 @@ class bitopro(ccxt.async_support.bitopro):
172
176
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
173
177
  """
174
178
  watches information on multiple trades made by the user
175
- :see: https://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/private/matches_stream.md
179
+
180
+ https://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/private/matches_stream.md
181
+
176
182
  :param str symbol: unified market symbol of the market trades were made in
177
183
  :param int [since]: the earliest time in ms to fetch trades for
178
184
  :param int [limit]: the maximum number of trade structures to retrieve
@@ -304,7 +310,9 @@ class bitopro(ccxt.async_support.bitopro):
304
310
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
305
311
  """
306
312
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
307
- :see: https://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/public/ticker_stream.md
313
+
314
+ https://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/public/ticker_stream.md
315
+
308
316
  :param str symbol: unified symbol of the market to fetch the ticker for
309
317
  :param dict [params]: extra parameters specific to the exchange API endpoint
310
318
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -382,7 +390,9 @@ class bitopro(ccxt.async_support.bitopro):
382
390
  async def watch_balance(self, params={}) -> Balances:
383
391
  """
384
392
  watch balance and get the amount of funds available for trading or funds locked in orders
385
- :see: https://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/private/user_balance_stream.md
393
+
394
+ https://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/private/user_balance_stream.md
395
+
386
396
  :param dict [params]: extra parameters specific to the exchange API endpoint
387
397
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
388
398
  """
ccxt/pro/bitrue.py CHANGED
@@ -60,7 +60,9 @@ class bitrue(ccxt.async_support.bitrue):
60
60
  async def watch_balance(self, params={}) -> Balances:
61
61
  """
62
62
  watch balance and get the amount of funds available for trading or funds locked in orders
63
- :see: https://github.com/Bitrue-exchange/Spot-official-api-docs#balance-update
63
+
64
+ https://github.com/Bitrue-exchange/Spot-official-api-docs#balance-update
65
+
64
66
  :param dict [params]: extra parameters specific to the exchange API endpoint
65
67
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
66
68
  """
@@ -166,8 +168,10 @@ class bitrue(ccxt.async_support.bitrue):
166
168
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
167
169
  """
168
170
  watches information on user orders
169
- :see: https://github.com/Bitrue-exchange/Spot-official-api-docs#order-update
170
- :param str[] symbols: unified symbols of the market to watch the orders for
171
+
172
+ https://github.com/Bitrue-exchange/Spot-official-api-docs#order-update
173
+
174
+ :param str symbol:
171
175
  :param int [since]: timestamp in ms of the earliest order
172
176
  :param int [limit]: the maximum amount of orders to return
173
177
  :param dict [params]: extra parameters specific to the exchange API endpoint
ccxt/pro/bitvavo.py CHANGED
@@ -111,7 +111,9 @@ class bitvavo(ccxt.async_support.bitvavo):
111
111
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
112
112
  """
113
113
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
114
- :see: https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post
114
+
115
+ https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post
116
+
115
117
  :param str symbol: unified symbol of the market to fetch the ticker for
116
118
  :param dict [params]: extra parameters specific to the exchange API endpoint
117
119
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -121,7 +123,9 @@ class bitvavo(ccxt.async_support.bitvavo):
121
123
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
122
124
  """
123
125
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
124
- :see: https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post
126
+
127
+ https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post
128
+
125
129
  :param str[] [symbols]: unified symbol of the market to fetch the ticker for
126
130
  :param dict [params]: extra parameters specific to the exchange API endpoint
127
131
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -173,7 +177,9 @@ class bitvavo(ccxt.async_support.bitvavo):
173
177
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
174
178
  """
175
179
  watches best bid & ask for symbols
176
- :see: https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post
180
+
181
+ https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post
182
+
177
183
  :param str[] symbols: unified symbol of the market to fetch the ticker for
178
184
  :param dict [params]: extra parameters specific to the exchange API endpoint
179
185
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -590,7 +596,9 @@ class bitvavo(ccxt.async_support.bitvavo):
590
596
  async def create_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> Order:
591
597
  """
592
598
  create a trade order
593
- :see: https://docs.bitvavo.com/#tag/Orders/paths/~1order/post
599
+
600
+ https://docs.bitvavo.com/#tag/Orders/paths/~1order/post
601
+
594
602
  :param str symbol: unified symbol of the market to create an order in
595
603
  :param str type: 'market' or 'limit'
596
604
  :param str side: 'buy' or 'sell'
@@ -618,7 +626,9 @@ class bitvavo(ccxt.async_support.bitvavo):
618
626
  async def edit_order_ws(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}) -> Order:
619
627
  """
620
628
  edit a trade order
621
- :see: https://docs.bitvavo.com/#tag/Orders/paths/~1order/put
629
+
630
+ https://docs.bitvavo.com/#tag/Orders/paths/~1order/put
631
+
622
632
  :param str id: cancel order id
623
633
  :param str symbol: unified symbol of the market to create an order in
624
634
  :param str type: 'market' or 'limit'
@@ -635,7 +645,9 @@ class bitvavo(ccxt.async_support.bitvavo):
635
645
 
636
646
  async def cancel_order_ws(self, id: str, symbol: Str = None, params={}):
637
647
  """
638
- :see: https://docs.bitvavo.com/#tag/Orders/paths/~1order/delete
648
+
649
+ https://docs.bitvavo.com/#tag/Orders/paths/~1order/delete
650
+
639
651
  cancels an open order
640
652
  :param str id: order id
641
653
  :param str symbol: unified symbol of the market the order was made in
@@ -649,7 +661,9 @@ class bitvavo(ccxt.async_support.bitvavo):
649
661
 
650
662
  async def cancel_all_orders_ws(self, symbol: Str = None, params={}):
651
663
  """
652
- :see: https://docs.bitvavo.com/#tag/Orders/paths/~1orders/delete
664
+
665
+ https://docs.bitvavo.com/#tag/Orders/paths/~1orders/delete
666
+
653
667
  cancel all open orders
654
668
  :param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
655
669
  :param dict [params]: extra parameters specific to the bitvavo api endpoint
@@ -685,7 +699,9 @@ class bitvavo(ccxt.async_support.bitvavo):
685
699
 
686
700
  async def fetch_order_ws(self, id: str, symbol: Str = None, params={}) -> Order:
687
701
  """
688
- :see: https://docs.bitvavo.com/#tag/General/paths/~1assets/get
702
+
703
+ https://docs.bitvavo.com/#tag/General/paths/~1assets/get
704
+
689
705
  fetches information on an order made by the user
690
706
  :param str id: the order id
691
707
  :param str symbol: unified symbol of the market the order was made in
@@ -705,7 +721,9 @@ class bitvavo(ccxt.async_support.bitvavo):
705
721
 
706
722
  async def fetch_orders_ws(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
707
723
  """
708
- :see: https://docs.bitvavo.com/#tag/Orders/paths/~1orders/get
724
+
725
+ https://docs.bitvavo.com/#tag/Orders/paths/~1orders/get
726
+
709
727
  fetches information on multiple orders made by the user
710
728
  :param str symbol: unified market symbol of the market orders were made in
711
729
  :param int [since]: the earliest time in ms to fetch orders for
@@ -752,7 +770,9 @@ class bitvavo(ccxt.async_support.bitvavo):
752
770
 
753
771
  async def fetch_my_trades_ws(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
754
772
  """
755
- :see: https://docs.bitvavo.com/#tag/Trades
773
+
774
+ https://docs.bitvavo.com/#tag/Trades
775
+
756
776
  fetch all trades made by the user
757
777
  :param str symbol: unified market symbol
758
778
  :param int [since]: the earliest time in ms to fetch trades for
@@ -834,7 +854,9 @@ class bitvavo(ccxt.async_support.bitvavo):
834
854
 
835
855
  async def fetch_withdrawals_ws(self, code: Str = None, since: Int = None, limit: Int = None, params={}):
836
856
  """
837
- :see: https://docs.bitvavo.com/#tag/Account/paths/~1withdrawalHistory/get
857
+
858
+ https://docs.bitvavo.com/#tag/Account/paths/~1withdrawalHistory/get
859
+
838
860
  fetch all withdrawals made from an account
839
861
  :param str code: unified currency code
840
862
  :param int [since]: the earliest time in ms to fetch withdrawals for
@@ -872,7 +894,9 @@ class bitvavo(ccxt.async_support.bitvavo):
872
894
 
873
895
  async def fetch_ohlcv_ws(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
874
896
  """
875
- :see: https://docs.bitvavo.com/#tag/Market-Data/paths/~1{market}~1candles/get
897
+
898
+ https://docs.bitvavo.com/#tag/Market-Data/paths/~1{market}~1candles/get
899
+
876
900
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
877
901
  :param str symbol: unified symbol of the market to fetch OHLCV data for
878
902
  :param str timeframe: the length of time each candle represents
@@ -889,7 +913,9 @@ class bitvavo(ccxt.async_support.bitvavo):
889
913
 
890
914
  async def fetch_deposits_ws(self, code: Str = None, since: Int = None, limit: Int = None, params={}):
891
915
  """
892
- :see: https://docs.bitvavo.com/#tag/Account/paths/~1depositHistory/get
916
+
917
+ https://docs.bitvavo.com/#tag/Account/paths/~1depositHistory/get
918
+
893
919
  fetch all deposits made to an account
894
920
  :param str code: unified currency code
895
921
  :param int [since]: the earliest time in ms to fetch deposits for
@@ -927,7 +953,9 @@ class bitvavo(ccxt.async_support.bitvavo):
927
953
 
928
954
  async def fetch_trading_fees_ws(self, params={}) -> TradingFees:
929
955
  """
930
- :see: https://docs.bitvavo.com/#tag/Account/paths/~1account/get
956
+
957
+ https://docs.bitvavo.com/#tag/Account/paths/~1account/get
958
+
931
959
  fetch the trading fees for multiple markets
932
960
  :param dict [params]: extra parameters specific to the bitvavo api endpoint
933
961
  :returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
@@ -938,7 +966,9 @@ class bitvavo(ccxt.async_support.bitvavo):
938
966
 
939
967
  async def fetch_markets_ws(self, params={}):
940
968
  """
941
- :see: https://docs.bitvavo.com/#tag/General/paths/~1markets/get
969
+
970
+ https://docs.bitvavo.com/#tag/General/paths/~1markets/get
971
+
942
972
  retrieves data on all markets for bitvavo
943
973
  :param dict [params]: extra parameters specific to the exchange api endpoint
944
974
  :returns dict[]: an array of objects representing market data
@@ -947,7 +977,9 @@ class bitvavo(ccxt.async_support.bitvavo):
947
977
 
948
978
  async def fetch_currencies_ws(self, params={}):
949
979
  """
950
- :see: https://docs.bitvavo.com/#tag/General/paths/~1assets/get
980
+
981
+ https://docs.bitvavo.com/#tag/General/paths/~1assets/get
982
+
951
983
  fetches all available currencies on an exchange
952
984
  :param dict [params]: extra parameters specific to the bitvavo api endpoint
953
985
  :returns dict: an associative dictionary of currencies
@@ -1003,7 +1035,9 @@ class bitvavo(ccxt.async_support.bitvavo):
1003
1035
 
1004
1036
  async def fetch_balance_ws(self, params={}) -> Balances:
1005
1037
  """
1006
- :see: https://docs.bitvavo.com/#tag/Account/paths/~1balance/get
1038
+
1039
+ https://docs.bitvavo.com/#tag/Account/paths/~1balance/get
1040
+
1007
1041
  query for balance and get the amount of funds available for trading or funds locked in orders
1008
1042
  :param dict [params]: extra parameters specific to the bitvavo api endpoint
1009
1043
  :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
ccxt/pro/blockchaincom.py CHANGED
@@ -61,7 +61,9 @@ class blockchaincom(ccxt.async_support.blockchaincom):
61
61
  async def watch_balance(self, params={}) -> Balances:
62
62
  """
63
63
  watch balance and get the amount of funds available for trading or funds locked in orders
64
- :see: https://exchange.blockchain.com/api/#balances
64
+
65
+ https://exchange.blockchain.com/api/#balances
66
+
65
67
  :param dict [params]: extra parameters specific to the exchange API endpoint
66
68
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
67
69
  """
@@ -125,7 +127,9 @@ class blockchaincom(ccxt.async_support.blockchaincom):
125
127
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
126
128
  """
127
129
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market.
128
- :see: https://exchange.blockchain.com/api/#prices
130
+
131
+ https://exchange.blockchain.com/api/#prices
132
+
129
133
  :param str symbol: unified symbol of the market to fetch OHLCV data for
130
134
  :param str timeframe: the length of time each candle represents. Allows '1m', '5m', '15m', '1h', '6h' '1d'. Can only watch one timeframe per symbol.
131
135
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -197,7 +201,9 @@ class blockchaincom(ccxt.async_support.blockchaincom):
197
201
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
198
202
  """
199
203
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
200
- :see: https://exchange.blockchain.com/api/#ticker
204
+
205
+ https://exchange.blockchain.com/api/#ticker
206
+
201
207
  :param str symbol: unified symbol of the market to fetch the ticker for
202
208
  :param dict [params]: extra parameters specific to the exchange API endpoint
203
209
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -299,7 +305,9 @@ class blockchaincom(ccxt.async_support.blockchaincom):
299
305
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
300
306
  """
301
307
  get the list of most recent trades for a particular symbol
302
- :see: https://exchange.blockchain.com/api/#trades
308
+
309
+ https://exchange.blockchain.com/api/#trades
310
+
303
311
  :param str symbol: unified symbol of the market to fetch trades for
304
312
  :param int [since]: timestamp in ms of the earliest trade to fetch
305
313
  :param int [limit]: the maximum amount of trades to fetch
@@ -394,7 +402,9 @@ class blockchaincom(ccxt.async_support.blockchaincom):
394
402
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
395
403
  """
396
404
  watches information on multiple orders made by the user
397
- :see: https://exchange.blockchain.com/api/#mass-order-status-request-ordermassstatusrequest
405
+
406
+ https://exchange.blockchain.com/api/#mass-order-status-request-ordermassstatusrequest
407
+
398
408
  :param str symbol: unified market symbol of the market orders were made in
399
409
  :param int [since]: the earliest time in ms to fetch orders for
400
410
  :param int [limit]: the maximum number of order structures to retrieve
@@ -597,7 +607,9 @@ class blockchaincom(ccxt.async_support.blockchaincom):
597
607
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
598
608
  """
599
609
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
600
- :see: https://exchange.blockchain.com/api/#l2-order-book
610
+
611
+ https://exchange.blockchain.com/api/#l2-order-book
612
+
601
613
  :param str symbol: unified symbol of the market to fetch the order book for
602
614
  :param int [limit]: the maximum amount of order book entries to return
603
615
  :param dictConstructor [params]: extra parameters specific to the exchange API endpoint
ccxt/pro/blofin.py CHANGED
@@ -74,7 +74,9 @@ class blofin(ccxt.async_support.blofin):
74
74
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
75
75
  """
76
76
  get the list of most recent trades for a particular symbol
77
- :see: https://docs.blofin.com/index.html#ws-trades-channel
77
+
78
+ https://docs.blofin.com/index.html#ws-trades-channel
79
+
78
80
  :param str symbol: unified symbol of the market to fetch trades for
79
81
  :param int [since]: timestamp in ms of the earliest trade to fetch
80
82
  :param int [limit]: the maximum amount of trades to fetch
@@ -87,7 +89,9 @@ class blofin(ccxt.async_support.blofin):
87
89
  async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
88
90
  """
89
91
  get the list of most recent trades for a list of symbols
90
- :see: https://docs.blofin.com/index.html#ws-trades-channel
92
+
93
+ https://docs.blofin.com/index.html#ws-trades-channel
94
+
91
95
  :param str[] symbols: unified symbol of the market to fetch trades for
92
96
  :param int [since]: timestamp in ms of the earliest trade to fetch
93
97
  :param int [limit]: the maximum amount of trades to fetch
@@ -139,7 +143,9 @@ class blofin(ccxt.async_support.blofin):
139
143
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
140
144
  """
141
145
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
142
- :see: https://docs.blofin.com/index.html#ws-order-book-channel
146
+
147
+ https://docs.blofin.com/index.html#ws-order-book-channel
148
+
143
149
  :param str symbol: unified symbol of the market to fetch the order book for
144
150
  :param int [limit]: the maximum amount of order book entries to return
145
151
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -151,7 +157,9 @@ class blofin(ccxt.async_support.blofin):
151
157
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
152
158
  """
153
159
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
154
- :see: https://docs.blofin.com/index.html#ws-order-book-channel
160
+
161
+ https://docs.blofin.com/index.html#ws-order-book-channel
162
+
155
163
  :param str[] symbols: unified array of symbols
156
164
  :param int [limit]: the maximum amount of order book entries to return
157
165
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -215,7 +223,9 @@ class blofin(ccxt.async_support.blofin):
215
223
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
216
224
  """
217
225
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
218
- :see: https://docs.blofin.com/index.html#ws-tickers-channel
226
+
227
+ https://docs.blofin.com/index.html#ws-tickers-channel
228
+
219
229
  :param str symbol: unified symbol of the market to fetch the ticker for
220
230
  :param dict [params]: extra parameters specific to the exchange API endpoint
221
231
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -229,7 +239,9 @@ class blofin(ccxt.async_support.blofin):
229
239
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
230
240
  """
231
241
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
232
- :see: https://docs.blofin.com/index.html#ws-tickers-channel
242
+
243
+ https://docs.blofin.com/index.html#ws-tickers-channel
244
+
233
245
  :param str[] symbols: unified symbol of the market to fetch the ticker for
234
246
  :param dict [params]: extra parameters specific to the exchange API endpoint
235
247
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -274,7 +286,9 @@ class blofin(ccxt.async_support.blofin):
274
286
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
275
287
  """
276
288
  watches best bid & ask for symbols
277
- :see: https://docs.blofin.com/index.html#ws-tickers-channel
289
+
290
+ https://docs.blofin.com/index.html#ws-tickers-channel
291
+
278
292
  :param str[] symbols: unified symbol of the market to fetch the ticker for
279
293
  :param dict [params]: extra parameters specific to the exchange API endpoint
280
294
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -345,7 +359,9 @@ class blofin(ccxt.async_support.blofin):
345
359
  async def watch_ohlcv_for_symbols(self, symbolsAndTimeframes: List[List[str]], since: Int = None, limit: Int = None, params={}):
346
360
  """
347
361
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
348
- :see: https://docs.blofin.com/index.html#ws-candlesticks-channel
362
+
363
+ https://docs.blofin.com/index.html#ws-candlesticks-channel
364
+
349
365
  :param str[][] symbolsAndTimeframes: array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
350
366
  :param int [since]: timestamp in ms of the earliest candle to fetch
351
367
  :param int [limit]: the maximum amount of candles to fetch
@@ -401,7 +417,9 @@ class blofin(ccxt.async_support.blofin):
401
417
  async def watch_balance(self, params={}) -> Balances:
402
418
  """
403
419
  query for balance and get the amount of funds available for trading or funds locked in orders
404
- :see: https://docs.blofin.com/index.html#ws-account-channel
420
+
421
+ https://docs.blofin.com/index.html#ws-account-channel
422
+
405
423
  :param dict [params]: extra parameters specific to the exchange API endpoint
406
424
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
407
425
  """
@@ -454,8 +472,10 @@ class blofin(ccxt.async_support.blofin):
454
472
  async def watch_orders_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Order]:
455
473
  """
456
474
  watches information on multiple orders made by the user across multiple symbols
457
- :see: https://docs.blofin.com/index.html#ws-order-channel
458
- :param str symbol: unified market symbol of the market orders were made in
475
+
476
+ https://docs.blofin.com/index.html#ws-order-channel
477
+
478
+ :param str[] symbols:
459
479
  :param int [since]: the earliest time in ms to fetch orders for
460
480
  :param int [limit]: the maximum number of order structures to retrieve
461
481
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -500,9 +520,13 @@ class blofin(ccxt.async_support.blofin):
500
520
 
501
521
  async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
502
522
  """
503
- :see: https://docs.blofin.com/index.html#ws-positions-channel
523
+
524
+ https://docs.blofin.com/index.html#ws-positions-channel
525
+
504
526
  watch all open positions
505
527
  :param str[]|None symbols: list of unified market symbols
528
+ @param since
529
+ @param limit
506
530
  :param dict params: extra parameters specific to the exchange API endpoint
507
531
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
508
532
  """
@@ -630,7 +654,8 @@ class blofin(ccxt.async_support.blofin):
630
654
  if event == 'subscribe':
631
655
  return
632
656
  elif event == 'login':
633
- client.resolve(message, 'authenticate_hash')
657
+ future = self.safe_value(client.futures, 'authenticate_hash')
658
+ future.resolve(True)
634
659
  return
635
660
  elif event == 'error':
636
661
  raise ExchangeError(self.id + ' error: ' + self.json(message))