ccxt 4.4.30__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 (267) 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/bigone.py +71 -27
  11. ccxt/async_support/binance.py +555 -323
  12. ccxt/async_support/bingx.py +208 -108
  13. ccxt/async_support/bit2c.py +34 -12
  14. ccxt/async_support/bitbank.py +42 -14
  15. ccxt/async_support/bitbns.py +17 -9
  16. ccxt/async_support/bitfinex.py +68 -24
  17. ccxt/async_support/bitfinex2.py +116 -44
  18. ccxt/async_support/bitflyer.py +54 -18
  19. ccxt/async_support/bitget.py +277 -145
  20. ccxt/async_support/bithumb.py +39 -14
  21. ccxt/async_support/bitmart.py +145 -79
  22. ccxt/async_support/bitmex.py +90 -30
  23. ccxt/async_support/bitopro.py +66 -22
  24. ccxt/async_support/bitrue.py +109 -57
  25. ccxt/async_support/bitso.py +55 -19
  26. ccxt/async_support/bitstamp.py +84 -36
  27. ccxt/async_support/bitteam.py +51 -17
  28. ccxt/async_support/bitvavo.py +57 -19
  29. ccxt/async_support/bl3p.py +26 -10
  30. ccxt/async_support/blockchaincom.py +63 -21
  31. ccxt/async_support/blofin.py +95 -38
  32. ccxt/async_support/btcalpha.py +48 -16
  33. ccxt/async_support/btcbox.py +27 -9
  34. ccxt/async_support/btcmarkets.py +57 -19
  35. ccxt/async_support/btcturk.py +36 -12
  36. ccxt/async_support/bybit.py +251 -95
  37. ccxt/async_support/cex.py +65 -22
  38. ccxt/async_support/coinbase.py +138 -56
  39. ccxt/async_support/coinbaseexchange.py +76 -28
  40. ccxt/async_support/coinbaseinternational.py +75 -27
  41. ccxt/async_support/coincatch.py +191 -97
  42. ccxt/async_support/coincheck.py +33 -11
  43. ccxt/async_support/coinex.py +212 -101
  44. ccxt/async_support/coinlist.py +87 -30
  45. ccxt/async_support/coinmate.py +55 -24
  46. ccxt/async_support/coinmetro.py +52 -18
  47. ccxt/async_support/coinone.py +27 -10
  48. ccxt/async_support/coinsph.py +73 -27
  49. ccxt/async_support/coinspot.py +25 -9
  50. ccxt/async_support/cryptocom.py +103 -38
  51. ccxt/async_support/currencycom.py +70 -23
  52. ccxt/async_support/delta.py +90 -30
  53. ccxt/async_support/deribit.py +131 -50
  54. ccxt/async_support/digifinex.py +114 -51
  55. ccxt/async_support/exmo.py +104 -45
  56. ccxt/async_support/gate.py +298 -155
  57. ccxt/async_support/gemini.py +57 -20
  58. ccxt/async_support/hashkey.py +151 -66
  59. ccxt/async_support/hitbtc.py +156 -73
  60. ccxt/async_support/hollaex.py +76 -25
  61. ccxt/async_support/htx.py +297 -240
  62. ccxt/async_support/huobijp.py +1 -0
  63. ccxt/async_support/hyperliquid.py +94 -38
  64. ccxt/async_support/idex.py +73 -24
  65. ccxt/async_support/independentreserve.py +12 -5
  66. ccxt/async_support/indodax.py +53 -16
  67. ccxt/async_support/kraken.py +107 -35
  68. ccxt/async_support/krakenfutures.py +88 -34
  69. ccxt/async_support/kucoin.py +211 -109
  70. ccxt/async_support/kucoinfutures.py +119 -42
  71. ccxt/async_support/kuna.py +80 -39
  72. ccxt/async_support/latoken.py +70 -33
  73. ccxt/async_support/lbank.py +89 -38
  74. ccxt/async_support/luno.py +54 -19
  75. ccxt/async_support/lykke.py +54 -19
  76. ccxt/async_support/mercado.py +1 -0
  77. ccxt/async_support/mexc.py +226 -108
  78. ccxt/async_support/ndax.py +58 -19
  79. ccxt/async_support/novadax.py +67 -22
  80. ccxt/async_support/oceanex.py +58 -19
  81. ccxt/async_support/okcoin.py +81 -38
  82. ccxt/async_support/okx.py +270 -109
  83. ccxt/async_support/onetrading.py +3 -1
  84. ccxt/async_support/oxfun.py +95 -36
  85. ccxt/async_support/p2b.py +49 -23
  86. ccxt/async_support/paradex.py +75 -27
  87. ccxt/async_support/paymium.py +31 -11
  88. ccxt/async_support/phemex.py +91 -41
  89. ccxt/async_support/poloniex.py +80 -30
  90. ccxt/async_support/poloniexfutures.py +72 -30
  91. ccxt/async_support/probit.py +64 -22
  92. ccxt/async_support/timex.py +58 -19
  93. ccxt/async_support/tokocrypto.py +63 -22
  94. ccxt/async_support/tradeogre.py +7 -2
  95. ccxt/async_support/upbit.py +72 -25
  96. ccxt/async_support/vertex.py +74 -28
  97. ccxt/async_support/wavesexchange.py +29 -8
  98. ccxt/async_support/wazirx.py +51 -17
  99. ccxt/async_support/whitebit.py +105 -41
  100. ccxt/async_support/woo.py +162 -65
  101. ccxt/async_support/woofipro.py +118 -49
  102. ccxt/async_support/xt.py +150 -73
  103. ccxt/async_support/yobit.py +49 -16
  104. ccxt/async_support/zaif.py +30 -10
  105. ccxt/async_support/zonda.py +46 -16
  106. ccxt/base/exchange.py +34 -34
  107. ccxt/base/types.py +1 -0
  108. ccxt/bigone.py +71 -27
  109. ccxt/binance.py +555 -323
  110. ccxt/bingx.py +208 -108
  111. ccxt/bit2c.py +34 -12
  112. ccxt/bitbank.py +42 -14
  113. ccxt/bitbns.py +17 -9
  114. ccxt/bitfinex.py +68 -24
  115. ccxt/bitfinex2.py +116 -44
  116. ccxt/bitflyer.py +54 -18
  117. ccxt/bitget.py +277 -145
  118. ccxt/bithumb.py +39 -14
  119. ccxt/bitmart.py +145 -79
  120. ccxt/bitmex.py +90 -30
  121. ccxt/bitopro.py +66 -22
  122. ccxt/bitrue.py +109 -57
  123. ccxt/bitso.py +55 -19
  124. ccxt/bitstamp.py +84 -36
  125. ccxt/bitteam.py +51 -17
  126. ccxt/bitvavo.py +57 -19
  127. ccxt/bl3p.py +26 -10
  128. ccxt/blockchaincom.py +63 -21
  129. ccxt/blofin.py +95 -38
  130. ccxt/btcalpha.py +48 -16
  131. ccxt/btcbox.py +27 -9
  132. ccxt/btcmarkets.py +57 -19
  133. ccxt/btcturk.py +36 -12
  134. ccxt/bybit.py +251 -95
  135. ccxt/cex.py +65 -22
  136. ccxt/coinbase.py +138 -56
  137. ccxt/coinbaseexchange.py +76 -28
  138. ccxt/coinbaseinternational.py +75 -27
  139. ccxt/coincatch.py +191 -97
  140. ccxt/coincheck.py +33 -11
  141. ccxt/coinex.py +212 -101
  142. ccxt/coinlist.py +87 -30
  143. ccxt/coinmate.py +55 -24
  144. ccxt/coinmetro.py +52 -18
  145. ccxt/coinone.py +27 -10
  146. ccxt/coinsph.py +73 -27
  147. ccxt/coinspot.py +25 -9
  148. ccxt/cryptocom.py +103 -38
  149. ccxt/currencycom.py +70 -23
  150. ccxt/delta.py +90 -30
  151. ccxt/deribit.py +131 -50
  152. ccxt/digifinex.py +114 -51
  153. ccxt/exmo.py +104 -45
  154. ccxt/gate.py +298 -155
  155. ccxt/gemini.py +57 -20
  156. ccxt/hashkey.py +151 -66
  157. ccxt/hitbtc.py +156 -73
  158. ccxt/hollaex.py +76 -25
  159. ccxt/htx.py +297 -240
  160. ccxt/huobijp.py +1 -0
  161. ccxt/hyperliquid.py +94 -38
  162. ccxt/idex.py +73 -24
  163. ccxt/independentreserve.py +12 -5
  164. ccxt/indodax.py +53 -16
  165. ccxt/kraken.py +107 -35
  166. ccxt/krakenfutures.py +88 -34
  167. ccxt/kucoin.py +211 -109
  168. ccxt/kucoinfutures.py +119 -42
  169. ccxt/kuna.py +80 -39
  170. ccxt/latoken.py +70 -33
  171. ccxt/lbank.py +89 -38
  172. ccxt/luno.py +54 -19
  173. ccxt/lykke.py +54 -19
  174. ccxt/mercado.py +1 -0
  175. ccxt/mexc.py +226 -108
  176. ccxt/ndax.py +58 -19
  177. ccxt/novadax.py +67 -22
  178. ccxt/oceanex.py +58 -19
  179. ccxt/okcoin.py +81 -38
  180. ccxt/okx.py +270 -109
  181. ccxt/onetrading.py +3 -1
  182. ccxt/oxfun.py +95 -36
  183. ccxt/p2b.py +49 -23
  184. ccxt/paradex.py +75 -27
  185. ccxt/paymium.py +31 -11
  186. ccxt/phemex.py +91 -41
  187. ccxt/poloniex.py +80 -30
  188. ccxt/poloniexfutures.py +72 -30
  189. ccxt/pro/__init__.py +1 -1
  190. ccxt/pro/alpaca.py +15 -5
  191. ccxt/pro/ascendex.py +18 -6
  192. ccxt/pro/binance.py +200 -119
  193. ccxt/pro/bingx.py +44 -24
  194. ccxt/pro/bitfinex.py +13 -5
  195. ccxt/pro/bitget.py +75 -36
  196. ccxt/pro/bithumb.py +12 -4
  197. ccxt/pro/bitmart.py +44 -20
  198. ccxt/pro/bitmex.py +42 -14
  199. ccxt/pro/bitopro.py +15 -5
  200. ccxt/pro/bitrue.py +7 -3
  201. ccxt/pro/bitvavo.py +51 -17
  202. ccxt/pro/blockchaincom.py +18 -6
  203. ccxt/pro/blofin.py +36 -12
  204. ccxt/pro/bybit.py +100 -42
  205. ccxt/pro/cex.py +48 -16
  206. ccxt/pro/coinbase.py +32 -12
  207. ccxt/pro/coinbaseexchange.py +1 -1
  208. ccxt/pro/coinbaseinternational.py +34 -14
  209. ccxt/pro/coincatch.py +54 -19
  210. ccxt/pro/coincheck.py +6 -2
  211. ccxt/pro/coinex.py +40 -20
  212. ccxt/pro/coinone.py +9 -3
  213. ccxt/pro/cryptocom.py +70 -26
  214. ccxt/pro/deribit.py +36 -12
  215. ccxt/pro/exmo.py +10 -4
  216. ccxt/pro/gate.py +64 -30
  217. ccxt/pro/gemini.py +21 -7
  218. ccxt/pro/hashkey.py +26 -8
  219. ccxt/pro/hitbtc.py +61 -37
  220. ccxt/pro/hollaex.py +15 -5
  221. ccxt/pro/htx.py +39 -21
  222. ccxt/pro/hyperliquid.py +41 -14
  223. ccxt/pro/kraken.py +49 -17
  224. ccxt/pro/krakenfutures.py +47 -24
  225. ccxt/pro/kucoin.py +60 -31
  226. ccxt/pro/kucoinfutures.py +41 -19
  227. ccxt/pro/lbank.py +27 -9
  228. ccxt/pro/luno.py +3 -1
  229. ccxt/pro/mexc.py +35 -17
  230. ccxt/pro/ndax.py +12 -4
  231. ccxt/pro/okcoin.py +18 -6
  232. ccxt/pro/okx.py +76 -28
  233. ccxt/pro/onetrading.py +21 -7
  234. ccxt/pro/oxfun.py +54 -20
  235. ccxt/pro/p2b.py +23 -11
  236. ccxt/pro/paradex.py +12 -4
  237. ccxt/pro/phemex.py +31 -19
  238. ccxt/pro/poloniex.py +50 -22
  239. ccxt/pro/poloniexfutures.py +17 -7
  240. ccxt/pro/probit.py +18 -6
  241. ccxt/pro/upbit.py +25 -9
  242. ccxt/pro/vertex.py +20 -6
  243. ccxt/pro/wazirx.py +21 -7
  244. ccxt/pro/whitebit.py +25 -9
  245. ccxt/pro/woo.py +32 -12
  246. ccxt/pro/woofipro.py +35 -13
  247. ccxt/pro/xt.py +46 -26
  248. ccxt/probit.py +64 -22
  249. ccxt/timex.py +58 -19
  250. ccxt/tokocrypto.py +63 -22
  251. ccxt/tradeogre.py +7 -2
  252. ccxt/upbit.py +72 -25
  253. ccxt/vertex.py +74 -28
  254. ccxt/wavesexchange.py +29 -8
  255. ccxt/wazirx.py +51 -17
  256. ccxt/whitebit.py +105 -41
  257. ccxt/woo.py +162 -65
  258. ccxt/woofipro.py +118 -49
  259. ccxt/xt.py +150 -73
  260. ccxt/yobit.py +49 -16
  261. ccxt/zaif.py +30 -10
  262. ccxt/zonda.py +46 -16
  263. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
  264. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/RECORD +267 -267
  265. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
  266. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
  267. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/pro/bingx.py CHANGED
