ccxt 4.4.30__py2.py3-none-any.whl → 4.4.32__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/ace.py +36 -12
  3. ccxt/alpaca.py +62 -22
  4. ccxt/ascendex.py +65 -30
  5. ccxt/async_support/__init__.py +1 -1
  6. ccxt/async_support/ace.py +36 -12
  7. ccxt/async_support/alpaca.py +62 -22
  8. ccxt/async_support/ascendex.py +65 -30
  9. ccxt/async_support/base/exchange.py +3 -3
  10. ccxt/async_support/base/ws/aiohttp_client.py +25 -3
  11. ccxt/async_support/bigone.py +71 -27
  12. ccxt/async_support/binance.py +555 -323
  13. ccxt/async_support/bingx.py +208 -108
  14. ccxt/async_support/bit2c.py +34 -12
  15. ccxt/async_support/bitbank.py +42 -14
  16. ccxt/async_support/bitbns.py +17 -9
  17. ccxt/async_support/bitfinex.py +68 -24
  18. ccxt/async_support/bitfinex2.py +116 -44
  19. ccxt/async_support/bitflyer.py +54 -18
  20. ccxt/async_support/bitget.py +277 -145
  21. ccxt/async_support/bithumb.py +39 -14
  22. ccxt/async_support/bitmart.py +145 -79
  23. ccxt/async_support/bitmex.py +90 -30
  24. ccxt/async_support/bitopro.py +66 -22
  25. ccxt/async_support/bitrue.py +109 -57
  26. ccxt/async_support/bitso.py +55 -19
  27. ccxt/async_support/bitstamp.py +84 -36
  28. ccxt/async_support/bitteam.py +51 -17
  29. ccxt/async_support/bitvavo.py +57 -22
  30. ccxt/async_support/bl3p.py +26 -10
  31. ccxt/async_support/blockchaincom.py +63 -21
  32. ccxt/async_support/blofin.py +95 -38
  33. ccxt/async_support/btcalpha.py +48 -16
  34. ccxt/async_support/btcbox.py +27 -9
  35. ccxt/async_support/btcmarkets.py +57 -19
  36. ccxt/async_support/btcturk.py +36 -12
  37. ccxt/async_support/bybit.py +251 -95
  38. ccxt/async_support/cex.py +65 -22
  39. ccxt/async_support/coinbase.py +138 -56
  40. ccxt/async_support/coinbaseexchange.py +76 -28
  41. ccxt/async_support/coinbaseinternational.py +75 -27
  42. ccxt/async_support/coincatch.py +191 -97
  43. ccxt/async_support/coincheck.py +33 -11
  44. ccxt/async_support/coinex.py +212 -101
  45. ccxt/async_support/coinlist.py +87 -30
  46. ccxt/async_support/coinmate.py +55 -24
  47. ccxt/async_support/coinmetro.py +52 -18
  48. ccxt/async_support/coinone.py +27 -10
  49. ccxt/async_support/coinsph.py +73 -27
  50. ccxt/async_support/coinspot.py +25 -9
  51. ccxt/async_support/cryptocom.py +103 -38
  52. ccxt/async_support/currencycom.py +70 -23
  53. ccxt/async_support/delta.py +90 -30
  54. ccxt/async_support/deribit.py +131 -50
  55. ccxt/async_support/digifinex.py +114 -51
  56. ccxt/async_support/exmo.py +104 -45
  57. ccxt/async_support/gate.py +313 -157
  58. ccxt/async_support/gemini.py +57 -20
  59. ccxt/async_support/hashkey.py +151 -66
  60. ccxt/async_support/hitbtc.py +157 -74
  61. ccxt/async_support/hollaex.py +76 -25
  62. ccxt/async_support/htx.py +297 -240
  63. ccxt/async_support/huobijp.py +1 -0
  64. ccxt/async_support/hyperliquid.py +94 -38
  65. ccxt/async_support/idex.py +73 -24
  66. ccxt/async_support/independentreserve.py +12 -5
  67. ccxt/async_support/indodax.py +54 -17
  68. ccxt/async_support/kraken.py +108 -36
  69. ccxt/async_support/krakenfutures.py +88 -34
  70. ccxt/async_support/kucoin.py +214 -110
  71. ccxt/async_support/kucoinfutures.py +209 -64
  72. ccxt/async_support/kuna.py +80 -39
  73. ccxt/async_support/latoken.py +70 -33
  74. ccxt/async_support/lbank.py +89 -38
  75. ccxt/async_support/luno.py +54 -19
  76. ccxt/async_support/lykke.py +54 -19
  77. ccxt/async_support/mercado.py +1 -0
  78. ccxt/async_support/mexc.py +226 -108
  79. ccxt/async_support/ndax.py +58 -19
  80. ccxt/async_support/novadax.py +67 -22
  81. ccxt/async_support/oceanex.py +58 -19
  82. ccxt/async_support/okcoin.py +81 -38
  83. ccxt/async_support/okx.py +270 -109
  84. ccxt/async_support/onetrading.py +3 -1
  85. ccxt/async_support/oxfun.py +95 -36
  86. ccxt/async_support/p2b.py +49 -23
  87. ccxt/async_support/paradex.py +75 -27
  88. ccxt/async_support/paymium.py +31 -11
  89. ccxt/async_support/phemex.py +108 -56
  90. ccxt/async_support/poloniex.py +80 -30
  91. ccxt/async_support/poloniexfutures.py +72 -30
  92. ccxt/async_support/probit.py +64 -22
  93. ccxt/async_support/timex.py +58 -19
  94. ccxt/async_support/tokocrypto.py +63 -22
  95. ccxt/async_support/tradeogre.py +7 -2
  96. ccxt/async_support/upbit.py +72 -25
  97. ccxt/async_support/vertex.py +74 -28
  98. ccxt/async_support/wavesexchange.py +32 -8
  99. ccxt/async_support/wazirx.py +51 -17
  100. ccxt/async_support/whitebit.py +105 -41
  101. ccxt/async_support/woo.py +162 -65
  102. ccxt/async_support/woofipro.py +119 -50
  103. ccxt/async_support/xt.py +150 -73
  104. ccxt/async_support/yobit.py +49 -16
  105. ccxt/async_support/zaif.py +30 -10
  106. ccxt/async_support/zonda.py +46 -16
  107. ccxt/base/exchange.py +47 -35
  108. ccxt/base/types.py +1 -0
  109. ccxt/bigone.py +71 -27
  110. ccxt/binance.py +555 -323
  111. ccxt/bingx.py +208 -108
  112. ccxt/bit2c.py +34 -12
  113. ccxt/bitbank.py +42 -14
  114. ccxt/bitbns.py +17 -9
  115. ccxt/bitfinex.py +68 -24
  116. ccxt/bitfinex2.py +116 -44
  117. ccxt/bitflyer.py +54 -18
  118. ccxt/bitget.py +277 -145
  119. ccxt/bithumb.py +39 -14
  120. ccxt/bitmart.py +145 -79
  121. ccxt/bitmex.py +90 -30
  122. ccxt/bitopro.py +66 -22
  123. ccxt/bitrue.py +109 -57
  124. ccxt/bitso.py +55 -19
  125. ccxt/bitstamp.py +84 -36
  126. ccxt/bitteam.py +51 -17
  127. ccxt/bitvavo.py +57 -22
  128. ccxt/bl3p.py +26 -10
  129. ccxt/blockchaincom.py +63 -21
  130. ccxt/blofin.py +95 -38
  131. ccxt/btcalpha.py +48 -16
  132. ccxt/btcbox.py +27 -9
  133. ccxt/btcmarkets.py +57 -19
  134. ccxt/btcturk.py +36 -12
  135. ccxt/bybit.py +251 -95
  136. ccxt/cex.py +65 -22
  137. ccxt/coinbase.py +138 -56
  138. ccxt/coinbaseexchange.py +76 -28
  139. ccxt/coinbaseinternational.py +75 -27
  140. ccxt/coincatch.py +191 -97
  141. ccxt/coincheck.py +33 -11
  142. ccxt/coinex.py +212 -101
  143. ccxt/coinlist.py +87 -30
  144. ccxt/coinmate.py +55 -24
  145. ccxt/coinmetro.py +52 -18
  146. ccxt/coinone.py +27 -10
  147. ccxt/coinsph.py +73 -27
  148. ccxt/coinspot.py +25 -9
  149. ccxt/cryptocom.py +103 -38
  150. ccxt/currencycom.py +70 -23
  151. ccxt/delta.py +90 -30
  152. ccxt/deribit.py +131 -50
  153. ccxt/digifinex.py +114 -51
  154. ccxt/exmo.py +104 -45
  155. ccxt/gate.py +313 -157
  156. ccxt/gemini.py +57 -20
  157. ccxt/hashkey.py +151 -66
  158. ccxt/hitbtc.py +157 -74
  159. ccxt/hollaex.py +76 -25
  160. ccxt/htx.py +297 -240
  161. ccxt/huobijp.py +1 -0
  162. ccxt/hyperliquid.py +94 -38
  163. ccxt/idex.py +73 -24
  164. ccxt/independentreserve.py +12 -5
  165. ccxt/indodax.py +54 -17
  166. ccxt/kraken.py +108 -36
  167. ccxt/krakenfutures.py +88 -34
  168. ccxt/kucoin.py +214 -110
  169. ccxt/kucoinfutures.py +209 -64
  170. ccxt/kuna.py +80 -39
  171. ccxt/latoken.py +70 -33
  172. ccxt/lbank.py +89 -38
  173. ccxt/luno.py +54 -19
  174. ccxt/lykke.py +54 -19
  175. ccxt/mercado.py +1 -0
  176. ccxt/mexc.py +226 -108
  177. ccxt/ndax.py +58 -19
  178. ccxt/novadax.py +67 -22
  179. ccxt/oceanex.py +58 -19
  180. ccxt/okcoin.py +81 -38
  181. ccxt/okx.py +270 -109
  182. ccxt/onetrading.py +3 -1
  183. ccxt/oxfun.py +95 -36
  184. ccxt/p2b.py +49 -23
  185. ccxt/paradex.py +75 -27
  186. ccxt/paymium.py +31 -11
  187. ccxt/phemex.py +108 -56
  188. ccxt/poloniex.py +80 -30
  189. ccxt/poloniexfutures.py +72 -30
  190. ccxt/pro/__init__.py +1 -1
  191. ccxt/pro/alpaca.py +15 -5
  192. ccxt/pro/ascendex.py +18 -6
  193. ccxt/pro/binance.py +204 -123
  194. ccxt/pro/bingx.py +44 -24
  195. ccxt/pro/bitfinex.py +13 -5
  196. ccxt/pro/bitget.py +76 -37
  197. ccxt/pro/bithumb.py +12 -4
  198. ccxt/pro/bitmart.py +44 -20
  199. ccxt/pro/bitmex.py +42 -14
  200. ccxt/pro/bitopro.py +15 -5
  201. ccxt/pro/bitrue.py +7 -3
  202. ccxt/pro/bitvavo.py +97 -62
  203. ccxt/pro/blockchaincom.py +18 -6
  204. ccxt/pro/blofin.py +36 -12
  205. ccxt/pro/bybit.py +100 -42
  206. ccxt/pro/cex.py +48 -16
  207. ccxt/pro/coinbase.py +32 -12
  208. ccxt/pro/coinbaseexchange.py +1 -1
  209. ccxt/pro/coinbaseinternational.py +34 -14
  210. ccxt/pro/coincatch.py +54 -19
  211. ccxt/pro/coincheck.py +6 -2
  212. ccxt/pro/coinex.py +40 -20
  213. ccxt/pro/coinone.py +9 -3
  214. ccxt/pro/cryptocom.py +71 -27
  215. ccxt/pro/deribit.py +36 -12
  216. ccxt/pro/exmo.py +10 -4
  217. ccxt/pro/gate.py +65 -31
  218. ccxt/pro/gemini.py +21 -7
  219. ccxt/pro/hashkey.py +27 -9
  220. ccxt/pro/hitbtc.py +61 -37
  221. ccxt/pro/hollaex.py +15 -5
  222. ccxt/pro/htx.py +39 -21
  223. ccxt/pro/hyperliquid.py +41 -14
  224. ccxt/pro/kraken.py +49 -17
  225. ccxt/pro/krakenfutures.py +47 -24
  226. ccxt/pro/kucoin.py +60 -31
  227. ccxt/pro/kucoinfutures.py +41 -19
  228. ccxt/pro/lbank.py +27 -9
  229. ccxt/pro/luno.py +3 -1
  230. ccxt/pro/mexc.py +36 -19
  231. ccxt/pro/ndax.py +12 -4
  232. ccxt/pro/okcoin.py +18 -6
  233. ccxt/pro/okx.py +76 -28
  234. ccxt/pro/onetrading.py +21 -7
  235. ccxt/pro/oxfun.py +54 -20
  236. ccxt/pro/p2b.py +23 -11
  237. ccxt/pro/paradex.py +12 -4
  238. ccxt/pro/phemex.py +31 -19
  239. ccxt/pro/poloniex.py +50 -22
  240. ccxt/pro/poloniexfutures.py +17 -7
  241. ccxt/pro/probit.py +18 -6
  242. ccxt/pro/upbit.py +25 -9
  243. ccxt/pro/vertex.py +20 -6
  244. ccxt/pro/wazirx.py +21 -7
  245. ccxt/pro/whitebit.py +25 -9
  246. ccxt/pro/woo.py +32 -12
  247. ccxt/pro/woofipro.py +35 -13
  248. ccxt/pro/xt.py +46 -26
  249. ccxt/probit.py +64 -22
  250. ccxt/timex.py +58 -19
  251. ccxt/tokocrypto.py +63 -22
  252. ccxt/tradeogre.py +7 -2
  253. ccxt/upbit.py +72 -25
  254. ccxt/vertex.py +74 -28
  255. ccxt/wavesexchange.py +32 -8
  256. ccxt/wazirx.py +51 -17
  257. ccxt/whitebit.py +105 -41
  258. ccxt/woo.py +162 -65
  259. ccxt/woofipro.py +119 -50
  260. ccxt/xt.py +150 -73
  261. ccxt/yobit.py +49 -16
  262. ccxt/zaif.py +30 -10
  263. ccxt/zonda.py +46 -16
  264. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/METADATA +11 -5
  265. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/RECORD +268 -268
  266. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/LICENSE.txt +0 -0
  267. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/WHEEL +0 -0
  268. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/top_level.txt +0 -0
