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
@@ -76,9 +76,11 @@ class coinbaseinternational(ccxt.async_support.coinbaseinternational):
76
76
 
77
77
  async def subscribe(self, name: str, symbols: Strings = None, params={}):
78
78
  """
79
- * @ignore
79
+ @ignore
80
80
  subscribes to a websocket channel
81
- :see: https://docs.cloud.coinbase.com/intx/docs/websocket-overview#subscribe
81
+
82
+ https://docs.cloud.coinbase.com/intx/docs/websocket-overview#subscribe
83
+
82
84
  :param str name: the name of the channel
83
85
  :param str[] [symbols]: unified market symbol
84
86
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -127,11 +129,13 @@ class coinbaseinternational(ccxt.async_support.coinbaseinternational):
127
129
 
128
130
  async def subscribe_multiple(self, name: str, symbols: Strings = None, params={}):
129
131
  """
130
- * @ignore
132
+ @ignore
131
133
  subscribes to a websocket channel using watchMultiple
132
- :see: https://docs.cloud.coinbase.com/intx/docs/websocket-overview#subscribe
134
+
135
+ https://docs.cloud.coinbase.com/intx/docs/websocket-overview#subscribe
136
+
133
137
  :param str name: the name of the channel
134
- :param string|str[] [symbol]: unified market symbol
138
+ :param string|str[] [symbols]: unified market symbol
135
139
  :param dict [params]: extra parameters specific to the exchange API endpoint
136
140
  :returns dict: subscription to a websocket channel
137
141
  """
@@ -168,7 +172,9 @@ class coinbaseinternational(ccxt.async_support.coinbaseinternational):
168
172
  async def watch_funding_rate(self, symbol: str, params={}) -> FundingRate:
169
173
  """
170
174
  watch the current funding rate
171
- :see: https://docs.cloud.coinbase.com/intx/docs/websocket-channels#funding-channel
175
+
176
+ https://docs.cloud.coinbase.com/intx/docs/websocket-channels#funding-channel
177
+
172
178
  :param str symbol: unified market symbol
173
179
  :param dict [params]: extra parameters specific to the exchange API endpoint
174
180
  :returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
@@ -179,7 +185,9 @@ class coinbaseinternational(ccxt.async_support.coinbaseinternational):
179
185
  async def watch_funding_rates(self, symbols: List[str], params={}) -> FundingRates:
180
186
  """
181
187
  watch the funding rate for multiple markets
182
- :see: https://docs.cloud.coinbase.com/intx/docs/websocket-channels#funding-channel
188
+
189
+ https://docs.cloud.coinbase.com/intx/docs/websocket-channels#funding-channel
190
+
183
191
  :param str[]|None symbols: list of unified market symbols
184
192
  :param dict [params]: extra parameters specific to the exchange API endpoint
185
193
  :returns dict: a dictionary of `funding rates structures <https://docs.ccxt.com/#/?id=funding-rates-structure>`, indexe by market symbols
@@ -196,7 +204,9 @@ class coinbaseinternational(ccxt.async_support.coinbaseinternational):
196
204
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
197
205
  """
198
206
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
199
- :see: https://docs.cloud.coinbase.com/intx/docs/websocket-channels#instruments-channel
207
+
208
+ https://docs.cloud.coinbase.com/intx/docs/websocket-channels#instruments-channel
209
+
200
210
  :param str [symbol]: unified symbol of the market to fetch the ticker for
201
211
  :param dict [params]: extra parameters specific to the exchange API endpoint
202
212
  :param str [params.channel]: the channel to watch, 'LEVEL1' or 'INSTRUMENTS', default is 'LEVEL1'
@@ -220,7 +230,9 @@ class coinbaseinternational(ccxt.async_support.coinbaseinternational):
220
230
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
221
231
  """
222
232
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
223
- :see: https://docs.cloud.coinbase.com/intx/docs/websocket-channels#instruments-channel
233
+
234
+ https://docs.cloud.coinbase.com/intx/docs/websocket-channels#instruments-channel
235
+
224
236
  :param str[] [symbols]: unified symbol of the market to fetch the ticker for
225
237
  :param dict [params]: extra parameters specific to the exchange API endpoint
226
238
  :param str [params.channel]: the channel to watch, 'LEVEL1' or 'INSTRUMENTS', default is 'INSTLEVEL1UMENTS'
@@ -418,7 +430,9 @@ class coinbaseinternational(ccxt.async_support.coinbaseinternational):
418
430
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
419
431
  """