@@ -96,9 +96,11 @@ class bingx(ccxt.async_support.bingx):
96
96
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
97
97
  """
98
98
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
99
- :see: https://bingx-api.github.io/docs/#/en-us/spot/socket/market.html#Subscribe%20to%2024-hour%20Price%20Change
100
- :see: https://bingx-api.github.io/docs/#/en-us/swapV2/socket/market.html#Subscribe%20to%2024-hour%20price%20changes
101
- :see: https://bingx-api.github.io/docs/#/en-us/cswap/socket/market.html#Subscribe%20to%2024-Hour%20Price%20Change
99
+
100
+ https://bingx-api.github.io/docs/#/en-us/spot/socket/market.html#Subscribe%20to%2024-hour%20Price%20Change
101
+ https://bingx-api.github.io/docs/#/en-us/swapV2/socket/market.html#Subscribe%20to%2024-hour%20price%20changes
102
+ https://bingx-api.github.io/docs/#/en-us/cswap/socket/market.html#Subscribe%20to%2024-Hour%20Price%20Change
103
+
102
104
  :param str symbol: unified symbol of the market to fetch the ticker for
103
105
  :param dict [params]: extra parameters specific to the exchange API endpoint
104
106
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -246,7 +248,9 @@ class bingx(ccxt.async_support.bingx):
246
248
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
247
249
  """
