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/woofipro.py CHANGED
@@ -94,7 +94,9 @@ class woofipro(ccxt.async_support.woofipro):
94
94
 
95
95
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
96
96
  """
97
- :see: https://orderly.network/docs/build-on-evm/evm-api/websocket-api/public/orderbook
97
+
98
+ https://orderly.network/docs/build-on-evm/evm-api/websocket-api/public/orderbook
99
+
98
100
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
99
101
  :param str symbol: unified symbol of the market to fetch the order book for
100
102
  :param int [limit]: the maximum amount of order book entries to return.
@@ -150,7 +152,9 @@ class woofipro(ccxt.async_support.woofipro):
150
152
 
151
153
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
152
154
  """
153
- :see: https://orderly.network/docs/build-on-evm/evm-api/websocket-api/public/24-hour-ticker
155
+
156
+ https://orderly.network/docs/build-on-evm/evm-api/websocket-api/public/24-hour-ticker
157
+
154
158
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
155
159
  :param str symbol: unified symbol of the market to fetch the ticker for
156
160
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -235,7 +239,9 @@ class woofipro(ccxt.async_support.woofipro):
235
239
 
236
240
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
237
241
  """
238
- :see: https://orderly.network/docs/build-on-evm/evm-api/websocket-api/public/24-hour-tickers
242
+
243
+ https://orderly.network/docs/build-on-evm/evm-api/websocket-api/public/24-hour-tickers
244
+
239
245
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
240
246
  :param str[] symbols: unified symbol of the market to fetch the ticker for
241
247
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -287,7 +293,9 @@ class woofipro(ccxt.async_support.woofipro):
287
293
 
288
294
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
289
295
  """
290
- :see: https://orderly.network/docs/build-on-evm/evm-api/websocket-api/public/bbos
296
+
297
+ https://orderly.network/docs/build-on-evm/evm-api/websocket-api/public/bbos
298
+
291
299
  watches best bid & ask for symbols
292
300
  :param str[] symbols: unified symbol of the market to fetch the ticker for
293
301
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -350,7 +358,9 @@ class woofipro(ccxt.async_support.woofipro):
350
358
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
351
359
  """
352
360
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
353
- :see: https://orderly.network/docs/build-on-evm/evm-api/websocket-api/public/k-line
361
+
362
+ https://orderly.network/docs/build-on-evm/evm-api/websocket-api/public/k-line
363
+
354
364
  :param str symbol: unified symbol of the market to fetch OHLCV data for
355
365
  :param str timeframe: the length of time each candle represents
356
366
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -422,7 +432,9 @@ class woofipro(ccxt.async_support.woofipro):
422
432
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
423
433
  """
424
434
  watches information on multiple trades made in a market
425
- :see: https://orderly.network/docs/build-on-evm/evm-api/websocket-api/public/trade
435
+
436
+ https://orderly.network/docs/build-on-evm/evm-api/websocket-api/public/trade
437
+
426
438
  :param str symbol: unified market symbol of the market trades were made in
427
439
  :param int [since]: the earliest time in ms to fetch trades for
428
440
  :param int [limit]: the maximum number of trade structures to retrieve
@@ -616,8 +628,10 @@ class woofipro(ccxt.async_support.woofipro):
616
628
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
617
629
  """
618
630
  watches information on multiple orders made by the user
619
- :see: https://orderly.network/docs/build-on-evm/evm-api/websocket-api/private/execution-report
620
- :see: https://orderly.network/docs/build-on-evm/evm-api/websocket-api/private/algo-execution-report
631
+
632
+ https://orderly.network/docs/build-on-evm/evm-api/websocket-api/private/execution-report
633
+ https://orderly.network/docs/build-on-evm/evm-api/websocket-api/private/algo-execution-report
634
+
621
635
  :param str symbol: unified market symbol of the market orders were made in
622
636
  :param int [since]: the earliest time in ms to fetch orders for
623
637
  :param int [limit]: the maximum number of order structures to retrieve
@@ -647,8 +661,10 @@ class woofipro(ccxt.async_support.woofipro):
647
661
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
648
662
  """
