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/kucoin.py CHANGED
@@ -175,7 +175,9 @@ class kucoin(ccxt.async_support.kucoin):
175
175
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
176
176
  """
177
177
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
178
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/market-snapshot
178
+
179
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/market-snapshot
180
+
179
181
  :param str symbol: unified symbol of the market to fetch the ticker for
180
182
  :param dict [params]: extra parameters specific to the exchange API endpoint
181
183
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -191,7 +193,9 @@ class kucoin(ccxt.async_support.kucoin):
191
193
 
192
194
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
193
195
  """
194
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/ticker
196
+
197
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/ticker
198
+
195
199
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
196
200
  :param str[] symbols: unified symbol of the market to fetch the ticker for
197
201
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -308,7 +312,9 @@ class kucoin(ccxt.async_support.kucoin):
308
312
 
309
313
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
310
314
  """
311
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level1-bbo-market-data
315
+
316
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level1-bbo-market-data
317
+
312
318
  watches best bid & ask for symbols
313
319
  :param str[] symbols: unified symbol of the market to fetch the ticker for
314
320
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -390,7 +396,9 @@ class kucoin(ccxt.async_support.kucoin):
390
396
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
391
397
  """
392
398
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
393
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/klines
399
+
400
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/klines
401
+
394
402
  :param str symbol: unified symbol of the market to fetch OHLCV data for
395
403
  :param str timeframe: the length of time each candle represents
396
404
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -455,7 +463,9 @@ class kucoin(ccxt.async_support.kucoin):
455
463
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
456
464
  """
457
465
  get the list of most recent trades for a particular symbol
458
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data
466
+
467
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data
468
+
459
469
  :param str symbol: unified symbol of the market to fetch trades for
460
470
  :param int [since]: timestamp in ms of the earliest trade to fetch
461
471
  :param int [limit]: the maximum amount of trades to fetch
@@ -467,8 +477,10 @@ class kucoin(ccxt.async_support.kucoin):
467
477
  async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
468
478
  """
469
479
  get the list of most recent trades for a particular symbol
470
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data
471
- :param str symbol: unified symbol of the market to fetch trades for
480
+
481
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data
482
+
483
+ :param str[] symbols:
472
484
  :param int [since]: timestamp in ms of the earliest trade to fetch
473
485
  :param int [limit]: the maximum amount of trades to fetch
474
486
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -499,8 +511,10 @@ class kucoin(ccxt.async_support.kucoin):
499
511
  async def un_watch_trades_for_symbols(self, symbols: List[str], params={}) -> Any:
500
512
  """
501
513
  unWatches trades stream
502
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data
503
- :param str symbol: unified symbol of the market to fetch trades for
514
+
515
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data
516
+
517
+ :param str symbols:
504
518
  :param dict [params]: extra parameters specific to the exchange API endpoint
505
519
  :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=public-trades>`
506
520
  """
@@ -527,7 +541,9 @@ class kucoin(ccxt.async_support.kucoin):
527
541
  async def un_watch_trades(self, symbol: str, params={}) -> Any:
528
542
  """
529
543
  unWatches trades stream
530
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data
544
+
545
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/match-execution-data
546
+
531
547
  :param str symbol: unified symbol of the market to fetch trades for
532
548
  :param dict [params]: extra parameters specific to the exchange API endpoint
533
549
  :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=public-trades>`
@@ -568,10 +584,12 @@ class kucoin(ccxt.async_support.kucoin):
568
584
 
569
585
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
570
586
  """
571
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level1-bbo-market-data
572
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-market-data
573
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-5-best-ask-bid-orders
574
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-50-best-ask-bid-orders
587
+
588
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level1-bbo-market-data
589
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-market-data
590
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-5-best-ask-bid-orders
591
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-50-best-ask-bid-orders
592
+
575
593
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
576
594
  :param str symbol: unified symbol of the market to fetch the order book for
577
595
  :param int [limit]: the maximum amount of order book entries to return
@@ -598,10 +616,12 @@ class kucoin(ccxt.async_support.kucoin):
598
616
 
599
617
  async def un_watch_order_book(self, symbol: str, params={}) -> Any:
600
618
  """
601
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level1-bbo-market-data
602
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-market-data
603
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-5-best-ask-bid-orders
604
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-50-best-ask-bid-orders
619
+
620
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level1-bbo-market-data
621
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-market-data
622
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-5-best-ask-bid-orders
623
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-50-best-ask-bid-orders
624
+
605
625
  unWatches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
606
626
  :param str symbol: unified symbol of the market to fetch the order book for
607
627
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -612,10 +632,12 @@ class kucoin(ccxt.async_support.kucoin):
612
632
 
613
633
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
614
634
  """
615
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level1-bbo-market-data
616
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-market-data
617
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-5-best-ask-bid-orders
618
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-50-best-ask-bid-orders
635
+
636
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level1-bbo-market-data
637
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-market-data
638
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-5-best-ask-bid-orders
639
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-50-best-ask-bid-orders
640
+
619
641
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
620
642
  :param str[] symbols: unified array of symbols
621
643
  :param int [limit]: the maximum amount of order book entries to return
@@ -657,13 +679,14 @@ class kucoin(ccxt.async_support.kucoin):
657
679
 
658
680
  async def un_watch_order_book_for_symbols(self, symbols: List[str], params={}) -> Any:
659
681
  """
660
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level1-bbo-market-data
661
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-market-data
662
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-5-best-ask-bid-orders
663
- :see: https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-50-best-ask-bid-orders
682
+
683
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level1-bbo-market-data
684
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-market-data
685
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-5-best-ask-bid-orders
686
+ https://www.kucoin.com/docs/websocket/spot-trading/public-channels/level2-50-best-ask-bid-orders
687
+
664
688
  unWatches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
665
689
  :param str[] symbols: unified array of symbols
666
- :param int [limit]: the maximum amount of order book entries to return
667
690
  :param dict [params]: extra parameters specific to the exchange API endpoint
668
691
  :param str [params.method]: either '/market/level2' or '/spotMarket/level2Depth5' or '/spotMarket/level2Depth50' default is '/market/level2'
669
692
  :returns dict: A dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbols
@@ -867,8 +890,10 @@ class kucoin(ccxt.async_support.kucoin):
867
890
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
868
891
  """
869
892
  watches information on multiple orders made by the user
870
- :see: https://www.kucoin.com/docs/websocket/spot-trading/private-channels/private-order-change
871
- :see: https://www.kucoin.com/docs/websocket/spot-trading/private-channels/stop-order-event
893
+
894
+ https://www.kucoin.com/docs/websocket/spot-trading/private-channels/private-order-change
895
+ https://www.kucoin.com/docs/websocket/spot-trading/private-channels/stop-order-event
896
+
872
897
  :param str symbol: unified market symbol of the market orders were made in
873
898
  :param int [since]: the earliest time in ms to fetch orders for
874
899
  :param int [limit]: the maximum number of order structures to retrieve
@@ -1029,7 +1054,9 @@ class kucoin(ccxt.async_support.kucoin):
1029
1054
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
1030
1055
  """
1031
1056
  watches information on multiple trades made by the user
1032
- :see: https://www.kucoin.com/docs/websocket/spot-trading/private-channels/private-order-change
1057
+
1058
+ https://www.kucoin.com/docs/websocket/spot-trading/private-channels/private-order-change
1059
+
1033
1060
  :param str symbol: unified market symbol of the market trades were made in
1034
1061
  :param int [since]: the earliest time in ms to fetch trades for
1035
1062
  :param int [limit]: the maximum number of trade structures to retrieve
@@ -1176,7 +1203,9 @@ class kucoin(ccxt.async_support.kucoin):
1176
1203
  async def watch_balance(self, params={}) -> Balances:
1177
1204
  """
1178
1205
  watch balance and get the amount of funds available for trading or funds locked in orders
1179
- :see: https://www.kucoin.com/docs/websocket/spot-trading/private-channels/account-balance-change
1206
+
1207
+ https://www.kucoin.com/docs/websocket/spot-trading/private-channels/account-balance-change
1208
+
1180
1209
  :param dict [params]: extra parameters specific to the exchange API endpoint
1181
1210
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
1182
1211
  """
ccxt/pro/kucoinfutures.py CHANGED
@@ -197,7 +197,9 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
197
197
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
198
198
  """