248
250
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
249
- :see: https://bingx-api.github.io/docs/#/en-us/swapV2/socket/market.html#Subscribe%20to%2024-hour%20price%20changes%20of%20all%20trading%20pairs
251
+
252
+ https://bingx-api.github.io/docs/#/en-us/swapV2/socket/market.html#Subscribe%20to%2024-hour%20price%20changes%20of%20all%20trading%20pairs
253
+
250
254
  :param str[] symbols: unified symbol of the market to watch the tickers for
251
255
  :param dict [params]: extra parameters specific to the exchange API endpoint
252
256
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -292,7 +296,9 @@ class bingx(ccxt.async_support.bingx):
292
296
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
293
297
  """
294
298
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
295
- :see: https://bingx-api.github.io/docs/#/en-us/swapV2/socket/market.html#Subscribe%20Market%20Depth%20Data%20of%20all%20trading%20pairs
299
+
300
+ https://bingx-api.github.io/docs/#/en-us/swapV2/socket/market.html#Subscribe%20Market%20Depth%20Data%20of%20all%20trading%20pairs
301
+
296
302
  :param str[] symbols: unified array of symbols
297
303
  :param int [limit]: the maximum amount of order book entries to return
298
304
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -345,7 +351,9 @@ class bingx(ccxt.async_support.bingx):
345
351
  async def watch_ohlcv_for_symbols(self, symbolsAndTimeframes: List[List[str]], since: Int = None, limit: Int = None, params={}):
346
352
  """
347
353
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
348
- :see: https://bingx-api.github.io/docs/#/en-us/swapV2/socket/market.html#Subscribe%20K-Line%20Data%20of%20all%20trading%20pairs
354
+
355
+ https://bingx-api.github.io/docs/#/en-us/swapV2/socket/market.html#Subscribe%20K-Line%20Data%20of%20all%20trading%20pairs
356
+
349
357
  :param str[][] symbolsAndTimeframes: array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
350
358
  :param int [since]: timestamp in ms of the earliest candle to fetch
351
359
  :param int [limit]: the maximum amount of candles to fetch
@@ -426,9 +434,11 @@ class bingx(ccxt.async_support.bingx):
426
434
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
427
435
  """
428
436
  watches information on multiple trades made in a market
429
- :see: https://bingx-api.github.io/docs/#/spot/socket/market.html#Subscribe%20to%20tick-by-tick
430
- :see: https://bingx-api.github.io/docs/#/swapV2/socket/market.html#Subscribe%20the%20Latest%20Trade%20Detail
431
- :see: https://bingx-api.github.io/docs/#/en-us/cswap/socket/market.html#Subscription%20transaction%20by%20transaction
437
+
438
+ https://bingx-api.github.io/docs/#/spot/socket/market.html#Subscribe%20to%20tick-by-tick
439
+ https://bingx-api.github.io/docs/#/swapV2/socket/market.html#Subscribe%20the%20Latest%20Trade%20Detail
440
+ https://bingx-api.github.io/docs/#/en-us/cswap/socket/market.html#Subscription%20transaction%20by%20transaction
441
+
432
442
  :param str symbol: unified market symbol of the market orders were made in
433
443
  :param int [since]: the earliest time in ms to fetch orders for
434
444
  :param int [limit]: the maximum number of order structures to retrieve
@@ -568,9 +578,11 @@ class bingx(ccxt.async_support.bingx):
568
578
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
569
579
  """
570
580
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
571
- :see: https://bingx-api.github.io/docs/#/en-us/spot/socket/market.html#Subscribe%20Market%20Depth%20Data
572
- :see: https://bingx-api.github.io/docs/#/en-us/swapV2/socket/market.html#Subscribe%20Market%20Depth%20Data
573
- :see: https://bingx-api.github.io/docs/#/en-us/cswap/socket/market.html#Subscribe%20to%20Limited%20Depth
581
+
582
+ https://bingx-api.github.io/docs/#/en-us/spot/socket/market.html#Subscribe%20Market%20Depth%20Data
583
+ https://bingx-api.github.io/docs/#/en-us/swapV2/socket/market.html#Subscribe%20Market%20Depth%20Data
584
+ https://bingx-api.github.io/docs/#/en-us/cswap/socket/market.html#Subscribe%20to%20Limited%20Depth
585
+
574
586
  :param str symbol: unified symbol of the market to fetch the order book for