ccxt/pro/krakenfutures.py CHANGED
@@ -69,9 +69,11 @@ class krakenfutures(ccxt.async_support.krakenfutures):
69
69
 
70
70
  async def authenticate(self, params={}):
71
71
  """
72
- * @ignore
72
+ @ignore
73
73
  authenticates the user to access private web socket channels
74
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-challenge
74
+
75
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-challenge
76
+
75
77
  :returns dict: response from exchange
76
78
  """
77
79
  self.check_required_credentials()
@@ -96,7 +98,9 @@ class krakenfutures(ccxt.async_support.krakenfutures):
96
98
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
97
99
  """
98
100
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
99
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-challenge
101
+
102
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-challenge
103
+
100
104
  :param str[] symbols: unified array of symbols
101
105
  :param int [limit]: the maximum amount of order book entries to return
102
106
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -107,7 +111,7 @@ class krakenfutures(ccxt.async_support.krakenfutures):
107
111
 
108
112
  async def subscribe_public(self, name: str, symbols: List[str], params={}):
109
113
  """
110
- * @ignore
114
+ @ignore
111
115
  Connects to a websocket channel
112
116
  :param str name: name of the channel
113
117
  :param str[] symbols: CCXT market symbols
@@ -137,10 +141,10 @@ class krakenfutures(ccxt.async_support.krakenfutures):
137
141
 