199
199
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
200
- :see: https://www.kucoin.com/docs/websocket/futures-trading/public-channels/get-ticker
200
+
201
+ https://www.kucoin.com/docs/websocket/futures-trading/public-channels/get-ticker
202
+
201
203
  :param str symbol: unified symbol of the market to fetch the ticker for
202
204
  :param dict [params]: extra parameters specific to the exchange API endpoint
203
205
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -255,7 +257,9 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
255
257
 
256
258
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
257
259
  """
258
- :see: https://www.kucoin.com/docs/websocket/futures-trading/public-channels/get-ticker-v2
260
+
261
+ https://www.kucoin.com/docs/websocket/futures-trading/public-channels/get-ticker-v2
262
+
259
263
  watches best bid & ask for symbols
260
264
  :param str[] symbols: unified symbol of the market to fetch the ticker for
261
265
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -339,7 +343,9 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
339
343
  async def watch_position(self, symbol: Str = None, params={}) -> Position:
340
344
  """
341
345
  watch open positions for a specific symbol
342
- :see: https://docs.kucoin.com/futures/#position-change-events
346
+
347
+ https://docs.kucoin.com/futures/#position-change-events
348
+
343
349
  :param str|None symbol: unified market symbol
344
350
  :param dict params: extra parameters specific to the exchange API endpoint
345
351
  :returns dict: a `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
@@ -504,7 +510,9 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
504
510
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
505
511
  """
506
512
  get the list of most recent trades for a particular symbol
507
- :see: https://docs.kucoin.com/futures/#execution-data
513
+
514
+ https://docs.kucoin.com/futures/#execution-data
515
+
508
516
  :param str symbol: unified symbol of the market to fetch trades for
509
517
  :param int [since]: timestamp in ms of the earliest trade to fetch
510
518
  :param int [limit]: the maximum amount of trades to fetch
@@ -516,7 +524,7 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
516
524
  async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
517
525
  """
518
526
  get the list of most recent trades for a particular symbol
519
- :param str symbol: unified symbol of the market to fetch trades for
527
+ :param str[] symbols:
520
528
  :param int [since]: timestamp in ms of the earliest trade to fetch
521
529
  :param int [limit]: the maximum amount of trades to fetch
522
530
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -548,7 +556,9 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
548
556
  async def un_watch_trades(self, symbol: str, params={}) -> Any:
549
557
  """
550
558
  unWatches trades stream
551
- :see: https://docs.kucoin.com/futures/#execution-data
559
+
560
+ https://docs.kucoin.com/futures/#execution-data
561
+
552
562
  :param str symbol: unified symbol of the market to fetch trades for
553
563
  :param dict [params]: extra parameters specific to the exchange API endpoint
554
564
  :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=public-trades>`
@@ -558,7 +568,7 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
558
568
  async def un_watch_trades_for_symbols(self, symbols: List[str], params={}) -> Any:
559
569
  """
560
570
  get the list of most recent trades for a particular symbol
561
- :param str symbol: unified symbol of the market to fetch trades for
571
+ :param str[] symbols:
562
572
  :param dict [params]: extra parameters specific to the exchange API endpoint
563
573
  :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=public-trades>`
564
574
  """
@@ -619,7 +629,9 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
619
629
 
620
630
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
621
631
  """
622
- :see: https://www.kucoin.com/docs/websocket/futures-trading/public-channels/klines
632
+
633
+ https://www.kucoin.com/docs/websocket/futures-trading/public-channels/klines
634
+
623
635
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
624
636
  :param str symbol: unified symbol of the market to fetch OHLCV data for
625
637
  :param str timeframe: the length of time each candle represents
@@ -691,13 +703,15 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
691
703
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
692
704
  """