649
663
  watches information on multiple trades made by the user
650
- :see: https://orderly.network/docs/build-on-evm/evm-api/websocket-api/private/execution-report
651
- :see: https://orderly.network/docs/build-on-evm/evm-api/websocket-api/private/algo-execution-report
664
+
665
+ https://orderly.network/docs/build-on-evm/evm-api/websocket-api/private/execution-report
666
+ https://orderly.network/docs/build-on-evm/evm-api/websocket-api/private/algo-execution-report
667
+
652
668
  :param str symbol: unified market symbol of the market orders were made in
653
669
  :param int [since]: the earliest time in ms to fetch orders for
654
670
  :param int [limit]: the maximum number of order structures to retrieve
@@ -911,9 +927,13 @@ class woofipro(ccxt.async_support.woofipro):
911
927
 
912
928
  async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
913
929
  """
914
- :see: https://orderly.network/docs/build-on-evm/evm-api/websocket-api/private/position-push
930
+
931
+ https://orderly.network/docs/build-on-evm/evm-api/websocket-api/private/position-push
932
+
915
933
  watch all open positions
916
- :param str[]|None symbols: list of unified market symbols
934
+ :param str[] [symbols]: list of unified market symbols
935
+ @param since timestamp in ms of the earliest position to fetch
936
+ @param limit the maximum number of positions to fetch
917
937
  :param dict params: extra parameters specific to the exchange API endpoint
918
938
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
919
939
  """
@@ -1091,7 +1111,9 @@ class woofipro(ccxt.async_support.woofipro):
1091
1111
  async def watch_balance(self, params={}) -> Balances:
1092
1112
  """
1093
1113
  watch balance and get the amount of funds available for trading or funds locked in orders
1094
- :see: https://orderly.network/docs/build-on-evm/evm-api/websocket-api/private/balance
1114
+
1115
+ https://orderly.network/docs/build-on-evm/evm-api/websocket-api/private/balance
1116
+
1095
1117
  :param dict [params]: extra parameters specific to the exchange API endpoint
1096
1118
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
1097
1119
  """
ccxt/pro/xt.py CHANGED
@@ -55,11 +55,13 @@ class xt(ccxt.async_support.xt):
55
55
 
56
56
  async def get_listen_key(self, isContract: bool):
57
57
  """
58
- * @ignore
58
+ @ignore
59
59
  required for private endpoints
60
60
  :param str isContract: True for contract trades
61
- :see: https://doc.xt.com/#websocket_privategetToken
62
- :see: https://doc.xt.com/#futures_user_websocket_v2base
61
+
62
+ https://doc.xt.com/#websocket_privategetToken
63
+ https://doc.xt.com/#futures_user_websocket_v2base
64
+
63
65
  :returns str: listen key / access token
64
66
  """
65
67
  self.check_required_credentials()
@@ -133,10 +135,12 @@ class xt(ccxt.async_support.xt):
133
135
 
134
136
  async def subscribe(self, name: str, access: str, methodName: str, market: Market = None, symbols: List[str] = None, params={}):
135
137
  """
136
- * @ignore
138
+ @ignore
137
139
  Connects to a websocket channel
138
- :see: https://doc.xt.com/#websocket_privaterequestFormat
139
- :see: https://doc.xt.com/#futures_market_websocket_v2base
140
+
141
+ https://doc.xt.com/#websocket_privaterequestFormat
142
+ https://doc.xt.com/#futures_market_websocket_v2base
143
+
140
144
  :param str name: name of the channel
141
145
  :param str access: public or private
142
146
  :param str methodName: the name of the CCXT class method
@@ -177,9 +181,11 @@ class xt(ccxt.async_support.xt):
177
181
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
178
182
  """