138
142
  async def subscribe_private(self, name: str, messageHash: str, params={}):
139
143
  """
140
- * @ignore
144
+ @ignore
141
145
  Connects to a websocket channel
142
146
  :param str name: name of the channel
143
- :param str[] symbols: CCXT market symbols
147
+ :param str messageHash: unique identifier for the message
144
148
  :param dict [params]: extra parameters specific to the krakenfutures api
145
149
  :returns dict: data from the websocket stream
146
150
  """
@@ -160,7 +164,9 @@ class krakenfutures(ccxt.async_support.krakenfutures):
160
164
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
161
165
  """
162
166
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
163
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker
167
+
168
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker
169
+
164
170
  :param str symbol: unified symbol of the market to fetch the ticker for
165
171
  :param dict [params]: extra parameters specific to the exchange API endpoint
166
172
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -173,8 +179,10 @@ class krakenfutures(ccxt.async_support.krakenfutures):
173
179
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
174
180
  """
175
181
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
176
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker
177
- :param str symbol: unified symbol of the market to fetch the ticker for
182
+
183
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker
184
+
185
+ :param str[] symbols: unified symbols of the markets to fetch the ticker for
178
186
  :param dict [params]: extra parameters specific to the exchange API endpoint
179
187
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
180
188
  """
@@ -189,7 +197,9 @@ class krakenfutures(ccxt.async_support.krakenfutures):
189
197
 
190
198
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
191
199
  """