693
705
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
694
- * 1. After receiving the websocket Level 2 data flow, cache the data.
695
- * 2. Initiate a REST request to get the snapshot data of Level 2 order book.
696
- * 3. Playback the cached Level 2 data flow.
697
- * 4. Apply the new Level 2 data flow to the local snapshot to ensure that the sequence of the new Level 2 update lines up with the sequence of the previous Level 2 data. Discard all the message prior to that sequence, and then playback the change to snapshot.
698
- * 5. Update the level2 full data based on sequence according to the size. If the price is 0, ignore the messages and update the sequence. If the size=0, update the sequence and remove the price of which the size is 0 out of level 2. For other cases, please update the price.
699
- * 6. If the sequence of the newly pushed message does not line up to the sequence of the last message, you could pull through REST Level 2 message request to get the updated messages. Please note that the difference between the start and end parameters cannot exceed 500.
700
- :see: https://docs.kucoin.com/futures/#level-2-market-data
706
+ 1. After receiving the websocket Level 2 data flow, cache the data.
707
+ 2. Initiate a REST request to get the snapshot data of Level 2 order book.
708
+ 3. Playback the cached Level 2 data flow.
709
+ 4. Apply the new Level 2 data flow to the local snapshot to ensure that the sequence of the new Level 2 update lines up with the sequence of the previous Level 2 data. Discard all the message prior to that sequence, and then playback the change to snapshot.
710
+ 5. Update the level2 full data based on sequence according to the size. If the price is 0, ignore the messages and update the sequence. If the size=0, update the sequence and remove the price of which the size is 0 out of level 2. For other cases, please update the price.
711
+ 6. If the sequence of the newly pushed message does not line up to the sequence of the last message, you could pull through REST Level 2 message request to get the updated messages. Please note that the difference between the start and end parameters cannot exceed 500.
712
+
713
+ https://docs.kucoin.com/futures/#level-2-market-data
714
+
701
715
  :param str symbol: unified symbol of the market to fetch the order book for
702
716
  :param int [limit]: the maximum amount of order book entries to return
703
717
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -708,7 +722,9 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
708
722
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
709
723
  """
710
724
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
711
- :see: https://docs.kucoin.com/futures/#level-2-market-data
725
+
726
+ https://docs.kucoin.com/futures/#level-2-market-data
727
+
712
728
  :param str[] symbols: unified array of symbols
713
729
  :param int [limit]: the maximum amount of order book entries to return
714
730
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -741,7 +757,9 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
741
757
  async def un_watch_order_book(self, symbol: str, params={}) -> Any:
742
758
  """
743
759
  unWatches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
744
- :see: https://docs.kucoin.com/futures/#level-2-market-data
760
+
761
+ https://docs.kucoin.com/futures/#level-2-market-data
762
+
745
763
  :param str symbol: unified symbol of the market to fetch the order book for
746
764
  :param dict [params]: extra parameters specific to the exchange API endpoint
747
765
  :returns dict: A dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbols
@@ -879,7 +897,9 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
879
897
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
880
898
  """
881
899
  watches information on multiple orders made by the user
882
- :see: https://docs.kucoin.com/futures/#trade-orders-according-to-the-market
900
+
901
+ https://docs.kucoin.com/futures/#trade-orders-according-to-the-market
902
+
883
903
  :param str symbol: unified market symbol of the market orders were made in
884
904
  :param int [since]: the earliest time in ms to fetch orders for
885
905
  :param int [limit]: the maximum number of order structures to retrieve
@@ -995,7 +1015,9 @@ class kucoinfutures(ccxt.async_support.kucoinfutures):
995
1015
  async def watch_balance(self, params={}) -> Balances:
996
1016
  """
997
1017
  watch balance and get the amount of funds available for trading or funds locked in orders
998
- :see: https://docs.kucoin.com/futures/#account-balance-events
1018
+
1019
+ https://docs.kucoin.com/futures/#account-balance-events
1020
+
999
1021
  :param dict [params]: extra parameters specific to the exchange API endpoint
1000
1022
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
1001
1023
  """
ccxt/pro/lbank.py CHANGED
@@ -67,7 +67,9 @@ class lbank(ccxt.async_support.lbank):
67
67
 
68
68
  async def fetch_ohlcv_ws(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
69
69
  """
70
- :see: https://www.lbank.com/en-US/docs/index.html#request-amp-subscription-instruction
70
+
71
+ https://www.lbank.com/en-US/docs/index.html#request-amp-subscription-instruction
72
+
71
73
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
72
74
  :param str symbol: unified symbol of the market to fetch OHLCV data for
73
75
  :param str timeframe: the length of time each candle represents