179
183
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
180
- :see: https://doc.xt.com/#websocket_publictickerRealTime
181
- :see: https://doc.xt.com/#futures_market_websocket_v2tickerRealTime
182
- :see: https://doc.xt.com/#futures_market_websocket_v2aggTickerRealTime
184
+
185
+ https://doc.xt.com/#websocket_publictickerRealTime
186
+ https://doc.xt.com/#futures_market_websocket_v2tickerRealTime
187
+ https://doc.xt.com/#futures_market_websocket_v2aggTickerRealTime
188
+
183
189
  :param str symbol: unified symbol of the market to fetch the ticker for
184
190
  :param dict params: extra parameters specific to the xt api endpoint
185
191
  :param str [params.method]: 'agg_ticker'(contract only) or 'ticker', default = 'ticker' - the endpoint that will be streamed
@@ -196,9 +202,11 @@ class xt(ccxt.async_support.xt):
196
202
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
197
203
  """
198
204
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
199
- :see: https://doc.xt.com/#websocket_publicallTicker
200
- :see: https://doc.xt.com/#futures_market_websocket_v2allTicker
201
- :see: https://doc.xt.com/#futures_market_websocket_v2allAggTicker
205
+
206
+ https://doc.xt.com/#websocket_publicallTicker
207
+ https://doc.xt.com/#futures_market_websocket_v2allTicker
208
+ https://doc.xt.com/#futures_market_websocket_v2allAggTicker
209
+
202
210
  :param str [symbols]: unified market symbols
203
211
  :param dict params: extra parameters specific to the xt api endpoint
204
212
  :param str [params.method]: 'agg_tickers'(contract only) or 'tickers', default = 'tickers' - the endpoint that will be streamed
@@ -219,8 +227,10 @@ class xt(ccxt.async_support.xt):
219
227
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
220
228
  """
221
229
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
222
- :see: https://doc.xt.com/#websocket_publicsymbolKline
223
- :see: https://doc.xt.com/#futures_market_websocket_v2symbolKline
230
+
231
+ https://doc.xt.com/#websocket_publicsymbolKline
232
+ https://doc.xt.com/#futures_market_websocket_v2symbolKline
233
+
224
234
  :param str symbol: unified symbol of the market to fetch OHLCV data for
225
235
  :param str timeframe: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, or 1M
226
236
  :param int [since]: not used by xt watchOHLCV
@@ -239,8 +249,10 @@ class xt(ccxt.async_support.xt):
239
249
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
240
250
  """
241
251
  get the list of most recent trades for a particular symbol
242
- :see: https://doc.xt.com/#websocket_publicdealRecord
243
- :see: https://doc.xt.com/#futures_market_websocket_v2dealRecord
252
+
253
+ https://doc.xt.com/#websocket_publicdealRecord
254
+ https://doc.xt.com/#futures_market_websocket_v2dealRecord
255
+
244
256
  :param str symbol: unified symbol of the market to fetch trades for
245
257
  :param int [since]: timestamp in ms of the earliest trade to fetch
246
258
  :param int [limit]: the maximum amount of trades to fetch
@@ -258,10 +270,12 @@ class xt(ccxt.async_support.xt):
258
270
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
259
271
  """
260
272
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
261
- :see: https://doc.xt.com/#websocket_publiclimitDepth
262
- :see: https://doc.xt.com/#websocket_publicincreDepth
263
- :see: https://doc.xt.com/#futures_market_websocket_v2limitDepth
264
- :see: https://doc.xt.com/#futures_market_websocket_v2increDepth
273
+
274
+ https://doc.xt.com/#websocket_publiclimitDepth
275
+ https://doc.xt.com/#websocket_publicincreDepth
276
+ https://doc.xt.com/#futures_market_websocket_v2limitDepth
277
+ https://doc.xt.com/#futures_market_websocket_v2increDepth
278
+
265
279
  :param str symbol: unified symbol of the market to fetch the order book for
266
280
  :param int [limit]: not used by xt watchOrderBook
267
281
  :param dict params: extra parameters specific to the xt api endpoint
