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.
- 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/base/ws/aiohttp_client.py +25 -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 -22
- 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 +313 -157
- ccxt/async_support/gemini.py +57 -20
- ccxt/async_support/hashkey.py +151 -66
- ccxt/async_support/hitbtc.py +157 -74
- 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 +54 -17
- ccxt/async_support/kraken.py +108 -36
- ccxt/async_support/krakenfutures.py +88 -34
- ccxt/async_support/kucoin.py +214 -110
- ccxt/async_support/kucoinfutures.py +209 -64
- 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 +108 -56
- 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 +32 -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 +119 -50
- 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 +47 -35
- 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 -22
- 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 +313 -157
- ccxt/gemini.py +57 -20
- ccxt/hashkey.py +151 -66
- ccxt/hitbtc.py +157 -74
- 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 +54 -17
- ccxt/kraken.py +108 -36
- ccxt/krakenfutures.py +88 -34
- ccxt/kucoin.py +214 -110
- ccxt/kucoinfutures.py +209 -64
- 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 +108 -56
- 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 +204 -123
- ccxt/pro/bingx.py +44 -24
- ccxt/pro/bitfinex.py +13 -5
- ccxt/pro/bitget.py +76 -37
- 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 +97 -62
- 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 +71 -27
- ccxt/pro/deribit.py +36 -12
- ccxt/pro/exmo.py +10 -4
- ccxt/pro/gate.py +65 -31
- ccxt/pro/gemini.py +21 -7
- ccxt/pro/hashkey.py +27 -9
- 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 +36 -19
- 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 +32 -8
- ccxt/wazirx.py +51 -17
- ccxt/whitebit.py +105 -41
- ccxt/woo.py +162 -65
- ccxt/woofipro.py +119 -50
- 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.32.dist-info}/METADATA +11 -5
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/RECORD +268 -268
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/WHEEL +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/top_level.txt +0 -0
ccxt/pro/poloniexfutures.py
CHANGED
@@ -137,7 +137,7 @@ class poloniexfutures(ccxt.async_support.poloniexfutures):
|
|
137
137
|
|
138
138
|
async def subscribe(self, name: str, isPrivate: bool, symbol: Str = None, subscription=None, params={}):
|
139
139
|
"""
|
140
|
-
|
140
|
+
@ignore
|
141
141
|
Connects to a websocket channel
|
142
142
|
:param str name: name of the channel and suscriptionHash
|
143
143
|
:param bool isPrivate: True for the authenticated url, False for the public url
|
@@ -235,7 +235,9 @@ class poloniexfutures(ccxt.async_support.poloniexfutures):
|
|
235
235
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
236
236
|
"""
|
237
237
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
238
|
-
|
238
|
+
|
239
|
+
https://api-docs.poloniex.com/futures/websocket/public#get-real-time-symbol-ticker
|
240
|
+
|
239
241
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
240
242
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
241
243
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -248,7 +250,9 @@ class poloniexfutures(ccxt.async_support.poloniexfutures):
|
|
248
250
|
async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
249
251
|
"""
|
250
252
|
get the list of most recent trades for a particular symbol
|
251
|
-
|
253
|
+
|
254
|
+
https://api-docs.poloniex.com/futures/websocket/public#full-matching-engine-datalevel-3
|
255
|
+
|
252
256
|
:param str symbol: unified symbol of the market to fetch trades for
|
253
257
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
254
258
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -268,7 +272,9 @@ class poloniexfutures(ccxt.async_support.poloniexfutures):
|
|
268
272
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
269
273
|
"""
|
270
274
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
271
|
-
|
275
|
+
|
276
|
+
https://api-docs.poloniex.com/futures/websocket/public#level-2-market-data
|
277
|
+
|
272
278
|
:param str symbol: unified symbol of the market to fetch the order book for
|
273
279
|
:param int [limit]: not used by poloniexfutures watchOrderBook
|
274
280
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -294,7 +300,9 @@ class poloniexfutures(ccxt.async_support.poloniexfutures):
|
|
294
300
|
async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
295
301
|
"""
|
296
302
|
watches information on multiple orders made by the user
|
297
|
-
|
303
|
+
|
304
|
+
https://api-docs.poloniex.com/futures/websocket/user-messages#private-messages
|
305
|
+
|
298
306
|
:param str symbol: filter by unified market symbol of the market orders were made in
|
299
307
|
:param int [since]: the earliest time in ms to fetch orders for
|
300
308
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -317,7 +325,9 @@ class poloniexfutures(ccxt.async_support.poloniexfutures):
|
|
317
325
|
async def watch_balance(self, params={}) -> Balances:
|
318
326
|
"""
|
319
327
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
320
|
-
|
328
|
+
|
329
|
+
https://api-docs.poloniex.com/futures/websocket/user-messages#account-balance-events
|
330
|
+
|
321
331
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
322
332
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
323
333
|
"""
|
@@ -514,7 +524,7 @@ class poloniexfutures(ccxt.async_support.poloniexfutures):
|
|
514
524
|
|
515
525
|
def parse_order_status(self, status: str, type: str):
|
516
526
|
"""
|
517
|
-
|
527
|
+
@ignore
|
518
528
|
:param str status: "match", "open", "done"
|
519
529
|
:param str type: "open", "match", "filled", "canceled", "update"
|
520
530
|
:returns str:
|
ccxt/pro/probit.py
CHANGED
@@ -58,7 +58,9 @@ class probit(ccxt.async_support.probit):
|
|
58
58
|
async def watch_balance(self, params={}) -> Balances:
|
59
59
|
"""
|
60
60
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
61
|
-
|
61
|
+
|
62
|
+
https://docs-en.probit.com/reference/balance-1
|
63
|
+
|
62
64
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
63
65
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
64
66
|
"""
|
@@ -120,7 +122,9 @@ class probit(ccxt.async_support.probit):
|
|
120
122
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
121
123
|
"""
|
122
124
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
123
|
-
|
125
|
+
|
126
|
+
https://docs-en.probit.com/reference/marketdata
|
127
|
+
|
124
128
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
125
129
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
126
130
|
:param int [params.interval]: Unit time to synchronize market information(ms). Available units: 100, 500
|
@@ -161,7 +165,9 @@ class probit(ccxt.async_support.probit):
|
|
161
165
|
async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
162
166
|
"""
|
163
167
|
get the list of most recent trades for a particular symbol
|
164
|
-
|
168
|
+
|
169
|
+
https://docs-en.probit.com/reference/trade_history
|
170
|
+
|
165
171
|
:param str symbol: unified symbol of the market to fetch trades for
|
166
172
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
167
173
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -218,7 +224,9 @@ class probit(ccxt.async_support.probit):
|
|
218
224
|
async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
219
225
|
"""
|
220
226
|
get the list of trades associated with the user
|
221
|
-
|
227
|
+
|
228
|
+
https://docs-en.probit.com/reference/trade_history
|
229
|
+
|
222
230
|
:param str symbol: unified symbol of the market to fetch trades for
|
223
231
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
224
232
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -291,7 +299,9 @@ class probit(ccxt.async_support.probit):
|
|
291
299
|
async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
292
300
|
"""
|
293
301
|
watches information on an order made by the user
|
294
|
-
|
302
|
+
|
303
|
+
https://docs-en.probit.com/reference/open_order
|
304
|
+
|
295
305
|
:param str symbol: unified symbol of the market the order was made in
|
296
306
|
:param int [since]: timestamp in ms of the earliest order to watch
|
297
307
|
:param int [limit]: the maximum amount of orders to watch
|
@@ -370,7 +380,9 @@ class probit(ccxt.async_support.probit):
|
|
370
380
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
371
381
|
"""
|
372
382
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
373
|
-
|
383
|
+
|
384
|
+
https://docs-en.probit.com/reference/marketdata
|
385
|
+
|
374
386
|
:param str symbol: unified symbol of the market to fetch the order book for
|
375
387
|
:param int [limit]: the maximum amount of order book entries to return
|
376
388
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
ccxt/pro/upbit.py
CHANGED
@@ -89,7 +89,9 @@ class upbit(ccxt.async_support.upbit):
|
|
89
89
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
90
90
|
"""
|
91
91
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
92
|
-
|
92
|
+
|
93
|
+
https://global-docs.upbit.com/reference/websocket-ticker
|
94
|
+
|
93
95
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
94
96
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
95
97
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -99,8 +101,10 @@ class upbit(ccxt.async_support.upbit):
|
|
99
101
|
async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
100
102
|
"""
|
101
103
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
102
|
-
|
103
|
-
|
104
|
+
|
105
|
+
https://global-docs.upbit.com/reference/websocket-ticker
|
106
|
+
|
107
|
+
@param symbols
|
104
108
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
105
109
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
106
110
|
"""
|
@@ -114,7 +118,9 @@ class upbit(ccxt.async_support.upbit):
|
|
114
118
|
async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
115
119
|
"""
|
116
120
|
get the list of most recent trades for a particular symbol
|
117
|
-
|
121
|
+
|
122
|
+
https://global-docs.upbit.com/reference/websocket-trade
|
123
|
+
|
118
124
|
:param str symbol: unified symbol of the market to fetch trades for
|
119
125
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
120
126
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -126,7 +132,9 @@ class upbit(ccxt.async_support.upbit):
|
|
126
132
|
async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
127
133
|
"""
|
128
134
|
get the list of most recent trades for a list of symbols
|
129
|
-
|
135
|
+
|
136
|
+
https://global-docs.upbit.com/reference/websocket-trade
|
137
|
+
|
130
138
|
:param str[] symbols: unified symbol of the market to fetch trades for
|
131
139
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
132
140
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -171,7 +179,9 @@ class upbit(ccxt.async_support.upbit):
|
|
171
179
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
172
180
|
"""
|
173
181
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
174
|
-
|
182
|
+
|
183
|
+
https://global-docs.upbit.com/reference/websocket-orderbook
|
184
|
+
|
175
185
|
:param str symbol: unified symbol of the market to fetch the order book for
|
176
186
|
:param int [limit]: the maximum amount of order book entries to return
|
177
187
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -352,7 +362,9 @@ class upbit(ccxt.async_support.upbit):
|
|
352
362
|
async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
353
363
|
"""
|
354
364
|
watches information on multiple orders made by the user
|
355
|
-
|
365
|
+
|
366
|
+
https://global-docs.upbit.com/reference/websocket-myorder
|
367
|
+
|
356
368
|
:param str symbol: unified market symbol of the market orders were made in
|
357
369
|
:param int [since]: the earliest time in ms to fetch orders for
|
358
370
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -370,7 +382,9 @@ class upbit(ccxt.async_support.upbit):
|
|
370
382
|
async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
371
383
|
"""
|
372
384
|
watches information on multiple trades made by the user
|
373
|
-
|
385
|
+
|
386
|
+
https://global-docs.upbit.com/reference/websocket-myorder
|
387
|
+
|
374
388
|
:param str symbol: unified market symbol of the market orders were made in
|
375
389
|
:param int [since]: the earliest time in ms to fetch orders for
|
376
390
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -543,7 +557,9 @@ class upbit(ccxt.async_support.upbit):
|
|
543
557
|
|
544
558
|
async def watch_balance(self, params={}) -> Balances:
|
545
559
|
"""
|
546
|
-
|
560
|
+
|
561
|
+
https://global-docs.upbit.com/reference/websocket-myasset
|
562
|
+
|
547
563
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
548
564
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
549
565
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
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>`
|