420
432
  watches historical candlestick data containing the open, high, low, close price, and the volume of a market
421
- :see: https://docs.cdp.coinbase.com/intx/docs/websocket-channels#candles-channel
433
+
434
+ https://docs.cdp.coinbase.com/intx/docs/websocket-channels#candles-channel
435
+
422
436
  :param str symbol: unified symbol of the market to fetch OHLCV data for
423
437
  :param str timeframe: the length of time each candle represents
424
438
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -475,7 +489,9 @@ class coinbaseinternational(ccxt.async_support.coinbaseinternational):
475
489
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
476
490
  """
477
491
  get the list of most recent trades for a particular symbol
478
- :see: https://docs.cloud.coinbase.com/intx/docs/websocket-channels#match-channel
492
+
493
+ https://docs.cloud.coinbase.com/intx/docs/websocket-channels#match-channel
494
+
479
495
  :param str symbol: unified symbol of the market to fetch trades for
480
496
  :param int [since]: timestamp in ms of the earliest trade to fetch
481
497
  :param int [limit]: the maximum amount of trades to fetch
@@ -564,7 +580,9 @@ class coinbaseinternational(ccxt.async_support.coinbaseinternational):
564
580
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
565
581
  """
566
582
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
567
- :see: https://docs.cloud.coinbase.com/intx/docs/websocket-channels#level2-channel
583
+
584
+ https://docs.cloud.coinbase.com/intx/docs/websocket-channels#level2-channel
585
+
568
586
  :param str symbol: unified symbol of the market to fetch the order book for
569
587
  :param int [limit]: the maximum amount of order book entries to return
570
588
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -575,8 +593,10 @@ class coinbaseinternational(ccxt.async_support.coinbaseinternational):
575
593
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
576
594
  """
577
595
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
578
- :see: https://docs.cloud.coinbase.com/intx/docs/websocket-channels#level2-channel
579
- :param str symbol: unified symbol of the market to fetch the order book for
596
+
597
+ https://docs.cloud.coinbase.com/intx/docs/websocket-channels#level2-channel
598
+
599
+ :param str[] symbols:
580
600
  :param int [limit]: the maximum amount of order book entries to return
581
601
  :param dict [params]: extra parameters specific to the exchange API endpoint
582
602
  :returns dict: A dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbols
ccxt/pro/coincatch.py CHANGED
@@ -231,7 +231,9 @@ class coincatch(ccxt.async_support.coincatch):
231
231
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
232
232
  """
233
233
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
234
- :see: https://coincatch.github.io/github.io/en/spot/#tickers-channel
234
+
235
+ https://coincatch.github.io/github.io/en/spot/#tickers-channel
236
+
235
237
  :param str symbol: unified symbol of the market to fetch the ticker for
236
238
  :param dict [params]: extra parameters specific to the exchange API endpoint
237
239
  :param str [params.instType]: the type of the instrument to fetch the ticker for, 'SP' for spot markets, 'MC' for futures markets(default is 'SP')
@@ -252,8 +254,11 @@ class coincatch(ccxt.async_support.coincatch):
252
254
  async def un_watch_ticker(self, symbol: str, params={}) -> Any:
253
255
  """
254
256
  unsubscribe from the ticker channel
255
- :see: https://coincatch.github.io/github.io/en/mix/#tickers-channel
257
+
258
+ https://coincatch.github.io/github.io/en/mix/#tickers-channel
259
+
256
260
  :param str symbol: unified symbol of the market to unwatch the ticker for
261
+ :param dict [params]: extra parameters specific to the exchange API endpoint
257
262
  :returns any: status of the unwatch request
258
263
  """
259
264
  await self.load_markets()
@@ -262,7 +267,9 @@ class coincatch(ccxt.async_support.coincatch):
262
267
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
263
268
  """
264
269
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
265
- :see: https://coincatch.github.io/github.io/en/mix/#tickers-channel
270
+
271
+ https://coincatch.github.io/github.io/en/mix/#tickers-channel
272
+
266
273
  :param str[] symbols: unified symbol of the market to watch the tickers for
267
274
  :param dict [params]: extra parameters specific to the exchange API endpoint
268
275
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -405,7 +412,9 @@ class coincatch(ccxt.async_support.coincatch):
405
412
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
406
413
  """