@@ -281,8 +295,10 @@ class xt(ccxt.async_support.xt):
281
295
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
282
296
  """
283
297
  watches information on multiple orders made by the user
284
- :see: https://doc.xt.com/#websocket_privateorderChange
285
- :see: https://doc.xt.com/#futures_user_websocket_v2order
298
+
299
+ https://doc.xt.com/#websocket_privateorderChange
300
+ https://doc.xt.com/#futures_user_websocket_v2order
301
+
286
302
  :param str [symbol]: unified market symbol
287
303
  :param int [since]: not used by xt watchOrders
288
304
  :param int [limit]: the maximum number of orders to return
@@ -302,8 +318,10 @@ class xt(ccxt.async_support.xt):
302
318
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
303
319
  """
304
320
  watches information on multiple trades made by the user
305
- :see: https://doc.xt.com/#websocket_privateorderDeal
306
- :see: https://doc.xt.com/#futures_user_websocket_v2trade
321
+
322
+ https://doc.xt.com/#websocket_privateorderDeal
323
+ https://doc.xt.com/#futures_user_websocket_v2trade
324
+
307
325
  :param str symbol: unified market symbol of the market orders were made in
308
326
  :param int [since]: the earliest time in ms to fetch orders for
309
327
  :param int [limit]: the maximum number of orde structures to retrieve
@@ -323,8 +341,10 @@ class xt(ccxt.async_support.xt):
323
341
  async def watch_balance(self, params={}) -> Balances:
324
342
  """
325
343
  watches information on multiple orders made by the user
326
- :see: https://doc.xt.com/#websocket_privatebalanceChange
327
- :see: https://doc.xt.com/#futures_user_websocket_v2balance
344
+
345
+ https://doc.xt.com/#websocket_privatebalanceChange
346
+ https://doc.xt.com/#futures_user_websocket_v2balance
347
+
328
348
  :param dict params: extra parameters specific to the xt api endpoint
329
349
  :returns dict[]: a list of `balance structures <https://docs.ccxt.com/#/?id=balance-structure>`
330
350
  """
ccxt/probit.py CHANGED
@@ -245,7 +245,9 @@ class probit(Exchange, ImplicitAPI):
245
245
 
246
246
  def fetch_markets(self, params={}) -> List[Market]:
247
247
  """
248
- :see: https://docs-en.probit.com/reference/market
248
+
249
+ https://docs-en.probit.com/reference/market
250
+
249
251
  retrieves data on all markets for probit
250
252
  :param dict [params]: extra parameters specific to the exchange API endpoint
251
253
  :returns dict[]: an array of objects representing market data
@@ -344,7 +346,9 @@ class probit(Exchange, ImplicitAPI):
344
346
 
345
347
  def fetch_currencies(self, params={}) -> Currencies:
346
348
  """
347
- :see: https://docs-en.probit.com/reference/currency
349
+
350
+ https://docs-en.probit.com/reference/currency
351
+
348
352
  fetches all available currencies on an exchange
349
353
  :param dict [params]: extra parameters specific to the exchange API endpoint
350
354
  :returns dict: an associative dictionary of currencies
@@ -525,7 +529,9 @@ class probit(Exchange, ImplicitAPI):
525
529
 
526
530
  def fetch_balance(self, params={}) -> Balances:
527
531
  """
528
- :see: https://docs-en.probit.com/reference/balance
532
+
533
+ https://docs-en.probit.com/reference/balance
534
+
529
535
  query for balance and get the amount of funds available for trading or funds locked in orders
530
536
  :param dict [params]: extra parameters specific to the exchange API endpoint
531
537
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
@@ -547,7 +553,9 @@ class probit(Exchange, ImplicitAPI):
547
553
 
548
554
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
549
555
  """
550
- :see: https://docs-en.probit.com/reference/order_book
556
+
557
+ https://docs-en.probit.com/reference/order_book
558
+
551
559
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
552
560
  :param str symbol: unified symbol of the market to fetch the order book for
553
561
  :param int [limit]: the maximum amount of order book entries to return
@@ -575,7 +583,9 @@ class probit(Exchange, ImplicitAPI):
575
583
 
576
584
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
577
585
  """
578
- :see: https://docs-en.probit.com/reference/ticker
586
+
587
+ https://docs-en.probit.com/reference/ticker
588
+
579
589
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
580
590
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
581
591
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -608,7 +618,9 @@ class probit(Exchange, ImplicitAPI):
608
618
 
609
619
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
610
620
  """