192
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker-lite
200
+
201
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-ticker-lite
202
+
193
203
  watches best bid & ask for symbols
194
204
  :param str[] symbols: unified symbol of the market to fetch the ticker for
195
205
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -205,7 +215,9 @@ class krakenfutures(ccxt.async_support.krakenfutures):
205
215
  async def watch_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
206
216
  """
207
217
  get the list of most recent trades for a particular symbol
208
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-trade
218
+
219
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-trade
220
+
209
221
  :param str symbol: unified symbol of the market to fetch trades for
210
222
  :param int [since]: timestamp in ms of the earliest trade to fetch
211
223
  :param int [limit]: the maximum amount of trades to fetch
@@ -216,7 +228,9 @@ class krakenfutures(ccxt.async_support.krakenfutures):
216
228
 
217
229
  async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
218
230
  """
219
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-trade
231
+
232
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-trade
233
+
220
234
  get the list of most recent trades for a list of symbols
221
235
  :param str[] symbols: unified symbol of the market to fetch trades for
222
236
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -234,7 +248,9 @@ class krakenfutures(ccxt.async_support.krakenfutures):
234
248
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
235
249
  """
236
250
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
237
- :see: https://docs.futures.kraken.com/#websocket-api-public-feeds-book
251
+
252
+ https://docs.futures.kraken.com/#websocket-api-public-feeds-book
253
+
238
254
  :param str symbol: unified symbol of the market to fetch the order book for
239
255
  :param int [limit]: not used by krakenfutures watchOrderBook
240
256
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -244,9 +260,13 @@ class krakenfutures(ccxt.async_support.krakenfutures):
244
260
 
245
261
  async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
246
262
  """