407
414
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
408
- :see: https://coincatch.github.io/github.io/en/spot/#candlesticks-channel
415
+
416
+ https://coincatch.github.io/github.io/en/spot/#candlesticks-channel
417
+
409
418
  :param str symbol: unified symbol of the market to fetch OHLCV data for
410
419
  :param str timeframe: the length of time each candle represents
411
420
  :param int [since]: timestamp in ms of the earliest candle to fetch(not including)
@@ -433,8 +442,12 @@ class coincatch(ccxt.async_support.coincatch):
433
442
  async def un_watch_ohlcv(self, symbol: str, timeframe='1m', params={}) -> Any:
434
443
  """
435
444
  unsubscribe from the ohlcv channel
436
- :see: https://www.bitget.com/api-doc/spot/websocket/public/Candlesticks-Channel
445
+
446
+ https://www.bitget.com/api-doc/spot/websocket/public/Candlesticks-Channel
447
+
437
448
  :param str symbol: unified symbol of the market to unwatch the ohlcv for
449
+ @param timeframe
450
+ :param dict [params]: extra parameters specific to the exchange API endpoint
438
451
  :returns dict: A dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbols
439
452
  """
440
453
  await self.load_markets()
@@ -508,7 +521,9 @@ class coincatch(ccxt.async_support.coincatch):
508
521
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
509
522
  """
510
523
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
511
- :see: https://coincatch.github.io/github.io/en/spot/#depth-channel
524
+
525
+ https://coincatch.github.io/github.io/en/spot/#depth-channel
526
+
512
527
  :param str symbol: unified symbol of the market to fetch the order book for
513
528
  :param int [limit]: the maximum amount of order book entries to return
514
529
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -519,8 +534,11 @@ class coincatch(ccxt.async_support.coincatch):
519
534
  async def un_watch_order_book(self, symbol: str, params={}) -> Any:
520
535
  """
521
536
  unsubscribe from the orderbook channel
522
- :see: https://coincatch.github.io/github.io/en/spot/#depth-channel
537
+
538
+ https://coincatch.github.io/github.io/en/spot/#depth-channel
539
+
523
540
  :param str symbol: unified symbol of the market to fetch the order book for
541
+ :param dict [params]: extra parameters specific to the exchange API endpoint
524
542
  :param int [params.limit]: orderbook limit, default is None
525
543
  :returns dict: A dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbols
526
544
  """
@@ -535,8 +553,10 @@ class coincatch(ccxt.async_support.coincatch):
535
553
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
536
554
  """
537
555
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
538
- :see: https://coincatch.github.io/github.io/en/spot/#depth-channel
539
- :param str symbol: unified symbol of the market to fetch the order book for
556
+
557
+ https://coincatch.github.io/github.io/en/spot/#depth-channel
558
+
559
+ @param symbols
540
560
  :param int [limit]: the maximum amount of order book entries to return
541
561
  :param dict [params]: extra parameters specific to the exchange API endpoint
542
562
  :returns dict: A dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbols
@@ -646,7 +666,9 @@ class coincatch(ccxt.async_support.coincatch):
646
666
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
647
667
  """
648
668
  get the list of most recent trades for a particular symbol
649
- :see: https://coincatch.github.io/github.io/en/spot/#trades-channel
669
+
670
+ https://coincatch.github.io/github.io/en/spot/#trades-channel
671
+
650
672
  :param str symbol: unified symbol of the market to fetch trades for
651
673
  :param int [since]: timestamp in ms of the earliest trade to fetch
652
674
  :param int [limit]: the maximum amount of trades to fetch
@@ -658,8 +680,10 @@ class coincatch(ccxt.async_support.coincatch):
658
680
  async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
659
681
  """
660
682
  watches information on multiple trades made in a market
661
- :see: https://coincatch.github.io/github.io/en/spot/#trades-channel
662
- :param str symbol: unified market symbol of the market trades were made in
683
+
684
+ https://coincatch.github.io/github.io/en/spot/#trades-channel
685
+
686
+ @param symbols
663
687
  :param int [since]: the earliest time in ms to fetch orders for