611
- :see: https://docs-en.probit.com/reference/ticker
621
+
622
+ https://docs-en.probit.com/reference/ticker
623
+
612
624
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
613
625
  :param str symbol: unified symbol of the market to fetch the ticker for
614
626
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -687,7 +699,9 @@ class probit(Exchange, ImplicitAPI):
687
699
 
688
700
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
689
701
  """
690
- :see: https://docs-en.probit.com/reference/trade
702
+
703
+ https://docs-en.probit.com/reference/trade
704
+
691
705
  fetch all trades made by the user
692
706
  :param str symbol: unified market symbol
693
707
  :param int [since]: the earliest time in ms to fetch trades for
@@ -736,7 +750,9 @@ class probit(Exchange, ImplicitAPI):
736
750
 
737
751
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
738
752
  """
739
- :see: https://docs-en.probit.com/reference/trade-1
753
+
754
+ https://docs-en.probit.com/reference/trade-1
755
+
740
756
  get the list of most recent trades for a particular symbol
741
757
  :param str symbol: unified symbol of the market to fetch trades for
742
758
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -851,7 +867,9 @@ class probit(Exchange, ImplicitAPI):
851
867
 
852
868
  def fetch_time(self, params={}):
853
869
  """
854
- :see: https://docs-en.probit.com/reference/time
870
+
871
+ https://docs-en.probit.com/reference/time
872
+
855
873
  fetches the current integer timestamp in milliseconds from the exchange server
856
874
  :param dict [params]: extra parameters specific to the exchange API endpoint
857
875
  :returns int: the current integer timestamp in milliseconds from the exchange server
@@ -894,7 +912,9 @@ class probit(Exchange, ImplicitAPI):
894
912
 
895
913
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
896
914
  """
897
- :see: https://docs-en.probit.com/reference/candle
915
+
916
+ https://docs-en.probit.com/reference/candle
917
+
898
918
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
899
919
  :param str symbol: unified symbol of the market to fetch OHLCV data for
900
920
  :param str timeframe: the length of time each candle represents
@@ -978,7 +998,9 @@ class probit(Exchange, ImplicitAPI):
978
998
 
979
999
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
980
1000
  """
981
- :see: https://docs-en.probit.com/reference/open_order-1
1001
+
1002
+ https://docs-en.probit.com/reference/open_order-1
1003
+
982
1004
  fetch all unfilled currently open orders
983
1005
  :param str symbol: unified market symbol
984
1006
  :param int [since]: the earliest time in ms to fetch open orders for
@@ -999,7 +1021,9 @@ class probit(Exchange, ImplicitAPI):
999
1021
 
1000
1022
  def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1001
1023
  """
1002
- :see: https://docs-en.probit.com/reference/order
1024
+
1025
+ https://docs-en.probit.com/reference/order
1026
+
1003
1027
  fetches information on multiple closed orders made by the user
1004
1028
  :param str symbol: unified market symbol of the market orders were made in
1005
1029
  :param int [since]: the earliest time in ms to fetch orders for
@@ -1027,7 +1051,9 @@ class probit(Exchange, ImplicitAPI):
1027
1051
 
1028
1052
  def fetch_order(self, id: str, symbol: Str = None, params={}):
1029
1053
  """
1030
- :see: https://docs-en.probit.com/reference/order-3
1054
+
1055
+ https://docs-en.probit.com/reference/order-3
1056
+
1031
1057
  fetches information on an order made by the user
1032
1058
  :param str id: the order id
1033
1059
  :param str symbol: unified symbol of the market the order was made in
@@ -1129,7 +1155,9 @@ class probit(Exchange, ImplicitAPI):
1129
1155
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
1130
1156
  """
1131
1157
  create a trade order
1132
- :see: https://docs-en.probit.com/reference/order-1
1158
+
1159
+ https://docs-en.probit.com/reference/order-1
1160
+
1133
1161
  :param str symbol: unified symbol of the market to create an order in