@@ -99,7 +101,9 @@ class lbank(ccxt.async_support.lbank):
99
101
 
100
102
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
101
103
  """
102
- :see: https://www.lbank.com/en-US/docs/index.html#subscription-of-k-line-data
104
+
105
+ https://www.lbank.com/en-US/docs/index.html#subscription-of-k-line-data
106
+
103
107
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
104
108
  :param str symbol: unified symbol of the market to fetch OHLCV data for
105
109
  :param str timeframe: the length of time each candle represents
@@ -230,7 +234,9 @@ class lbank(ccxt.async_support.lbank):
230
234
 
231
235
  async def fetch_ticker_ws(self, symbol: str, params={}) -> Ticker:
232
236
  """
233
- :see: https://www.lbank.com/en-US/docs/index.html#request-amp-subscription-instruction
237
+
238
+ https://www.lbank.com/en-US/docs/index.html#request-amp-subscription-instruction
239
+
234
240
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
235
241
  :param str symbol: unified symbol of the market to fetch the ticker for
236
242
  :param dict [params]: extra parameters specific to the cex api endpoint
@@ -251,7 +257,9 @@ class lbank(ccxt.async_support.lbank):
251
257
 
252
258
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
253
259
  """
254
- :see: https://www.lbank.com/en-US/docs/index.html#market
260
+
261
+ https://www.lbank.com/en-US/docs/index.html#market
262
+
255
263
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
256
264
  :param str symbol: unified symbol of the market to fetch the ticker for
257
265
  :param dict params: extra parameters specific to the lbank api endpoint
@@ -353,7 +361,9 @@ class lbank(ccxt.async_support.lbank):
353
361
  async def fetch_trades_ws(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
354
362
  """
355
363
  get the list of most recent trades for a particular symbol
356
- :see: https://www.lbank.com/en-US/docs/index.html#request-amp-subscription-instruction
364
+
365
+ https://www.lbank.com/en-US/docs/index.html#request-amp-subscription-instruction
366
+
357
367
  :param str symbol: unified symbol of the market to fetch trades for
358
368
  :param int [since]: timestamp in ms of the earliest trade to fetch
359
369
  :param int [limit]: the maximum amount of trades to fetch
@@ -378,7 +388,9 @@ class lbank(ccxt.async_support.lbank):
378
388
 
379
389
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
380
390
  """
381
- :see: https://www.lbank.com/en-US/docs/index.html#trade-record
391
+
392
+ https://www.lbank.com/en-US/docs/index.html#trade-record
393
+
382
394
  get the list of most recent trades for a particular symbol
383
395
  :param str symbol: unified symbol of the market to fetch trades for
384
396
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -483,7 +495,9 @@ class lbank(ccxt.async_support.lbank):
483
495
 
484
496
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
485
497
  """
486
- :see: https://www.lbank.com/en-US/docs/index.html#update-subscribed-orders
498
+
499
+ https://www.lbank.com/en-US/docs/index.html#update-subscribed-orders
500
+
487
501
  get the list of trades associated with the user
488
502
  :param str [symbol]: unified symbol of the market to fetch trades for
489
503
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -640,7 +654,9 @@ class lbank(ccxt.async_support.lbank):
640
654
 