664
688
  :param int [limit]: the maximum number of trade structures to retrieve
665
689
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -693,8 +717,11 @@ class coincatch(ccxt.async_support.coincatch):
693
717
  async def un_watch_trades(self, symbol: str, params={}) -> Any:
694
718
  """
695
719
  unsubscribe from the trades channel
696
- :see: https://coincatch.github.io/github.io/en/spot/#trades-channel
720
+
721
+ https://coincatch.github.io/github.io/en/spot/#trades-channel
722
+
697
723
  :param str symbol: unified symbol of the market to unwatch the trades for
724
+ :param dict [params]: extra parameters specific to the exchange API endpoint
698
725
  :returns any: status of the unwatch request
699
726
  """
700
727
  await self.load_markets()
@@ -759,8 +786,10 @@ class coincatch(ccxt.async_support.coincatch):
759
786
  async def watch_balance(self, params={}) -> Balances:
760
787
  """
761
788
  watch balance and get the amount of funds available for trading or funds locked in orders
762
- :see: https://coincatch.github.io/github.io/en/spot/#account-channel
763
- :see: https://coincatch.github.io/github.io/en/mix/#account-channel
789
+
790
+ https://coincatch.github.io/github.io/en/spot/#account-channel
791
+ https://coincatch.github.io/github.io/en/mix/#account-channel
792
+
764
793
  :param dict [params]: extra parameters specific to the exchange API endpoint
765
794
  :param str [params.type]: 'spot' or 'swap'(default is 'spot')
766
795
  :param str [params.instType]: *swap only* 'umcbl' or 'dmcbl'(default is 'umcbl')
@@ -838,9 +867,11 @@ class coincatch(ccxt.async_support.coincatch):
838
867
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
839
868
  """
840
869
  watches information on multiple orders made by the user
841
- :see: https://coincatch.github.io/github.io/en/spot/#order-channel
842
- :see: https://coincatch.github.io/github.io/en/mix/#order-channel
843
- :see: https://coincatch.github.io/github.io/en/mix/#plan-order-channel
870
+
871
+ https://coincatch.github.io/github.io/en/spot/#order-channel
872
+ https://coincatch.github.io/github.io/en/mix/#order-channel
873
+ https://coincatch.github.io/github.io/en/mix/#plan-order-channel
874
+
844
875
  :param str symbol: unified market symbol of the market orders were made in
845
876
  :param int [since]: the earliest time in ms to fetch orders for
846
877
  :param int [limit]: the maximum number of order structures to retrieve
@@ -1079,8 +1110,12 @@ class coincatch(ccxt.async_support.coincatch):
1079
1110
  async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
1080
1111
  """
1081
1112
  watch all open positions
1082
- :see: https://coincatch.github.io/github.io/en/mix/#positions-channel
1113
+
1114
+ https://coincatch.github.io/github.io/en/mix/#positions-channel
1115
+
1083
1116
  :param str[]|None symbols: list of unified market symbols
1117
+ @param since
1118
+ @param limit
1084
1119
  :param dict params: extra parameters specific to the exchange API endpoint
1085
1120
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
1086
1121
  """
ccxt/pro/coincheck.py CHANGED
@@ -51,7 +51,9 @@ class coincheck(ccxt.async_support.coincheck):
51
51
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
52
52
  """
53
53
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
54
- :see: https://coincheck.com/documents/exchange/api#websocket-order-book
54
+
55
+ https://coincheck.com/documents/exchange/api#websocket-order-book
56
+
55
57
  :param str symbol: unified symbol of the market to fetch the order book for
56
58
  :param int [limit]: the maximum amount of order book entries to return
57
59
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -107,7 +109,9 @@ class coincheck(ccxt.async_support.coincheck):
107
109
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
108
110
  """
109
111
  watches information on multiple trades made in a market
110
- :see: https://coincheck.com/documents/exchange/api#websocket-trades
112
+
113
+ https://coincheck.com/documents/exchange/api#websocket-trades
114
+
111
115
  :param str symbol: unified market symbol of the market trades were made in
112
116
  :param int [since]: the earliest time in ms to fetch trades for
113
117
  :param int [limit]: the maximum number of trade structures to retrieve