247
- :see: https://docs.futures.kraken.com/#websocket-api-private-feeds-open-positions
263
+
264
+ https://docs.futures.kraken.com/#websocket-api-private-feeds-open-positions
265
+
248
266
  watch all open positions
249
267
  :param str[]|None symbols: list of unified market symbols
268
+ @param since
269
+ @param limit
250
270
  :param dict params: extra parameters specific to the exchange API endpoint
251
271
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
252
272
  """
@@ -364,8 +384,10 @@ class krakenfutures(ccxt.async_support.krakenfutures):
364
384
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
365
385
  """
366
386
  watches information on multiple orders made by the user
367
- :see: https://docs.futures.kraken.com/#websocket-api-private-feeds-open-orders
368
- :see: https://docs.futures.kraken.com/#websocket-api-private-feeds-open-orders-verbose
387
+
388
+ https://docs.futures.kraken.com/#websocket-api-private-feeds-open-orders
389
+ https://docs.futures.kraken.com/#websocket-api-private-feeds-open-orders-verbose
390
+
369
391
  :param str symbol: not used by krakenfutures watchOrders
370
392
  :param int [since]: not used by krakenfutures watchOrders
371
393
  :param int [limit]: not used by krakenfutures watchOrders
@@ -386,7 +408,9 @@ class krakenfutures(ccxt.async_support.krakenfutures):
386
408
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
387
409
  """
388
410
  watches information on multiple trades made by the user
389
- :see: https://docs.futures.kraken.com/#websocket-api-private-feeds-fills
411
+
412
+ https://docs.futures.kraken.com/#websocket-api-private-feeds-fills
413
+
390
414
  :param str symbol: unified market symbol of the market orders were made in
391
415
  :param int [since]: the earliest time in ms to fetch orders for
392
416
  :param int [limit]: the maximum number of order structures to retrieve
@@ -406,11 +430,10 @@ class krakenfutures(ccxt.async_support.krakenfutures):
406
430
 
407
431
  async def watch_balance(self, params={}) -> Balances:
408
432
  """
409
- watches information on multiple orders made by the user
410
- :see: https://docs.futures.kraken.com/#websocket-api-private-feeds-balances
411
- :param str symbol: not used by krakenfutures watchBalance
412
- :param int [since]: not used by krakenfutures watchBalance
413
- :param int [limit]: not used by krakenfutures watchBalance
433
+ watches information on the user's account balance
434
+
435
+ https://docs.futures.kraken.com/#websocket-api-private-feeds-balances
436
+
414
437
  :param dict [params]: extra parameters specific to the exchange API endpoint
415
438
  :param str [params.account]: can be either 'futures' or 'flex_futures'
416
439
  :returns dict} a object of wallet types each with a balance structure {@link https://docs.ccxt.com/#/?id=balance-structure:
@@ -1467,8 +1490,8 @@ class krakenfutures(ccxt.async_support.krakenfutures):
1467
1490
 
1468
1491
  def handle_authenticate(self, client: Client, message):
1469
1492
  """
1470
- * @ignore
1471
- :see: https://docs.futures.kraken.com/#websocket-api-websocket-api-introduction-sign-challenge-challenge
1493
+ @ignore
1494
+ https://docs.futures.kraken.com/#websocket-api-websocket-api-introduction-sign-challenge-challenge
1472
1495
  """
1473
1496
  #
1474
1497
  # {
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