575
587
  :param int [limit]: the maximum amount of order book entries to return
576
588
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -851,9 +863,11 @@ class bingx(ccxt.async_support.bingx):
851
863
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
852
864
  """
853
865
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
854
- :see: https://bingx-api.github.io/docs/#/en-us/spot/socket/market.html#K-line%20Streams
855
- :see: https://bingx-api.github.io/docs/#/en-us/swapV2/socket/market.html#Subscribe%20K-Line%20Data
856
- :see: https://bingx-api.github.io/docs/#/en-us/cswap/socket/market.html#Subscribe%20to%20Latest%20Trading%20Pair%20K-Line
866
+
867
+ https://bingx-api.github.io/docs/#/en-us/spot/socket/market.html#K-line%20Streams
868
+ https://bingx-api.github.io/docs/#/en-us/swapV2/socket/market.html#Subscribe%20K-Line%20Data
869
+ https://bingx-api.github.io/docs/#/en-us/cswap/socket/market.html#Subscribe%20to%20Latest%20Trading%20Pair%20K-Line
870
+
857
871
  :param str symbol: unified symbol of the market to fetch OHLCV data for
858
872
  :param str timeframe: the length of time each candle represents
859
873
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -899,9 +913,11 @@ class bingx(ccxt.async_support.bingx):
899
913
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
900
914
  """
901
915
  watches information on multiple orders made by the user
902
- :see: https://bingx-api.github.io/docs/#/en-us/spot/socket/account.html#Subscription%20order%20update%20data
903
- :see: https://bingx-api.github.io/docs/#/en-us/swapV2/socket/account.html#Order%20update%20push
904
- :see: https://bingx-api.github.io/docs/#/en-us/cswap/socket/account.html#Order%20update%20push
916
+
917
+ https://bingx-api.github.io/docs/#/en-us/spot/socket/account.html#Subscription%20order%20update%20data
918
+ https://bingx-api.github.io/docs/#/en-us/swapV2/socket/account.html#Order%20update%20push
919
+ https://bingx-api.github.io/docs/#/en-us/cswap/socket/account.html#Order%20update%20push
920
+
905
921
  :param str [symbol]: unified market symbol of the market orders are made in
906
922
  :param int [since]: the earliest time in ms to watch orders for
907
923
  :param int [limit]: the maximum number of order structures to retrieve
@@ -950,9 +966,11 @@ class bingx(ccxt.async_support.bingx):
950
966
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
951
967
  """
952
968
  watches information on multiple trades made by the user
953
- :see: https://bingx-api.github.io/docs/#/en-us/spot/socket/account.html#Subscription%20order%20update%20data
954
- :see: https://bingx-api.github.io/docs/#/en-us/swapV2/socket/account.html#Order%20update%20push
955
- :see: https://bingx-api.github.io/docs/#/en-us/cswap/socket/account.html#Order%20update%20push
969
+
970
+ https://bingx-api.github.io/docs/#/en-us/spot/socket/account.html#Subscription%20order%20update%20data
971
+ https://bingx-api.github.io/docs/#/en-us/swapV2/socket/account.html#Order%20update%20push
972
+ https://bingx-api.github.io/docs/#/en-us/cswap/socket/account.html#Order%20update%20push
973
+
956
974
  :param str [symbol]: unified market symbol of the market the trades are made in
957
975
  :param int [since]: the earliest time in ms to watch trades for
958
976
  :param int [limit]: the maximum number of trade structures to retrieve
@@ -1001,9 +1019,11 @@ class bingx(ccxt.async_support.bingx):
1001
1019
  async def watch_balance(self, params={}) -> Balances:
1002
1020
  """
1003
1021
  query for balance and get the amount of funds available for trading or funds locked in orders
1004
- :see: https://bingx-api.github.io/docs/#/en-us/spot/socket/account.html#Subscription%20account%20balance%20push
1005
- :see: https://bingx-api.github.io/docs/#/en-us/swapV2/socket/account.html#Account%20balance%20and%20position%20update%20push
1006
- :see: https://bingx-api.github.io/docs/#/en-us/cswap/socket/account.html#Account%20balance%20and%20position%20update%20push
1022
+
1023
+ https://bingx-api.github.io/docs/#/en-us/spot/socket/account.html#Subscription%20account%20balance%20push
1024
+ https://bingx-api.github.io/docs/#/en-us/swapV2/socket/account.html#Account%20balance%20and%20position%20update%20push
1025
+ https://bingx-api.github.io/docs/#/en-us/cswap/socket/account.html#Account%20balance%20and%20position%20update%20push
1026
+
1007
1027
  :param dict [params]: extra parameters specific to the exchange API endpoint
1008
1028
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
1009
1029
  """
ccxt/pro/bitfinex.py CHANGED
@@ -63,7 +63,9 @@ class bitfinex(ccxt.async_support.bitfinex):
63
63
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
64
64
  """
65
65
  get the list of most recent trades for a particular symbol
66
- :see: https://docs.bitfinex.com/v1/reference/ws-public-trades
66
+
67
+ https://docs.bitfinex.com/v1/reference/ws-public-trades
68
+
67
69
  :param str symbol: unified symbol of the market to fetch trades for
68
70
  :param int [since]: timestamp in ms of the earliest trade to fetch
69
71
  :param int [limit]: the maximum amount of trades to fetch
@@ -80,7 +82,9 @@ class bitfinex(ccxt.async_support.bitfinex):
80
82
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
81
83
  """
82
84
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
83
- :see: https://docs.bitfinex.com/v1/reference/ws-public-ticker
85
+
86
+ https://docs.bitfinex.com/v1/reference/ws-public-ticker
87
+
84
88
  :param str symbol: unified symbol of the market to fetch the ticker for
85
89
  :param dict [params]: extra parameters specific to the exchange API endpoint
86
90
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -241,7 +245,9 @@ class bitfinex(ccxt.async_support.bitfinex):
241
245
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
242
246
  """