ccxt/pro/coinex.py CHANGED
@@ -251,8 +251,10 @@ class coinex(ccxt.async_support.coinex):
251
251
  async def watch_balance(self, params={}) -> Balances:
252
252
  """
253
253
  watch balance and get the amount of funds available for trading or funds locked in orders
254
- :see: https://docs.coinex.com/api/v2/assets/balance/ws/spot_balance
255
- :see: https://docs.coinex.com/api/v2/assets/balance/ws/futures_balance
254
+
255
+ https://docs.coinex.com/api/v2/assets/balance/ws/spot_balance
256
+ https://docs.coinex.com/api/v2/assets/balance/ws/futures_balance
257
+
256
258
  :param dict [params]: extra parameters specific to the exchange API endpoint
257
259
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
258
260
  """
@@ -390,8 +392,10 @@ class coinex(ccxt.async_support.coinex):
390
392
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
391
393
  """
392
394
  watches information on multiple trades made by the user
393
- :see: https://docs.coinex.com/api/v2/spot/deal/ws/user-deals
394
- :see: https://docs.coinex.com/api/v2/futures/deal/ws/user-deals
395
+
396
+ https://docs.coinex.com/api/v2/spot/deal/ws/user-deals
397
+ https://docs.coinex.com/api/v2/futures/deal/ws/user-deals
398
+
395
399
  :param str [symbol]: unified symbol of the market the trades were made in
396
400
  :param int [since]: the earliest time in ms to watch trades
397
401
  :param int [limit]: the maximum number of trade structures to retrieve
@@ -597,8 +601,10 @@ class coinex(ccxt.async_support.coinex):
597
601
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
598
602
  """
599
603
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
600
- :see: https://docs.coinex.com/api/v2/spot/market/ws/market
601
- :see: https://docs.coinex.com/api/v2/futures/market/ws/market-state
604
+
605
+ https://docs.coinex.com/api/v2/spot/market/ws/market
606
+ https://docs.coinex.com/api/v2/futures/market/ws/market-state
607
+
602
608
  :param str symbol: unified symbol of the market to fetch the ticker for
603
609
  :param dict [params]: extra parameters specific to the exchange API endpoint
604
610
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -611,8 +617,10 @@ class coinex(ccxt.async_support.coinex):
611
617
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
612
618
  """
613
619
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
614
- :see: https://docs.coinex.com/api/v2/spot/market/ws/market
615
- :see: https://docs.coinex.com/api/v2/futures/market/ws/market-state
620
+
621
+ https://docs.coinex.com/api/v2/spot/market/ws/market
622
+ https://docs.coinex.com/api/v2/futures/market/ws/market-state
623
+
616
624
  :param str[] symbols: unified symbol of the market to fetch the ticker for
617
625
  :param dict [params]: extra parameters specific to the exchange API endpoint
618
626
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -646,8 +654,10 @@ class coinex(ccxt.async_support.coinex):
646
654
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
647
655
  """
648
656
  get the list of most recent trades for a particular symbol
649
- :see: https://docs.coinex.com/api/v2/spot/market/ws/market-deals
650
- :see: https://docs.coinex.com/api/v2/futures/market/ws/market-deals
657
+
658
+ https://docs.coinex.com/api/v2/spot/market/ws/market-deals
659
+ https://docs.coinex.com/api/v2/futures/market/ws/market-deals
660
+
651
661
  :param str symbol: unified symbol of the market to fetch trades for
652
662
  :param int [since]: timestamp in ms of the earliest trade to fetch
653
663
  :param int [limit]: the maximum amount of trades to fetch
@@ -660,8 +670,10 @@ class coinex(ccxt.async_support.coinex):
660
670
  async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
661
671
  """
662
672
  watch the most recent trades for a list of symbols
663
- :see: https://docs.coinex.com/api/v2/spot/market/ws/market-deals
664
- :see: https://docs.coinex.com/api/v2/futures/market/ws/market-deals
673
+
674
+ https://docs.coinex.com/api/v2/spot/market/ws/market-deals
675
+ https://docs.coinex.com/api/v2/futures/market/ws/market-deals
676
+
665
677
  :param str[] symbols: unified symbols of the markets to fetch trades for
666
678
  :param int [since]: timestamp in ms of the earliest trade to fetch
667
679
  :param int [limit]: the maximum amount of trades to fetch
@@ -700,8 +712,10 @@ class coinex(ccxt.async_support.coinex):
700
712
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
701
713
  """
