ccxt 4.3.89__py2.py3-none-any.whl → 4.3.91__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 (57) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/binance.py +1 -1
  3. ccxt/abstract/binancecoinm.py +1 -1
  4. ccxt/abstract/binanceus.py +1 -1
  5. ccxt/abstract/binanceusdm.py +1 -1
  6. ccxt/abstract/kucoin.py +1 -0
  7. ccxt/abstract/kucoinfutures.py +1 -0
  8. ccxt/alpaca.py +2 -2
  9. ccxt/ascendex.py +95 -97
  10. ccxt/async_support/__init__.py +1 -1
  11. ccxt/async_support/alpaca.py +2 -2
  12. ccxt/async_support/ascendex.py +95 -97
  13. ccxt/async_support/base/exchange.py +1 -1
  14. ccxt/async_support/binance.py +1 -1
  15. ccxt/async_support/bingx.py +29 -17
  16. ccxt/async_support/bitfinex2.py +21 -22
  17. ccxt/async_support/bitget.py +2 -2
  18. ccxt/async_support/bitmart.py +4 -8
  19. ccxt/async_support/coinbaseinternational.py +2 -1
  20. ccxt/async_support/coinex.py +1 -16
  21. ccxt/async_support/hitbtc.py +2 -0
  22. ccxt/async_support/huobijp.py +0 -8
  23. ccxt/async_support/kucoin.py +53 -21
  24. ccxt/async_support/kucoinfutures.py +22 -2
  25. ccxt/async_support/latoken.py +1 -0
  26. ccxt/async_support/okx.py +1 -8
  27. ccxt/async_support/whitebit.py +5 -3
  28. ccxt/async_support/woo.py +1 -1
  29. ccxt/base/exchange.py +1 -1
  30. ccxt/binance.py +1 -1
  31. ccxt/bingx.py +29 -17
  32. ccxt/bitfinex2.py +21 -22
  33. ccxt/bitget.py +2 -2
  34. ccxt/bitmart.py +4 -8
  35. ccxt/coinbaseinternational.py +2 -1
  36. ccxt/coinex.py +1 -16
  37. ccxt/hitbtc.py +2 -0
  38. ccxt/huobijp.py +0 -8
  39. ccxt/kucoin.py +53 -21
  40. ccxt/kucoinfutures.py +22 -2
  41. ccxt/latoken.py +1 -0
  42. ccxt/okx.py +1 -8
  43. ccxt/pro/__init__.py +1 -1
  44. ccxt/pro/binance.py +280 -0
  45. ccxt/pro/bingx.py +235 -85
  46. ccxt/pro/bithumb.py +4 -0
  47. ccxt/pro/bybit.py +1 -1
  48. ccxt/pro/coinex.py +941 -662
  49. ccxt/pro/lbank.py +1 -2
  50. ccxt/pro/okx.py +142 -2
  51. ccxt/whitebit.py +5 -3
  52. ccxt/woo.py +1 -1
  53. {ccxt-4.3.89.dist-info → ccxt-4.3.91.dist-info}/METADATA +4 -4
  54. {ccxt-4.3.89.dist-info → ccxt-4.3.91.dist-info}/RECORD +57 -57
  55. {ccxt-4.3.89.dist-info → ccxt-4.3.91.dist-info}/LICENSE.txt +0 -0
  56. {ccxt-4.3.89.dist-info → ccxt-4.3.91.dist-info}/WHEEL +0 -0
  57. {ccxt-4.3.89.dist-info → ccxt-4.3.91.dist-info}/top_level.txt +0 -0
ccxt/pro/bithumb.py CHANGED
@@ -37,6 +37,7 @@ 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
  :param str symbol: unified symbol of the market to fetch the ticker for
41
42
  :param dict [params]: extra parameters specific to the exchange API endpoint
42
43
  :param str [params.channel]: the channel to subscribe to, tickers by default. Can be tickers, sprd-tickers, index-tickers, block-tickers
@@ -56,6 +57,7 @@ class bithumb(ccxt.async_support.bithumb):
56
57
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
57
58
  """
58
59
  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
59
61
  :param str[] symbols: unified symbol of the market to fetch the ticker for
60
62
  :param dict [params]: extra parameters specific to the exchange API endpoint
61
63
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -165,6 +167,7 @@ class bithumb(ccxt.async_support.bithumb):
165
167
 
166
168
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
167
169
  """
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
168
171
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
169
172
  :param str symbol: unified symbol of the market to fetch the order book for
170
173
  :param int [limit]: the maximum amount of order book entries to return
@@ -248,6 +251,7 @@ class bithumb(ccxt.async_support.bithumb):
248
251
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
249
252
  """
250
253
  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
251
255
  :param str symbol: unified symbol of the market to fetch trades for
252
256
  :param int [since]: timestamp in ms of the earliest trade to fetch
253
257
  :param int [limit]: the maximum amount of trades to fetch
ccxt/pro/bybit.py CHANGED
@@ -1337,7 +1337,7 @@ class bybit(ccxt.async_support.bybit):
1337
1337
  topic = 'liquidation.' + market['id']
1338
1338
  newLiquidation = await self.watch_topics(url, [messageHash], [topic], params)
1339
1339
  if self.newUpdates:
1340
- return [newLiquidation]
1340
+ return newLiquidation
1341
1341
  return self.filter_by_symbols_since_limit(self.liquidations, [symbol], since, limit, True)
1342
1342
 
1343
1343
  def handle_liquidation(self, client: Client, message):