641
655
  async def fetch_order_book_ws(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
642
656
  """
643
- :see: https://www.lbank.com/en-US/docs/index.html#request-amp-subscription-instruction
657
+
658
+ https://www.lbank.com/en-US/docs/index.html#request-amp-subscription-instruction
659
+
644
660
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
645
661
  :param str symbol: unified symbol of the market to fetch the order book for
646
662
  :param int|None limit: the maximum amount of order book entries to return
@@ -665,7 +681,9 @@ class lbank(ccxt.async_support.lbank):
665
681
 
666
682
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
667
683
  """
668
- :see: https://www.lbank.com/en-US/docs/index.html#market-depth
684
+
685
+ https://www.lbank.com/en-US/docs/index.html#market-depth
686
+
669
687
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
670
688
  :param str symbol: unified symbol of the market to fetch the order book for
671
689
  :param int|None limit: the maximum amount of order book entries to return
ccxt/pro/luno.py CHANGED
@@ -42,7 +42,9 @@ class luno(ccxt.async_support.luno):
42
42
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
43
43
  """
44
44
  get the list of most recent trades for a particular symbol
45
- :see: https://www.luno.com/en/developers/api#tag/Streaming-API
45
+
46
+ https://www.luno.com/en/developers/api#tag/Streaming-API
47
+
46
48
  :param str symbol: unified symbol of the market to fetch trades for
47
49
  :param int [since]: timestamp in ms of the earliest trade to fetch
48
50
  :param int [limit]: the maximum amount of trades to fetch
ccxt/pro/mexc.py CHANGED
@@ -80,9 +80,11 @@ class mexc(ccxt.async_support.mexc):
80
80
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
81
81
  """
82
82
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
83
- :see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#individual-symbol-book-ticker-streams
84
- :see: https://mexcdevelop.github.io/apidocs/contract_v1_en/#public-channels
85
- :see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#miniticker
83
+
84
+ https://mexcdevelop.github.io/apidocs/spot_v3_en/#individual-symbol-book-ticker-streams
85
+ https://mexcdevelop.github.io/apidocs/contract_v1_en/#public-channels
86
+ https://mexcdevelop.github.io/apidocs/spot_v3_en/#miniticker
87
+
86
88
  :param str symbol: unified symbol of the market to fetch the ticker for
87
89
  :param dict [params]: extra parameters specific to the exchange API endpoint
88
90
  :param boolean [params.miniTicker]: set to True for using the miniTicker endpoint
@@ -195,9 +197,11 @@ class mexc(ccxt.async_support.mexc):
195
197
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
196
198
  """
197
199
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
198
- :see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#individual-symbol-book-ticker-streams
199
- :see: https://mexcdevelop.github.io/apidocs/contract_v1_en/#public-channels
200
- :see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#minitickers
200
+
201
+ https://mexcdevelop.github.io/apidocs/spot_v3_en/#individual-symbol-book-ticker-streams
202
+ https://mexcdevelop.github.io/apidocs/contract_v1_en/#public-channels
203
+ https://mexcdevelop.github.io/apidocs/spot_v3_en/#minitickers
204
+
201
205
  :param str[] symbols: unified symbol of the market to fetch the ticker for
202
206
  :param dict [params]: extra parameters specific to the exchange API endpoint
203
207
  :param boolean [params.miniTicker]: set to True for using the miniTicker endpoint
@@ -390,7 +394,9 @@ class mexc(ccxt.async_support.mexc):
390
394
 
391
395
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
392
396
  """
393
- :see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#individual-symbol-book-ticker-streams
397
+
398
+ https://mexcdevelop.github.io/apidocs/spot_v3_en/#individual-symbol-book-ticker-streams
399
+
394
400
  watches best bid & ask for symbols
395
401
  :param str[] symbols: unified symbol of the market to fetch the ticker for
396
402
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -509,7 +515,9 @@ class mexc(ccxt.async_support.mexc):
509
515
 
510
516
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
511
517
  """
512
- :see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#kline-streams
518
+
519
+ https://mexcdevelop.github.io/apidocs/spot_v3_en/#kline-streams
520
+
513
521
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
514
522
  :param str symbol: unified symbol of the market to fetch OHLCV data for
515
523
  :param str timeframe: the length of time each candle represents
@@ -649,8 +657,10 @@ class mexc(ccxt.async_support.mexc):
649
657
 
650
658
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
651
659
  """
652
- :see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#diff-depth-stream
653
- :see: https://mexcdevelop.github.io/apidocs/contract_v1_en/#public-channels
660
+
661
+ https://mexcdevelop.github.io/apidocs/spot_v3_en/#diff-depth-stream
662
+ https://mexcdevelop.github.io/apidocs/contract_v1_en/#public-channels
663
+
654
664
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
655
665
  :param str symbol: unified symbol of the market to fetch the order book for
656
666
  :param int [limit]: the maximum amount of order book entries to return
@@ -804,8 +814,10 @@ class mexc(ccxt.async_support.mexc):
804
814
 
805
815
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
806
816
  """
807
- :see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#trade-streams
808
- :see: https://mexcdevelop.github.io/apidocs/contract_v1_en/#public-channels
817
+
818
+ https://mexcdevelop.github.io/apidocs/spot_v3_en/#trade-streams
819
+ https://mexcdevelop.github.io/apidocs/contract_v1_en/#public-channels
820
+
809
821
  get the list of most recent trades for a particular symbol
810
822
  :param str symbol: unified symbol of the market to fetch trades for
811
823
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -885,8 +897,10 @@ class mexc(ccxt.async_support.mexc):
885
897
 
886
898
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
887
899
  """
888
- :see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#spot-account-deals
889
- :see: https://mexcdevelop.github.io/apidocs/contract_v1_en/#private-channels
900
+
901
+ https://mexcdevelop.github.io/apidocs/spot_v3_en/#spot-account-deals
902
+ https://mexcdevelop.github.io/apidocs/contract_v1_en/#private-channels
903
+
890
904
  watches information on multiple trades made by the user
891
905
  :param str symbol: unified market symbol of the market trades were made in
892
906
  :param int [since]: the earliest time in ms to fetch trades for
@@ -1023,8 +1037,10 @@ class mexc(ccxt.async_support.mexc):
1023
1037
 
1024
1038
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1025
1039
  """
1026
- :see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#spot-account-orders
1027
- :see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#margin-account-orders
1040
+
1041
+ https://mexcdevelop.github.io/apidocs/spot_v3_en/#spot-account-orders
1042
+ https://mexcdevelop.github.io/apidocs/spot_v3_en/#margin-account-orders
1043
+
1028
1044
  watches information on multiple orders made by the user
1029
1045
  :param str symbol: unified market symbol of the market orders were made in
1030
1046
  :param int [since]: the earliest time in ms to fetch orders for
@@ -1265,7 +1281,9 @@ class mexc(ccxt.async_support.mexc):
1265
1281
 
1266
1282
  async def watch_balance(self, params={}) -> Balances:
1267
1283
  """
1268
- :see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#spot-account-upadte
1284
+
1285
+ https://mexcdevelop.github.io/apidocs/spot_v3_en/#spot-account-upadte
1286
+
1269
1287
  watch balance and get the amount of funds available for trading or funds locked in orders
1270
1288
  :param dict [params]: extra parameters specific to the exchange API endpoint
1271
1289
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
ccxt/pro/ndax.py CHANGED
@@ -46,7 +46,9 @@ class ndax(ccxt.async_support.ndax):
46
46
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
47
47
  """
48
48
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
49
- :see: https://apidoc.ndax.io/#subscribelevel1
49
+
50
+ https://apidoc.ndax.io/#subscribelevel1
51
+
50
52
  :param str symbol: unified symbol of the market to fetch the ticker for
51
53
  :param dict [params]: extra parameters specific to the exchange API endpoint
52
54
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -110,7 +112,9 @@ class ndax(ccxt.async_support.ndax):
110
112
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
111
113
  """
112
114
  get the list of most recent trades for a particular symbol
113
- :see: https://apidoc.ndax.io/#subscribetrades
115
+
116
+ https://apidoc.ndax.io/#subscribetrades
117
+
114
118
  :param str symbol: unified symbol of the market to fetch trades for
115
119
  :param int [since]: timestamp in ms of the earliest trade to fetch
116
120
  :param int [limit]: the maximum amount of trades to fetch
@@ -186,7 +190,9 @@ class ndax(ccxt.async_support.ndax):
186
190
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
187
191
  """
188
192
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
189
- :see: https://apidoc.ndax.io/#subscribeticker
193
+
194
+ https://apidoc.ndax.io/#subscribeticker
195
+
190
196
  :param str symbol: unified symbol of the market to fetch OHLCV data for
191
197
  :param str timeframe: the length of time each candle represents
192
198
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -307,7 +313,9 @@ class ndax(ccxt.async_support.ndax):
307
313
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
308
314
  """
309
315
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
310
- :see: https://apidoc.ndax.io/#subscribelevel2
316
+
317
+ https://apidoc.ndax.io/#subscribelevel2
318
+
311
319
  :param str symbol: unified symbol of the market to fetch the order book for
312
320
  :param int [limit]: the maximum amount of order book entries to return
313
321
  :param dict [params]: extra parameters specific to the exchange API endpoint