243
247
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
244
- :see: https://docs.bitfinex.com/v1/reference/ws-public-order-books
248
+
249
+ https://docs.bitfinex.com/v1/reference/ws-public-order-books
250
+
245
251
  :param str symbol: unified symbol of the market to fetch the order book for
246
252
  :param int [limit]: the maximum amount of order book entries to return
247
253
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -434,8 +440,10 @@ class bitfinex(ccxt.async_support.bitfinex):
434
440
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
435
441
  """
436
442
  watches information on multiple orders made by the user
437
- :see: https://docs.bitfinex.com/v1/reference/ws-auth-order-updates
438
- :see: https://docs.bitfinex.com/v1/reference/ws-auth-order-snapshots
443
+
444
+ https://docs.bitfinex.com/v1/reference/ws-auth-order-updates
445
+ https://docs.bitfinex.com/v1/reference/ws-auth-order-snapshots
446
+
439
447
  :param str symbol: unified market symbol of the market orders were made in
440
448
  :param int [since]: the earliest time in ms to fetch orders for
441
449
  :param int [limit]: the maximum number of order structures to retrieve
ccxt/pro/bitget.py CHANGED
@@ -116,8 +116,10 @@ class bitget(ccxt.async_support.bitget):
116
116
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
117
117
  """
118
118
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
119
- :see: https://www.bitget.com/api-doc/spot/websocket/public/Tickers-Channel
120
- :see: https://www.bitget.com/api-doc/contract/websocket/public/Tickers-Channel
119
+
120
+ https://www.bitget.com/api-doc/spot/websocket/public/Tickers-Channel
121
+ https://www.bitget.com/api-doc/contract/websocket/public/Tickers-Channel
122
+
121
123
  :param str symbol: unified symbol of the market to watch the ticker for
122
124
  :param dict [params]: extra parameters specific to the exchange API endpoint
123
125
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -138,9 +140,12 @@ class bitget(ccxt.async_support.bitget):
138
140
  async def un_watch_ticker(self, symbol: str, params={}) -> Any:
139
141
  """
140
142
  unsubscribe from the ticker channel
141
- :see: https://www.bitget.com/api-doc/spot/websocket/public/Tickers-Channel
142
- :see: https://www.bitget.com/api-doc/contract/websocket/public/Tickers-Channel
143
+
144
+ https://www.bitget.com/api-doc/spot/websocket/public/Tickers-Channel
145
+ https://www.bitget.com/api-doc/contract/websocket/public/Tickers-Channel
146
+
143
147
  :param str symbol: unified symbol of the market to unwatch the ticker for
148
+ :param dict [params]: extra parameters specific to the exchange API endpoint
144
149
  :returns any: status of the unwatch request
145
150
  """
146
151
  await self.load_markets()
@@ -149,8 +154,10 @@ class bitget(ccxt.async_support.bitget):
149
154
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
150
155
  """
151
156
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
152
- :see: https://www.bitget.com/api-doc/spot/websocket/public/Tickers-Channel
153
- :see: https://www.bitget.com/api-doc/contract/websocket/public/Tickers-Channel
157
+
158
+ https://www.bitget.com/api-doc/spot/websocket/public/Tickers-Channel
159
+ https://www.bitget.com/api-doc/contract/websocket/public/Tickers-Channel
160
+
154
161
  :param str[] symbols: unified symbol of the market to watch the tickers for
155
162
  :param dict [params]: extra parameters specific to the exchange API endpoint
156
163
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -324,8 +331,10 @@ class bitget(ccxt.async_support.bitget):
324
331
 
325
332
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
326
333
  """
327
- :see: https://www.bitget.com/api-doc/spot/websocket/public/Tickers-Channel
328
- :see: https://www.bitget.com/api-doc/contract/websocket/public/Tickers-Channel
334
+
335
+ https://www.bitget.com/api-doc/spot/websocket/public/Tickers-Channel
336
+ https://www.bitget.com/api-doc/contract/websocket/public/Tickers-Channel
337
+
329
338
  watches best bid & ask for symbols
330
339
  :param str[] symbols: unified symbol of the market to fetch the ticker for
331
340
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -385,8 +394,10 @@ class bitget(ccxt.async_support.bitget):
385
394
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
386
395
  """
387
396
  watches historical candlestick data containing the open, high, low, close price, and the volume of a market
388
- :see: https://www.bitget.com/api-doc/spot/websocket/public/Candlesticks-Channel
389
- :see: https://www.bitget.com/api-doc/contract/websocket/public/Candlesticks-Channel
397
+
398
+ https://www.bitget.com/api-doc/spot/websocket/public/Candlesticks-Channel
399
+ https://www.bitget.com/api-doc/contract/websocket/public/Candlesticks-Channel
400
+
390
401
  :param str symbol: unified symbol of the market to fetch OHLCV data for
391
402
  :param str timeframe: the length of time each candle represents
392
403
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -415,9 +426,13 @@ class bitget(ccxt.async_support.bitget):
415
426
  async def un_watch_ohlcv(self, symbol: str, timeframe='1m', params={}) -> Any:
416
427
  """
417
428
  unsubscribe from the ohlcv channel
418
- :see: https://www.bitget.com/api-doc/spot/websocket/public/Candlesticks-Channel
419
- :see: https://www.bitget.com/api-doc/contract/websocket/public/Candlesticks-Channel
429
+
430
+ https://www.bitget.com/api-doc/spot/websocket/public/Candlesticks-Channel
431
+ https://www.bitget.com/api-doc/contract/websocket/public/Candlesticks-Channel
432
+
420
433
  :param str symbol: unified symbol of the market to unwatch the ohlcv for
434
+ :param str timeframe:
435
+ :param dict [params]: extra parameters specific to the exchange API endpoint
421
436
  :returns dict: A dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbols
422
437
  """
423
438
  await self.load_markets()
@@ -509,8 +524,10 @@ class bitget(ccxt.async_support.bitget):
509
524
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
510
525
  """
511
526
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
512
- :see: https://www.bitget.com/api-doc/spot/websocket/public/Depth-Channel
513
- :see: https://www.bitget.com/api-doc/contract/websocket/public/Order-Book-Channel
527
+
528
+ https://www.bitget.com/api-doc/spot/websocket/public/Depth-Channel
529
+ https://www.bitget.com/api-doc/contract/websocket/public/Order-Book-Channel
530
+
514
531
  :param str symbol: unified symbol of the market to fetch the order book for