1134
1162
  :param str type: 'market' or 'limit'
1135
1163
  :param str side: 'buy' or 'sell'
@@ -1214,7 +1242,9 @@ class probit(Exchange, ImplicitAPI):
1214
1242
 
1215
1243
  def cancel_order(self, id: str, symbol: Str = None, params={}):
1216
1244
  """
1217
- :see: https://docs-en.probit.com/reference/order-2
1245
+
1246
+ https://docs-en.probit.com/reference/order-2
1247
+
1218
1248
  cancels an open order
1219
1249
  :param str id: order id
1220
1250
  :param str symbol: unified symbol of the market the order was made in
@@ -1251,7 +1281,9 @@ class probit(Exchange, ImplicitAPI):
1251
1281
 
1252
1282
  def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
1253
1283
  """
1254
- :see: https://docs-en.probit.com/reference/deposit_address
1284
+
1285
+ https://docs-en.probit.com/reference/deposit_address
1286
+
1255
1287
  fetch the deposit address for a currency associated with self account
1256
1288
  :param str code: unified currency code
1257
1289
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1301,7 +1333,9 @@ class probit(Exchange, ImplicitAPI):
1301
1333
 
1302
1334
  def fetch_deposit_addresses(self, codes: Strings = None, params={}) -> List[DepositAddress]:
1303
1335
  """
1304
- :see: https://docs-en.probit.com/reference/deposit_address
1336
+
1337
+ https://docs-en.probit.com/reference/deposit_address
1338
+
1305
1339
  fetch deposit addresses for multiple currencies and chain types
1306
1340
  :param str[]|None codes: list of unified currency codes, default is None
1307
1341
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1321,7 +1355,9 @@ class probit(Exchange, ImplicitAPI):
1321
1355
 
1322
1356
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
1323
1357
  """
1324
- :see: https://docs-en.probit.com/reference/withdrawal
1358
+
1359
+ https://docs-en.probit.com/reference/withdrawal
1360
+
1325
1361
  make a withdrawal
1326
1362
  :param str code: unified currency code
1327
1363
  :param float amount: the amount to withdraw
@@ -1395,12 +1431,14 @@ class probit(Exchange, ImplicitAPI):
1395
1431
  def fetch_deposits_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}):
1396
1432
  """
1397
1433
  fetch history of deposits and withdrawals
1398
- :see: https://docs-en.probit.com/reference/transferpayment
1434
+
1435
+ https://docs-en.probit.com/reference/transferpayment
1436
+
1399
1437
  :param str code: unified currency code
1400
1438
  :param int [since]: the earliest time in ms to fetch transactions for
1401
1439
  :param int [limit]: the maximum number of transaction structures to retrieve
1402
- :param int [params.until]: the latest time in ms to fetch transactions for
1403
1440
  :param dict [params]: extra parameters specific to the exchange API endpoint
1441
+ :param int [params.until]: the latest time in ms to fetch transactions for
1404
1442
  :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1405
1443
  """
1406
1444
  self.load_markets()
@@ -1529,7 +1567,9 @@ class probit(Exchange, ImplicitAPI):
1529
1567
 
1530
1568
  def fetch_deposit_withdraw_fees(self, codes: Strings = None, params={}):
1531
1569
  """
1532
- :see: https://docs-en.probit.com/reference/currency
1570
+
1571
+ https://docs-en.probit.com/reference/currency
1572
+
1533
1573
  fetch deposit and withdraw fees
1534
1574
  :param str[]|None codes: list of unified currency codes
1535
1575
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1700,7 +1740,9 @@ class probit(Exchange, ImplicitAPI):
1700
1740
 
1701
1741
  def sign_in(self, params={}):
1702
1742
  """
1703
- :see: https://docs-en.probit.com/reference/token
1743
+
1744
+ https://docs-en.probit.com/reference/token
1745
+
1704
1746
  sign in, must be called prior to using other authenticated methods
1705
1747
  :param dict [params]: extra parameters specific to the exchange API endpoint
1706
1748
  :returns: response from exchange