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.
- ccxt/__init__.py +1 -1
- ccxt/ace.py +36 -12
- ccxt/alpaca.py +62 -22
- ccxt/ascendex.py +65 -30
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +36 -12
- ccxt/async_support/alpaca.py +62 -22
- ccxt/async_support/ascendex.py +65 -30
- ccxt/async_support/base/exchange.py +3 -3
- ccxt/async_support/bigone.py +71 -27
- ccxt/async_support/binance.py +555 -323
- ccxt/async_support/bingx.py +208 -108
- ccxt/async_support/bit2c.py +34 -12
- ccxt/async_support/bitbank.py +42 -14
- ccxt/async_support/bitbns.py +17 -9
- ccxt/async_support/bitfinex.py +68 -24
- ccxt/async_support/bitfinex2.py +116 -44
- ccxt/async_support/bitflyer.py +54 -18
- ccxt/async_support/bitget.py +277 -145
- ccxt/async_support/bithumb.py +39 -14
- ccxt/async_support/bitmart.py +145 -79
- ccxt/async_support/bitmex.py +90 -30
- ccxt/async_support/bitopro.py +66 -22
- ccxt/async_support/bitrue.py +109 -57
- ccxt/async_support/bitso.py +55 -19
- ccxt/async_support/bitstamp.py +84 -36
- ccxt/async_support/bitteam.py +51 -17
- ccxt/async_support/bitvavo.py +57 -19
- ccxt/async_support/bl3p.py +26 -10
- ccxt/async_support/blockchaincom.py +63 -21
- ccxt/async_support/blofin.py +95 -38
- ccxt/async_support/btcalpha.py +48 -16
- ccxt/async_support/btcbox.py +27 -9
- ccxt/async_support/btcmarkets.py +57 -19
- ccxt/async_support/btcturk.py +36 -12
- ccxt/async_support/bybit.py +251 -95
- ccxt/async_support/cex.py +65 -22
- ccxt/async_support/coinbase.py +138 -56
- ccxt/async_support/coinbaseexchange.py +76 -28
- ccxt/async_support/coinbaseinternational.py +75 -27
- ccxt/async_support/coincatch.py +191 -97
- ccxt/async_support/coincheck.py +33 -11
- ccxt/async_support/coinex.py +212 -101
- ccxt/async_support/coinlist.py +87 -30
- ccxt/async_support/coinmate.py +55 -24
- ccxt/async_support/coinmetro.py +52 -18
- ccxt/async_support/coinone.py +27 -10
- ccxt/async_support/coinsph.py +73 -27
- ccxt/async_support/coinspot.py +25 -9
- ccxt/async_support/cryptocom.py +103 -38
- ccxt/async_support/currencycom.py +70 -23
- ccxt/async_support/delta.py +90 -30
- ccxt/async_support/deribit.py +131 -50
- ccxt/async_support/digifinex.py +114 -51
- ccxt/async_support/exmo.py +104 -45
- ccxt/async_support/gate.py +298 -155
- ccxt/async_support/gemini.py +57 -20
- ccxt/async_support/hashkey.py +151 -66
- ccxt/async_support/hitbtc.py +156 -73
- ccxt/async_support/hollaex.py +76 -25
- ccxt/async_support/htx.py +297 -240
- ccxt/async_support/huobijp.py +1 -0
- ccxt/async_support/hyperliquid.py +94 -38
- ccxt/async_support/idex.py +73 -24
- ccxt/async_support/independentreserve.py +12 -5
- ccxt/async_support/indodax.py +53 -16
- ccxt/async_support/kraken.py +107 -35
- ccxt/async_support/krakenfutures.py +88 -34
- ccxt/async_support/kucoin.py +211 -109
- ccxt/async_support/kucoinfutures.py +119 -42
- ccxt/async_support/kuna.py +80 -39
- ccxt/async_support/latoken.py +70 -33
- ccxt/async_support/lbank.py +89 -38
- ccxt/async_support/luno.py +54 -19
- ccxt/async_support/lykke.py +54 -19
- ccxt/async_support/mercado.py +1 -0
- ccxt/async_support/mexc.py +226 -108
- ccxt/async_support/ndax.py +58 -19
- ccxt/async_support/novadax.py +67 -22
- ccxt/async_support/oceanex.py +58 -19
- ccxt/async_support/okcoin.py +81 -38
- ccxt/async_support/okx.py +270 -109
- ccxt/async_support/onetrading.py +3 -1
- ccxt/async_support/oxfun.py +95 -36
- ccxt/async_support/p2b.py +49 -23
- ccxt/async_support/paradex.py +75 -27
- ccxt/async_support/paymium.py +31 -11
- ccxt/async_support/phemex.py +91 -41
- ccxt/async_support/poloniex.py +80 -30
- ccxt/async_support/poloniexfutures.py +72 -30
- ccxt/async_support/probit.py +64 -22
- ccxt/async_support/timex.py +58 -19
- ccxt/async_support/tokocrypto.py +63 -22
- ccxt/async_support/tradeogre.py +7 -2
- ccxt/async_support/upbit.py +72 -25
- ccxt/async_support/vertex.py +74 -28
- ccxt/async_support/wavesexchange.py +29 -8
- ccxt/async_support/wazirx.py +51 -17
- ccxt/async_support/whitebit.py +105 -41
- ccxt/async_support/woo.py +162 -65
- ccxt/async_support/woofipro.py +118 -49
- ccxt/async_support/xt.py +150 -73
- ccxt/async_support/yobit.py +49 -16
- ccxt/async_support/zaif.py +30 -10
- ccxt/async_support/zonda.py +46 -16
- ccxt/base/exchange.py +34 -34
- ccxt/base/types.py +1 -0
- ccxt/bigone.py +71 -27
- ccxt/binance.py +555 -323
- ccxt/bingx.py +208 -108
- ccxt/bit2c.py +34 -12
- ccxt/bitbank.py +42 -14
- ccxt/bitbns.py +17 -9
- ccxt/bitfinex.py +68 -24
- ccxt/bitfinex2.py +116 -44
- ccxt/bitflyer.py +54 -18
- ccxt/bitget.py +277 -145
- ccxt/bithumb.py +39 -14
- ccxt/bitmart.py +145 -79
- ccxt/bitmex.py +90 -30
- ccxt/bitopro.py +66 -22
- ccxt/bitrue.py +109 -57
- ccxt/bitso.py +55 -19
- ccxt/bitstamp.py +84 -36
- ccxt/bitteam.py +51 -17
- ccxt/bitvavo.py +57 -19
- ccxt/bl3p.py +26 -10
- ccxt/blockchaincom.py +63 -21
- ccxt/blofin.py +95 -38
- ccxt/btcalpha.py +48 -16
- ccxt/btcbox.py +27 -9
- ccxt/btcmarkets.py +57 -19
- ccxt/btcturk.py +36 -12
- ccxt/bybit.py +251 -95
- ccxt/cex.py +65 -22
- ccxt/coinbase.py +138 -56
- ccxt/coinbaseexchange.py +76 -28
- ccxt/coinbaseinternational.py +75 -27
- ccxt/coincatch.py +191 -97
- ccxt/coincheck.py +33 -11
- ccxt/coinex.py +212 -101
- ccxt/coinlist.py +87 -30
- ccxt/coinmate.py +55 -24
- ccxt/coinmetro.py +52 -18
- ccxt/coinone.py +27 -10
- ccxt/coinsph.py +73 -27
- ccxt/coinspot.py +25 -9
- ccxt/cryptocom.py +103 -38
- ccxt/currencycom.py +70 -23
- ccxt/delta.py +90 -30
- ccxt/deribit.py +131 -50
- ccxt/digifinex.py +114 -51
- ccxt/exmo.py +104 -45
- ccxt/gate.py +298 -155
- ccxt/gemini.py +57 -20
- ccxt/hashkey.py +151 -66
- ccxt/hitbtc.py +156 -73
- ccxt/hollaex.py +76 -25
- ccxt/htx.py +297 -240
- ccxt/huobijp.py +1 -0
- ccxt/hyperliquid.py +94 -38
- ccxt/idex.py +73 -24
- ccxt/independentreserve.py +12 -5
- ccxt/indodax.py +53 -16
- ccxt/kraken.py +107 -35
- ccxt/krakenfutures.py +88 -34
- ccxt/kucoin.py +211 -109
- ccxt/kucoinfutures.py +119 -42
- ccxt/kuna.py +80 -39
- ccxt/latoken.py +70 -33
- ccxt/lbank.py +89 -38
- ccxt/luno.py +54 -19
- ccxt/lykke.py +54 -19
- ccxt/mercado.py +1 -0
- ccxt/mexc.py +226 -108
- ccxt/ndax.py +58 -19
- ccxt/novadax.py +67 -22
- ccxt/oceanex.py +58 -19
- ccxt/okcoin.py +81 -38
- ccxt/okx.py +270 -109
- ccxt/onetrading.py +3 -1
- ccxt/oxfun.py +95 -36
- ccxt/p2b.py +49 -23
- ccxt/paradex.py +75 -27
- ccxt/paymium.py +31 -11
- ccxt/phemex.py +91 -41
- ccxt/poloniex.py +80 -30
- ccxt/poloniexfutures.py +72 -30
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/alpaca.py +15 -5
- ccxt/pro/ascendex.py +18 -6
- ccxt/pro/binance.py +200 -119
- ccxt/pro/bingx.py +44 -24
- ccxt/pro/bitfinex.py +13 -5
- ccxt/pro/bitget.py +75 -36
- ccxt/pro/bithumb.py +12 -4
- ccxt/pro/bitmart.py +44 -20
- ccxt/pro/bitmex.py +42 -14
- ccxt/pro/bitopro.py +15 -5
- ccxt/pro/bitrue.py +7 -3
- ccxt/pro/bitvavo.py +51 -17
- ccxt/pro/blockchaincom.py +18 -6
- ccxt/pro/blofin.py +36 -12
- ccxt/pro/bybit.py +100 -42
- ccxt/pro/cex.py +48 -16
- ccxt/pro/coinbase.py +32 -12
- ccxt/pro/coinbaseexchange.py +1 -1
- ccxt/pro/coinbaseinternational.py +34 -14
- ccxt/pro/coincatch.py +54 -19
- ccxt/pro/coincheck.py +6 -2
- ccxt/pro/coinex.py +40 -20
- ccxt/pro/coinone.py +9 -3
- ccxt/pro/cryptocom.py +70 -26
- ccxt/pro/deribit.py +36 -12
- ccxt/pro/exmo.py +10 -4
- ccxt/pro/gate.py +64 -30
- ccxt/pro/gemini.py +21 -7
- ccxt/pro/hashkey.py +26 -8
- ccxt/pro/hitbtc.py +61 -37
- ccxt/pro/hollaex.py +15 -5
- ccxt/pro/htx.py +39 -21
- ccxt/pro/hyperliquid.py +41 -14
- ccxt/pro/kraken.py +49 -17
- ccxt/pro/krakenfutures.py +47 -24
- ccxt/pro/kucoin.py +60 -31
- ccxt/pro/kucoinfutures.py +41 -19
- ccxt/pro/lbank.py +27 -9
- ccxt/pro/luno.py +3 -1
- ccxt/pro/mexc.py +35 -17
- ccxt/pro/ndax.py +12 -4
- ccxt/pro/okcoin.py +18 -6
- ccxt/pro/okx.py +76 -28
- ccxt/pro/onetrading.py +21 -7
- ccxt/pro/oxfun.py +54 -20
- ccxt/pro/p2b.py +23 -11
- ccxt/pro/paradex.py +12 -4
- ccxt/pro/phemex.py +31 -19
- ccxt/pro/poloniex.py +50 -22
- ccxt/pro/poloniexfutures.py +17 -7
- ccxt/pro/probit.py +18 -6
- ccxt/pro/upbit.py +25 -9
- ccxt/pro/vertex.py +20 -6
- ccxt/pro/wazirx.py +21 -7
- ccxt/pro/whitebit.py +25 -9
- ccxt/pro/woo.py +32 -12
- ccxt/pro/woofipro.py +35 -13
- ccxt/pro/xt.py +46 -26
- ccxt/probit.py +64 -22
- ccxt/timex.py +58 -19
- ccxt/tokocrypto.py +63 -22
- ccxt/tradeogre.py +7 -2
- ccxt/upbit.py +72 -25
- ccxt/vertex.py +74 -28
- ccxt/wavesexchange.py +29 -8
- ccxt/wazirx.py +51 -17
- ccxt/whitebit.py +105 -41
- ccxt/woo.py +162 -65
- ccxt/woofipro.py +118 -49
- ccxt/xt.py +150 -73
- ccxt/yobit.py +49 -16
- ccxt/zaif.py +30 -10
- ccxt/zonda.py +46 -16
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/RECORD +267 -267
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/pro/vertex.py
CHANGED
@@ -97,7 +97,9 @@ class vertex(ccxt.async_support.vertex):
|
|
97
97
|
async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
98
98
|
"""
|
99
99
|
watches information on multiple trades made in a market
|
100
|
-
|
100
|
+
|
101
|
+
https://docs.vertexprotocol.com/developer-resources/api/subscriptions/streams
|
102
|
+
|
101
103
|
:param str symbol: unified market symbol of the market trades were made in
|
102
104
|
:param int [since]: the earliest time in ms to fetch trades for
|
103
105
|
:param int [limit]: the maximum number of trade structures to retrieve
|
@@ -153,7 +155,9 @@ class vertex(ccxt.async_support.vertex):
|
|
153
155
|
async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
154
156
|
"""
|
155
157
|
watches information on multiple trades made by the user
|
156
|
-
|
158
|
+
|
159
|
+
https://docs.vertexprotocol.com/developer-resources/api/subscriptions/streams
|
160
|
+
|
157
161
|
:param str symbol: unified market symbol of the market orders were made in
|
158
162
|
:param int [since]: the earliest time in ms to fetch orders for
|
159
163
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -295,7 +299,9 @@ class vertex(ccxt.async_support.vertex):
|
|
295
299
|
|
296
300
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
297
301
|
"""
|
298
|
-
|
302
|
+
|
303
|
+
https://docs.vertexprotocol.com/developer-resources/api/subscriptions/streams
|
304
|
+
|
299
305
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
300
306
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
301
307
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -377,7 +383,9 @@ class vertex(ccxt.async_support.vertex):
|
|
377
383
|
|
378
384
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
379
385
|
"""
|
380
|
-
|
386
|
+
|
387
|
+
https://docs.vertexprotocol.com/developer-resources/api/subscriptions/streams
|
388
|
+
|
381
389
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
382
390
|
:param str symbol: unified symbol of the market to fetch the order book for
|
383
391
|
:param int [limit]: the maximum amount of order book entries to return.
|
@@ -537,9 +545,13 @@ class vertex(ccxt.async_support.vertex):
|
|
537
545
|
|
538
546
|
async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
|
539
547
|
"""
|
540
|
-
|
548
|
+
|
549
|
+
https://docs.vertexprotocol.com/developer-resources/api/subscriptions/streams
|
550
|
+
|
541
551
|
watch all open positions
|
542
552
|
:param str[]|None symbols: list of unified market symbols
|
553
|
+
@param since
|
554
|
+
@param limit
|
543
555
|
:param dict params: extra parameters specific to the exchange API endpoint
|
544
556
|
:param str [params.user]: user address, will default to self.walletAddress if not provided
|
545
557
|
:returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
|
@@ -752,7 +764,9 @@ class vertex(ccxt.async_support.vertex):
|
|
752
764
|
async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
753
765
|
"""
|
754
766
|
watches information on multiple orders made by the user
|
755
|
-
|
767
|
+
|
768
|
+
https://docs.vertexprotocol.com/developer-resources/api/subscriptions/streams
|
769
|
+
|
756
770
|
:param str symbol: unified market symbol of the market orders were made in
|
757
771
|
:param int [since]: the earliest time in ms to fetch orders for
|
758
772
|
:param int [limit]: the maximum number of order structures to retrieve
|
ccxt/pro/wazirx.py
CHANGED
@@ -51,7 +51,9 @@ class wazirx(ccxt.async_support.wazirx):
|
|
51
51
|
async def watch_balance(self, params={}) -> Balances:
|
52
52
|
"""
|
53
53
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
54
|
-
|
54
|
+
|
55
|
+
https://docs.wazirx.com/#account-update
|
56
|
+
|
55
57
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
56
58
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
57
59
|
"""
|
@@ -167,7 +169,9 @@ class wazirx(ccxt.async_support.wazirx):
|
|
167
169
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
168
170
|
"""
|
169
171
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
170
|
-
|
172
|
+
|
173
|
+
https://docs.wazirx.com/#all-market-tickers-stream
|
174
|
+
|
171
175
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
172
176
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
173
177
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -188,7 +192,9 @@ class wazirx(ccxt.async_support.wazirx):
|
|
188
192
|
async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
189
193
|
"""
|
190
194
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
191
|
-
|
195
|
+
|
196
|
+
https://docs.wazirx.com/#all-market-tickers-stream
|
197
|
+
|
192
198
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
193
199
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
194
200
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -284,7 +290,9 @@ class wazirx(ccxt.async_support.wazirx):
|
|
284
290
|
async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
285
291
|
"""
|
286
292
|
get the list of most recent trades for a particular symbol
|
287
|
-
|
293
|
+
|
294
|
+
https://docs.wazirx.com/#trade-streams
|
295
|
+
|
288
296
|
:param str symbol: unified symbol of the market to fetch trades for
|
289
297
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
290
298
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -345,7 +353,9 @@ class wazirx(ccxt.async_support.wazirx):
|
|
345
353
|
async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
346
354
|
"""
|
347
355
|
watch trades by user
|
348
|
-
|
356
|
+
|
357
|
+
https://docs.wazirx.com/#trade-update
|
358
|
+
|
349
359
|
:param str symbol: unified symbol of the market to fetch trades for
|
350
360
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
351
361
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -373,7 +383,9 @@ class wazirx(ccxt.async_support.wazirx):
|
|
373
383
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
374
384
|
"""
|
375
385
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
376
|
-
|
386
|
+
|
387
|
+
https://docs.wazirx.com/#kline-candlestick-stream
|
388
|
+
|
377
389
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
378
390
|
:param str timeframe: the length of time each candle represents
|
379
391
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -458,7 +470,9 @@ class wazirx(ccxt.async_support.wazirx):
|
|
458
470
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
459
471
|
"""
|
460
472
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
461
|
-
|
473
|
+
|
474
|
+
https://docs.wazirx.com/#depth-stream
|
475
|
+
|
462
476
|
:param str symbol: unified symbol of the market to fetch the order book for
|
463
477
|
:param int [limit]: the maximum amount of order book entries to return
|
464
478
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
ccxt/pro/whitebit.py
CHANGED
@@ -69,7 +69,9 @@ class whitebit(ccxt.async_support.whitebit):
|
|
69
69
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
70
70
|
"""
|
71
71
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
72
|
-
|
72
|
+
|
73
|
+
https://docs.whitebit.com/public/websocket/#kline
|
74
|
+
|
73
75
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
74
76
|
:param str timeframe: the length of time each candle represents
|
75
77
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -138,7 +140,9 @@ class whitebit(ccxt.async_support.whitebit):
|
|
138
140
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
139
141
|
"""
|
140
142
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
141
|
-
|
143
|
+
|
144
|
+
https://docs.whitebit.com/public/websocket/#market-depth
|
145
|
+
|
142
146
|
:param str symbol: unified symbol of the market to fetch the order book for
|
143
147
|
:param int [limit]: the maximum amount of order book entries to return
|
144
148
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -237,7 +241,9 @@ class whitebit(ccxt.async_support.whitebit):
|
|
237
241
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
238
242
|
"""
|
239
243
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
240
|
-
|
244
|
+
|
245
|
+
https://docs.whitebit.com/public/websocket/#market-statistics
|
246
|
+
|
241
247
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
242
248
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
243
249
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -253,7 +259,9 @@ class whitebit(ccxt.async_support.whitebit):
|
|
253
259
|
async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
254
260
|
"""
|
255
261
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
256
|
-
|
262
|
+
|
263
|
+
https://docs.whitebit.com/public/websocket/#market-statistics
|
264
|
+
|
257
265
|
:param str[] [symbols]: unified symbol of the market to fetch the ticker for
|
258
266
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
259
267
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -327,7 +335,9 @@ class whitebit(ccxt.async_support.whitebit):
|
|
327
335
|
async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
328
336
|
"""
|
329
337
|
get the list of most recent trades for a particular symbol
|
330
|
-
|
338
|
+
|
339
|
+
https://docs.whitebit.com/public/websocket/#market-trades
|
340
|
+
|
331
341
|
:param str symbol: unified symbol of the market to fetch trades for
|
332
342
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
333
343
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -389,7 +399,9 @@ class whitebit(ccxt.async_support.whitebit):
|
|
389
399
|
async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
390
400
|
"""
|
391
401
|
watches trades made by the user
|
392
|
-
|
402
|
+
|
403
|
+
https://docs.whitebit.com/private/websocket/#deals
|
404
|
+
|
393
405
|
:param str symbol: unified market symbol
|
394
406
|
:param int [since]: the earliest time in ms to fetch trades for
|
395
407
|
:param int [limit]: the maximum number of trades structures to retrieve
|
@@ -483,7 +495,9 @@ class whitebit(ccxt.async_support.whitebit):
|
|
483
495
|
async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
484
496
|
"""
|
485
497
|
watches information on multiple orders made by the user
|
486
|
-
|
498
|
+
|
499
|
+
https://docs.whitebit.com/private/websocket/#orders-pending
|
500
|
+
|
487
501
|
:param str symbol: unified market symbol of the market orders were made in
|
488
502
|
:param int [since]: the earliest time in ms to fetch orders for
|
489
503
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -647,8 +661,10 @@ class whitebit(ccxt.async_support.whitebit):
|
|
647
661
|
async def watch_balance(self, params={}) -> Balances:
|
648
662
|
"""
|
649
663
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
650
|
-
|
651
|
-
|
664
|
+
|
665
|
+
https://docs.whitebit.com/private/websocket/#balance-spot
|
666
|
+
https://docs.whitebit.com/private/websocket/#balance-margin
|
667
|
+
|
652
668
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
653
669
|
:param str [params.type]: spot or contract if not provided self.options['defaultType'] is used
|
654
670
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
ccxt/pro/woo.py
CHANGED
@@ -92,8 +92,10 @@ class woo(ccxt.async_support.woo):
|
|
92
92
|
|
93
93
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
94
94
|
"""
|
95
|
-
|
96
|
-
|
95
|
+
|
96
|
+
https://docs.woo.org/#orderbookupdate
|
97
|
+
https://docs.woo.org/#orderbook
|
98
|
+
|
97
99
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
98
100
|
:param str symbol: unified symbol of the market to fetch the order book for
|
99
101
|
:param int [limit]: the maximum amount of order book entries to return.
|
@@ -324,7 +326,9 @@ class woo(ccxt.async_support.woo):
|
|
324
326
|
|
325
327
|
async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
326
328
|
"""
|
327
|
-
|
329
|
+
|
330
|
+
https://docs.woo.org/#24h-tickers
|
331
|
+
|
328
332
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
329
333
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
330
334
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -386,7 +390,9 @@ class woo(ccxt.async_support.woo):
|
|
386
390
|
|
387
391
|
async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
|
388
392
|
"""
|
389
|
-
|
393
|
+
|
394
|
+
https://docs.woox.io/#bbos
|
395
|
+
|
390
396
|
watches best bid & ask for symbols
|
391
397
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
392
398
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -454,7 +460,9 @@ class woo(ccxt.async_support.woo):
|
|
454
460
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
455
461
|
"""
|
456
462
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
457
|
-
|
463
|
+
|
464
|
+
https://docs.woo.org/#k-line
|
465
|
+
|
458
466
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
459
467
|
:param str timeframe: the length of time each candle represents
|
460
468
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -525,7 +533,9 @@ class woo(ccxt.async_support.woo):
|
|
525
533
|
async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
526
534
|
"""
|
527
535
|
watches information on multiple trades made in a market
|
528
|
-
|
536
|
+
|
537
|
+
https://docs.woo.org/#trade
|
538
|
+
|
529
539
|
:param str symbol: unified market symbol of the market trades were made in
|
530
540
|
:param int [since]: the earliest time in ms to fetch trades for
|
531
541
|
:param int [limit]: the maximum number of trade structures to retrieve
|
@@ -705,8 +715,10 @@ class woo(ccxt.async_support.woo):
|
|
705
715
|
|
706
716
|
async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
707
717
|
"""
|
708
|
-
|
709
|
-
|
718
|
+
|
719
|
+
https://docs.woo.org/#executionreport
|
720
|
+
https://docs.woo.org/#algoexecutionreportv2
|
721
|
+
|
710
722
|
watches information on multiple orders made by the user
|
711
723
|
:param str symbol: unified market symbol of the market orders were made in
|
712
724
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -736,8 +748,10 @@ class woo(ccxt.async_support.woo):
|
|
736
748
|
|
737
749
|
async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
738
750
|
"""
|
739
|
-
|
740
|
-
|
751
|
+
|
752
|
+
https://docs.woo.org/#executionreport
|
753
|
+
https://docs.woo.org/#algoexecutionreportv2
|
754
|
+
|
741
755
|
watches information on multiple trades made by the user
|
742
756
|
:param str symbol: unified market symbol of the market orders were made in
|
743
757
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -959,9 +973,13 @@ class woo(ccxt.async_support.woo):
|
|
959
973
|
|
960
974
|
async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
|
961
975
|
"""
|
962
|
-
|
976
|
+
|
977
|
+
https://docs.woo.org/#position-push
|
978
|
+
|
963
979
|
watch all open positions
|
964
980
|
:param str[]|None symbols: list of unified market symbols
|
981
|
+
@param since
|
982
|
+
@param limit
|
965
983
|
:param dict params: extra parameters specific to the exchange API endpoint
|
966
984
|
:returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
|
967
985
|
"""
|
@@ -1061,7 +1079,9 @@ class woo(ccxt.async_support.woo):
|
|
1061
1079
|
|
1062
1080
|
async def watch_balance(self, params={}) -> Balances:
|
1063
1081
|
"""
|
1064
|
-
|
1082
|
+
|
1083
|
+
https://docs.woo.org/#balance
|
1084
|
+
|
1065
1085
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
1066
1086
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1067
1087
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
620
|
-
|
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
|
-
|
651
|
-
|
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
|
-
|
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[]
|
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
|
-
|
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
|
-
|
58
|
+
@ignore
|
59
59
|
required for private endpoints
|
60
60
|
:param str isContract: True for contract trades
|
61
|
-
|
62
|
-
|
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
|
-
|
138
|
+
@ignore
|
137
139
|
Connects to a websocket channel
|
138
|
-
|
139
|
-
|
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
|
-
|
181
|
-
|
182
|
-
|
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
|
-
|
200
|
-
|
201
|
-
|
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
|
-
|
223
|
-
|
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
|
-
|
243
|
-
|
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
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
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
|
-
|
285
|
-
|
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
|
-
|
306
|
-
|
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
|
-
|
327
|
-
|
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
|
"""
|