515
532
  :param int [limit]: the maximum amount of order book entries to return
516
533
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -521,9 +538,12 @@ class bitget(ccxt.async_support.bitget):
521
538
  async def un_watch_order_book(self, symbol: str, params={}) -> Any:
522
539
  """
523
540
  unsubscribe from the orderbook channel
524
- :see: https://www.bitget.com/api-doc/spot/websocket/public/Depth-Channel
525
- :see: https://www.bitget.com/api-doc/contract/websocket/public/Order-Book-Channel
541
+
542
+ https://www.bitget.com/api-doc/spot/websocket/public/Depth-Channel
543
+ https://www.bitget.com/api-doc/contract/websocket/public/Order-Book-Channel
544
+
526
545
  :param str symbol: unified symbol of the market to fetch the order book for
546
+ :param dict [params]: extra parameters specific to the exchange API endpoint
527
547
  :param int [params.limit]: orderbook limit, default is None
528
548
  :returns dict: A dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbols
529
549
  """
@@ -551,8 +571,10 @@ class bitget(ccxt.async_support.bitget):
551
571
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
552
572
  """
553
573
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
554
- :see: https://www.bitget.com/api-doc/spot/websocket/public/Depth-Channel
555
- :see: https://www.bitget.com/api-doc/contract/websocket/public/Order-Book-Channel
574
+
575
+ https://www.bitget.com/api-doc/spot/websocket/public/Depth-Channel
576
+ https://www.bitget.com/api-doc/contract/websocket/public/Order-Book-Channel
577
+
556
578
  :param str[] symbols: unified array of symbols
557
579
  :param int [limit]: the maximum amount of order book entries to return
558
580
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -693,8 +715,10 @@ class bitget(ccxt.async_support.bitget):
693
715
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
694
716
  """
695
717
  get the list of most recent trades for a particular symbol
696
- :see: https://www.bitget.com/api-doc/spot/websocket/public/Trades-Channel
697
- :see: https://www.bitget.com/api-doc/contract/websocket/public/New-Trades-Channel
718
+
719
+ https://www.bitget.com/api-doc/spot/websocket/public/Trades-Channel
720
+ https://www.bitget.com/api-doc/contract/websocket/public/New-Trades-Channel
721
+
698
722
  :param str symbol: unified symbol of the market to fetch trades for
699
723
  :param int [since]: timestamp in ms of the earliest trade to fetch
700
724
  :param int [limit]: the maximum amount of trades to fetch
@@ -706,9 +730,11 @@ class bitget(ccxt.async_support.bitget):
706
730
  async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
707
731
  """
708
732
  get the list of most recent trades for a particular symbol
709
- :see: https://www.bitget.com/api-doc/spot/websocket/public/Trades-Channel
710
- :see: https://www.bitget.com/api-doc/contract/websocket/public/New-Trades-Channel
711
- :param str symbol: unified symbol of the market to fetch trades for
733
+
734
+ https://www.bitget.com/api-doc/spot/websocket/public/Trades-Channel
735
+ https://www.bitget.com/api-doc/contract/websocket/public/New-Trades-Channel
736
+
737
+ :param str[] symbols: unified symbol of the market to fetch trades for
712
738
  :param int [since]: timestamp in ms of the earliest trade to fetch
713
739
  :param int [limit]: the maximum amount of trades to fetch
714
740
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -743,9 +769,12 @@ class bitget(ccxt.async_support.bitget):
743
769
  async def un_watch_trades(self, symbol: str, params={}) -> Any:
744
770
  """
745
771
  unsubscribe from the trades channel
746
- :see: https://www.bitget.com/api-doc/spot/websocket/public/Trades-Channel
747
- :see: https://www.bitget.com/api-doc/contract/websocket/public/New-Trades-Channel
772
+
773
+ https://www.bitget.com/api-doc/spot/websocket/public/Trades-Channel
774
+ https://www.bitget.com/api-doc/contract/websocket/public/New-Trades-Channel
775
+
748
776
  :param str symbol: unified symbol of the market to unwatch the trades for
777
+ :param dict [params]: extra parameters specific to the exchange API endpoint
749
778
  :returns any: status of the unwatch request
750
779
  """
751
780
  await self.load_markets()
@@ -883,8 +912,12 @@ class bitget(ccxt.async_support.bitget):
883
912
  async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
884
913
  """
885
914
  watch all open positions
886
- :see: https://www.bitget.com/api-doc/contract/websocket/private/Positions-Channel
915
+
916
+ https://www.bitget.com/api-doc/contract/websocket/private/Positions-Channel
917
+
887
918
  :param str[]|None symbols: list of unified market symbols
919
+ @param since
920
+ @param limit
888
921
  :param dict params: extra parameters specific to the exchange API endpoint
889
922
  :param str [params.instType]: one of 'USDT-FUTURES', 'USDC-FUTURES', 'COIN-FUTURES', 'SUSDT-FUTURES', 'SUSDC-FUTURES' or 'SCOIN-FUTURES', default is 'USDT-FUTURES'
890
923
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
@@ -1046,11 +1079,13 @@ class bitget(ccxt.async_support.bitget):
1046
1079
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1047
1080
  """
1048
1081
  watches information on multiple orders made by the user
1049
- :see: https://www.bitget.com/api-doc/spot/websocket/private/Order-Channel
1050
- :see: https://www.bitget.com/api-doc/contract/websocket/private/Order-Channel
1051
- :see: https://www.bitget.com/api-doc/contract/websocket/private/Plan-Order-Channel
1052
- :see: https://www.bitget.com/api-doc/margin/cross/websocket/private/Cross-Orders
1053
- :see: https://www.bitget.com/api-doc/margin/isolated/websocket/private/Isolate-Orders
1082
+
1083
+ https://www.bitget.com/api-doc/spot/websocket/private/Order-Channel
1084
+ https://www.bitget.com/api-doc/contract/websocket/private/Order-Channel
1085
+ https://www.bitget.com/api-doc/contract/websocket/private/Plan-Order-Channel
1086
+ https://www.bitget.com/api-doc/margin/cross/websocket/private/Cross-Orders
1087
+ https://www.bitget.com/api-doc/margin/isolated/websocket/private/Isolate-Orders
1088
+
1054
1089
  :param str symbol: unified market symbol of the market orders were made in
1055
1090
  :param int [since]: the earliest time in ms to fetch orders for
1056
1091
  :param int [limit]: the maximum number of order structures to retrieve
@@ -1421,7 +1456,9 @@ class bitget(ccxt.async_support.bitget):
1421
1456
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
1422
1457
  """