702
714
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
703
- :see: https://docs.coinex.com/api/v2/spot/market/ws/market-depth
704
- :see: https://docs.coinex.com/api/v2/futures/market/ws/market-depth
715
+
716
+ https://docs.coinex.com/api/v2/spot/market/ws/market-depth
717
+ https://docs.coinex.com/api/v2/futures/market/ws/market-depth
718
+
705
719
  :param str[] symbols: unified array of symbols
706
720
  :param int [limit]: the maximum amount of order book entries to return
707
721
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -752,8 +766,10 @@ class coinex(ccxt.async_support.coinex):
752
766
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
753
767
  """
754
768
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
755
- :see: https://docs.coinex.com/api/v2/spot/market/ws/market-depth
756
- :see: https://docs.coinex.com/api/v2/futures/market/ws/market-depth
769
+
770
+ https://docs.coinex.com/api/v2/spot/market/ws/market-depth
771
+ https://docs.coinex.com/api/v2/futures/market/ws/market-depth
772
+
757
773
  :param str symbol: unified symbol of the market to fetch the order book for
758
774
  :param int [limit]: the maximum amount of order book entries to return
759
775
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -831,8 +847,10 @@ class coinex(ccxt.async_support.coinex):
831
847
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
832
848
  """
833
849
  watches information on multiple orders made by the user
834
- :see: https://docs.coinex.com/api/v2/spot/order/ws/user-order
835
- :see: https://docs.coinex.com/api/v2/futures/order/ws/user-order
850
+
851
+ https://docs.coinex.com/api/v2/spot/order/ws/user-order
852
+ https://docs.coinex.com/api/v2/futures/order/ws/user-order
853
+
836
854
  :param str symbol: unified market symbol of the market orders were made in
837
855
  :param int [since]: the earliest time in ms to fetch orders for
838
856
  :param int [limit]: the maximum number of order structures to retrieve
@@ -1150,8 +1168,10 @@ class coinex(ccxt.async_support.coinex):
1150
1168
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
1151
1169
  """
1152
1170
  watches best bid & ask for symbols
1153
- :see: https://docs.coinex.com/api/v2/spot/market/ws/market-bbo
1154
- :see: https://docs.coinex.com/api/v2/futures/market/ws/market-bbo
1171
+
1172
+ https://docs.coinex.com/api/v2/spot/market/ws/market-bbo
1173
+ https://docs.coinex.com/api/v2/futures/market/ws/market-bbo
1174
+
1155
1175
  :param str[] [symbols]: unified symbol of the market to fetch the ticker for
1156
1176
  :param dict [params]: extra parameters specific to the exchange API endpoint
1157
1177
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
ccxt/pro/coinone.py CHANGED
@@ -55,7 +55,9 @@ class coinone(ccxt.async_support.coinone):
55
55
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
56
56
  """
57
57
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
58
- :see: https://docs.coinone.co.kr/reference/public-websocket-orderbook
58
+
59
+ https://docs.coinone.co.kr/reference/public-websocket-orderbook
60
+
59
61
  :param str symbol: unified symbol of the market to fetch the order book for
60
62
  :param int [limit]: the maximum amount of order book entries to return
61
63
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -132,7 +134,9 @@ class coinone(ccxt.async_support.coinone):
132
134
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
133
135
  """
134
136
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
135
- :see: https://docs.coinone.co.kr/reference/public-websocket-ticker
137
+
138
+ https://docs.coinone.co.kr/reference/public-websocket-ticker
139
+
136
140
  :param str symbol: unified symbol of the market to fetch the ticker for
137
141
  :param dict [params]: extra parameters specific to the exchange API endpoint
138
142
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -248,7 +252,9 @@ class coinone(ccxt.async_support.coinone):
248
252
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
249
253
  """
250
254
  watches information on multiple trades made in a market
251
- :see: https://docs.coinone.co.kr/reference/public-websocket-trade
255
+
256
+ https://docs.coinone.co.kr/reference/public-websocket-trade
257
+
252
258
  :param str symbol: unified market symbol of the market trades were made in
253
259
  :param int [since]: the earliest time in ms to fetch trades for
254
260
  :param int [limit]: the maximum number of trade structures to retrieve