1423
1458
  watches trades made by the user
1424
- :see: https://www.bitget.com/api-doc/contract/websocket/private/Order-Channel
1459
+
1460
+ https://www.bitget.com/api-doc/contract/websocket/private/Order-Channel
1461
+
1425
1462
  :param str symbol: unified market symbol
1426
1463
  :param int [since]: the earliest time in ms to fetch trades for
1427
1464
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -1544,10 +1581,12 @@ class bitget(ccxt.async_support.bitget):
1544
1581
  async def watch_balance(self, params={}) -> Balances:
1545
1582
  """
1546
1583
  watch balance and get the amount of funds available for trading or funds locked in orders
1547
- :see: https://www.bitget.com/api-doc/spot/websocket/private/Account-Channel
1548
- :see: https://www.bitget.com/api-doc/contract/websocket/private/Account-Channel
1549
- :see: https://www.bitget.com/api-doc/margin/cross/websocket/private/Margin-Cross-Account-Assets
1550
- :see: https://www.bitget.com/api-doc/margin/isolated/websocket/private/Margin-isolated-account-assets
1584
+
1585
+ https://www.bitget.com/api-doc/spot/websocket/private/Account-Channel
1586
+ https://www.bitget.com/api-doc/contract/websocket/private/Account-Channel
1587
+ https://www.bitget.com/api-doc/margin/cross/websocket/private/Margin-Cross-Account-Assets
1588
+ https://www.bitget.com/api-doc/margin/isolated/websocket/private/Margin-isolated-account-assets
1589
+
1551
1590
  :param dict [params]: extra parameters specific to the exchange API endpoint
1552
1591
  :param str [params.type]: spot or contract if not provided self.options['defaultType'] is used
1553
1592
  :param str [params.instType]: one of 'SPOT', 'MARGIN', 'USDT-FUTURES', 'USDC-FUTURES', 'COIN-FUTURES', 'SUSDT-FUTURES', 'SUSDC-FUTURES' or 'SCOIN-FUTURES'
ccxt/pro/bithumb.py CHANGED
@@ -37,7 +37,9 @@ class bithumb(ccxt.async_support.bithumb):
37
37
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
38
38
  """
39
39
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
40
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%EB%B9%97%EC%8D%B8-%EA%B1%B0%EB%9E%98%EC%86%8C-%EC%A0%95%EB%B3%B4-%EC%88%98%EC%8B%A0
40
+
41
+ https://apidocs.bithumb.com/v1.2.0/reference/%EB%B9%97%EC%8D%B8-%EA%B1%B0%EB%9E%98%EC%86%8C-%EC%A0%95%EB%B3%B4-%EC%88%98%EC%8B%A0
42
+
41
43
  :param str symbol: unified symbol of the market to fetch the ticker for
42
44
  :param dict [params]: extra parameters specific to the exchange API endpoint
43
45
  :param str [params.channel]: the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
@@ -57,7 +59,9 @@ class bithumb(ccxt.async_support.bithumb):
57
59
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
58
60
  """
59
61
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
60
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%EB%B9%97%EC%8D%B8-%EA%B1%B0%EB%9E%98%EC%86%8C-%EC%A0%95%EB%B3%B4-%EC%88%98%EC%8B%A0
62
+
63
+ https://apidocs.bithumb.com/v1.2.0/reference/%EB%B9%97%EC%8D%B8-%EA%B1%B0%EB%9E%98%EC%86%8C-%EC%A0%95%EB%B3%B4-%EC%88%98%EC%8B%A0
64
+
61
65
  :param str[] symbols: unified symbol of the market to fetch the ticker for
62
66
  :param dict [params]: extra parameters specific to the exchange API endpoint
63
67
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -167,7 +171,9 @@ class bithumb(ccxt.async_support.bithumb):
167
171
 
168
172
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
169
173
  """
170
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%EB%B9%97%EC%8D%B8-%EA%B1%B0%EB%9E%98%EC%86%8C-%EC%A0%95%EB%B3%B4-%EC%88%98%EC%8B%A0
174
+
175
+ https://apidocs.bithumb.com/v1.2.0/reference/%EB%B9%97%EC%8D%B8-%EA%B1%B0%EB%9E%98%EC%86%8C-%EC%A0%95%EB%B3%B4-%EC%88%98%EC%8B%A0
176
+
171
177
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
172
178
  :param str symbol: unified symbol of the market to fetch the order book for
173
179
  :param int [limit]: the maximum amount of order book entries to return
@@ -251,7 +257,9 @@ class bithumb(ccxt.async_support.bithumb):
251
257
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
252
258
  """
253
259
  get the list of most recent trades for a particular symbol
254
- :see: https://apidocs.bithumb.com/v1.2.0/reference/%EB%B9%97%EC%8D%B8-%EA%B1%B0%EB%9E%98%EC%86%8C-%EC%A0%95%EB%B3%B4-%EC%88%98%EC%8B%A0
260
+
261
+ https://apidocs.bithumb.com/v1.2.0/reference/%EB%B9%97%EC%8D%B8-%EA%B1%B0%EB%9E%98%EC%86%8C-%EC%A0%95%EB%B3%B4-%EC%88%98%EC%8B%A0
262
+
255
263
  :param str symbol: unified symbol of the market to fetch trades for
256
264
  :param int [since]: timestamp in ms of the earliest trade to fetch
257
265
  :param int [limit]: the maximum amount of trades to fetch
ccxt/pro/bitmart.py CHANGED
@@ -137,8 +137,10 @@ class bitmart(ccxt.async_support.bitmart):
137
137
 
138
138
  async def watch_balance(self, params={}) -> Balances:
139
139
  """
140
- :see: https://developer-pro.bitmart.com/en/spot/#private-balance-change
141
- :see: https://developer-pro.bitmart.com/en/futuresv2/#private-assets-channel
140
+
141
+ https://developer-pro.bitmart.com/en/spot/#private-balance-change
142
+ https://developer-pro.bitmart.com/en/futuresv2/#private-assets-channel
143
+
142
144
  watch balance and get the amount of funds available for trading or funds locked in orders
143
145
  :param dict [params]: extra parameters specific to the exchange API endpoint
144
146
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
@@ -257,8 +259,10 @@ class bitmart(ccxt.async_support.bitmart):
257
259
 
258
260
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
259
261
  """
260
- :see: https://developer-pro.bitmart.com/en/spot/#public-trade-channel
261
- :see: https://developer-pro.bitmart.com/en/futuresv2/#public-trade-channel
262
+
263
+ https://developer-pro.bitmart.com/en/spot/#public-trade-channel
264
+ https://developer-pro.bitmart.com/en/futuresv2/#public-trade-channel
265
+
262
266
  get the list of most recent trades for a particular symbol
263
267
  :param str symbol: unified symbol of the market to fetch trades for
264
268
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -270,7 +274,9 @@ class bitmart(ccxt.async_support.bitmart):
270
274
 
271
275
  async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
272
276
  """
273
- :see: https://developer-pro.bitmart.com/en/spot/#public-trade-channel
277
+
278
+ https://developer-pro.bitmart.com/en/spot/#public-trade-channel
279
+
274
280
  get the list of most recent trades for a list of symbols
275
281
  :param str[] symbols: unified symbol of the market to fetch trades for
276
282
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -301,8 +307,10 @@ class bitmart(ccxt.async_support.bitmart):
301
307
 
302
308
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
303
309
  """
304
- :see: https://developer-pro.bitmart.com/en/spot/#public-ticker-channel
305
- :see: https://developer-pro.bitmart.com/en/futuresv2/#public-ticker-channel
310
+
311
+ https://developer-pro.bitmart.com/en/spot/#public-ticker-channel
312
+ https://developer-pro.bitmart.com/en/futuresv2/#public-ticker-channel
313
+
306
314
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
307
315
  :param str symbol: unified symbol of the market to fetch the ticker for
308
316
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -315,8 +323,10 @@ class bitmart(ccxt.async_support.bitmart):
315
323
 
316
324
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
317
325
  """
318
- :see: https://developer-pro.bitmart.com/en/spot/#public-ticker-channel
319
- :see: https://developer-pro.bitmart.com/en/futuresv2/#public-ticker-channel
326
+
327
+ https://developer-pro.bitmart.com/en/spot/#public-ticker-channel
328
+ https://developer-pro.bitmart.com/en/futuresv2/#public-ticker-channel
329
+
320
330
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
321
331
  :param str[] symbols: unified symbol of the market to fetch the ticker for
322
332
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -335,8 +345,10 @@ class bitmart(ccxt.async_support.bitmart):
335
345
 
336
346
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
337
347
  """
338
- :see: https://developer-pro.bitmart.com/en/spot/#public-ticker-channel
339
- :see: https://developer-pro.bitmart.com/en/futuresv2/#public-ticker-channel
348
+
349
+ https://developer-pro.bitmart.com/en/spot/#public-ticker-channel
350
+ https://developer-pro.bitmart.com/en/futuresv2/#public-ticker-channel
351
+
340
352
  watches best bid & ask for symbols
341
353
  :param str[] symbols: unified symbol of the market to fetch the ticker for
342
354
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -405,8 +417,10 @@ class bitmart(ccxt.async_support.bitmart):
405
417
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
406
418
  """
407
419
  watches information on multiple orders made by the user
408
- :see: https://developer-pro.bitmart.com/en/spot/#private-order-progress
409
- :see: https://developer-pro.bitmart.com/en/futuresv2/#private-order-channel
420
+
421
+ https://developer-pro.bitmart.com/en/spot/#private-order-progress
422
+ https://developer-pro.bitmart.com/en/futuresv2/#private-order-channel
423
+
410
424
  :param str symbol: unified market symbol of the market orders were made in
411
425
  :param int [since]: the earliest time in ms to fetch orders for
412
426
  :param int [limit]: the maximum number of order structures to retrieve
@@ -676,9 +690,13 @@ class bitmart(ccxt.async_support.bitmart):
676
690
 
677
691
  async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
678
692
  """
679
- :see: https://developer-pro.bitmart.com/en/futures/#private-position-channel
693
+
694
+ https://developer-pro.bitmart.com/en/futures/#private-position-channel
695
+
680
696
  watch all open positions
681
697
  :param str[]|None symbols: list of unified market symbols
698
+ @param since
699
+ @param limit
682
700
  :param dict params: extra parameters specific to the exchange API endpoint
683
701
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
684
702
  """
@@ -1005,8 +1023,10 @@ class bitmart(ccxt.async_support.bitmart):
1005
1023
 
1006
1024
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
1007
1025
  """
1008
- :see: https://developer-pro.bitmart.com/en/spot/#public-kline-channel
1009
- :see: https://developer-pro.bitmart.com/en/futuresv2/#public-klinebin-channel
1026
+
1027
+ https://developer-pro.bitmart.com/en/spot/#public-kline-channel
1028
+ https://developer-pro.bitmart.com/en/futuresv2/#public-klinebin-channel
1029
+
1010
1030
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1011
1031
  :param str symbol: unified symbol of the market to fetch OHLCV data for
1012
1032
  :param str timeframe: the length of time each candle represents
@@ -1120,9 +1140,11 @@ class bitmart(ccxt.async_support.bitmart):
1120
1140
 
1121
1141
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
1122
1142
  """
1123
- :see: https://developer-pro.bitmart.com/en/spot/#public-depth-all-channel
1124
- :see: https://developer-pro.bitmart.com/en/spot/#public-depth-increase-channel
1125
- :see: https://developer-pro.bitmart.com/en/futuresv2/#public-depth-channel
1143
+
1144
+ https://developer-pro.bitmart.com/en/spot/#public-depth-all-channel
1145
+ https://developer-pro.bitmart.com/en/spot/#public-depth-increase-channel
1146
+ https://developer-pro.bitmart.com/en/futuresv2/#public-depth-channel
1147
+
1126
1148
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
1127
1149
  :param str symbol: unified symbol of the market to fetch the order book for
1128
1150
  :param int [limit]: the maximum amount of order book entries to return
@@ -1335,7 +1357,9 @@ class bitmart(ccxt.async_support.bitmart):
1335
1357
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
1336
1358
  """
1337
1359
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
1338
- :see: https://developer-pro.bitmart.com/en/spot/#public-depth-increase-channel
1360
+
1361
+ https://developer-pro.bitmart.com/en/spot/#public-depth-increase-channel
1362
+
1339
1363
  :param str[] symbols: unified array of symbols
1340
1364
  :param int [limit]: the maximum amount of order book entries to return
1341
1365
  :param dict [params]: extra parameters specific to the exchange API endpoint