ccxt 4.1.19__py2.py3-none-any.whl → 4.1.22__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/abstract/okcoin.py +70 -206
- ccxt/ace.py +12 -12
- ccxt/ascendex.py +5 -5
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +12 -12
- ccxt/async_support/ascendex.py +5 -5
- ccxt/async_support/base/exchange.py +1 -1
- ccxt/async_support/bigone.py +2 -2
- ccxt/async_support/binance.py +184 -184
- ccxt/async_support/bingx.py +48 -48
- ccxt/async_support/bitbank.py +14 -14
- ccxt/async_support/bitbns.py +7 -7
- ccxt/async_support/bitfinex.py +2 -2
- ccxt/async_support/bitfinex2.py +35 -35
- ccxt/async_support/bitflyer.py +17 -17
- ccxt/async_support/bitforex.py +9 -9
- ccxt/async_support/bitget.py +433 -215
- ccxt/async_support/bitmart.py +39 -39
- ccxt/async_support/bitmex.py +7 -7
- ccxt/async_support/bitopro.py +1 -1
- ccxt/async_support/bitpanda.py +1 -1
- ccxt/async_support/bitrue.py +2 -2
- ccxt/async_support/bitso.py +2 -2
- ccxt/async_support/bitstamp.py +3 -3
- ccxt/async_support/bitvavo.py +2 -2
- ccxt/async_support/bl3p.py +1 -1
- ccxt/async_support/btcalpha.py +7 -7
- ccxt/async_support/btcturk.py +1 -1
- ccxt/async_support/bybit.py +58 -58
- ccxt/async_support/cex.py +1 -1
- ccxt/async_support/coinbase.py +13 -13
- ccxt/async_support/coinbasepro.py +15 -15
- ccxt/async_support/coinex.py +19 -19
- ccxt/async_support/coinone.py +2 -2
- ccxt/async_support/coinsph.py +4 -4
- ccxt/async_support/coinspot.py +2 -2
- ccxt/async_support/cryptocom.py +28 -28
- ccxt/async_support/currencycom.py +1 -1
- ccxt/async_support/delta.py +26 -26
- ccxt/async_support/deribit.py +9 -9
- ccxt/async_support/digifinex.py +38 -38
- ccxt/async_support/exmo.py +18 -18
- ccxt/async_support/gate.py +59 -59
- ccxt/async_support/gemini.py +4 -4
- ccxt/async_support/hitbtc.py +6 -6
- ccxt/async_support/hollaex.py +2 -2
- ccxt/async_support/huobi.py +70 -70
- ccxt/async_support/indodax.py +1 -1
- ccxt/async_support/kraken.py +33 -33
- ccxt/async_support/krakenfutures.py +6 -5
- ccxt/async_support/kucoin.py +74 -74
- ccxt/async_support/kucoinfutures.py +8 -8
- ccxt/async_support/latoken.py +14 -14
- ccxt/async_support/lbank2.py +33 -33
- ccxt/async_support/mexc.py +22 -22
- ccxt/async_support/ndax.py +1 -1
- ccxt/async_support/novadax.py +22 -22
- ccxt/async_support/oceanex.py +18 -18
- ccxt/async_support/okcoin.py +1950 -2758
- ccxt/async_support/okx.py +73 -73
- ccxt/async_support/paymium.py +11 -11
- ccxt/async_support/phemex.py +26 -26
- ccxt/async_support/poloniex.py +30 -30
- ccxt/async_support/poloniexfutures.py +25 -25
- ccxt/async_support/probit.py +21 -21
- ccxt/async_support/tokocrypto.py +22 -22
- ccxt/async_support/upbit.py +21 -21
- ccxt/async_support/wavesexchange.py +2 -2
- ccxt/async_support/wazirx.py +14 -14
- ccxt/async_support/whitebit.py +6 -6
- ccxt/async_support/woo.py +21 -21
- ccxt/async_support/yobit.py +16 -16
- ccxt/async_support/zaif.py +10 -10
- ccxt/async_support/zonda.py +15 -15
- ccxt/base/exchange.py +2 -1
- ccxt/bigone.py +2 -2
- ccxt/binance.py +184 -184
- ccxt/bingx.py +48 -48
- ccxt/bitbank.py +14 -14
- ccxt/bitbns.py +7 -7
- ccxt/bitfinex.py +2 -2
- ccxt/bitfinex2.py +35 -35
- ccxt/bitflyer.py +17 -17
- ccxt/bitforex.py +9 -9
- ccxt/bitget.py +433 -215
- ccxt/bitmart.py +39 -39
- ccxt/bitmex.py +7 -7
- ccxt/bitopro.py +1 -1
- ccxt/bitpanda.py +1 -1
- ccxt/bitrue.py +2 -2
- ccxt/bitso.py +2 -2
- ccxt/bitstamp.py +3 -3
- ccxt/bitvavo.py +2 -2
- ccxt/bl3p.py +1 -1
- ccxt/btcalpha.py +7 -7
- ccxt/btcturk.py +1 -1
- ccxt/bybit.py +58 -58
- ccxt/cex.py +1 -1
- ccxt/coinbase.py +13 -13
- ccxt/coinbasepro.py +15 -15
- ccxt/coinex.py +19 -19
- ccxt/coinone.py +2 -2
- ccxt/coinsph.py +4 -4
- ccxt/coinspot.py +2 -2
- ccxt/cryptocom.py +28 -28
- ccxt/currencycom.py +1 -1
- ccxt/delta.py +26 -26
- ccxt/deribit.py +9 -9
- ccxt/digifinex.py +38 -38
- ccxt/exmo.py +18 -18
- ccxt/gate.py +59 -59
- ccxt/gemini.py +4 -4
- ccxt/hitbtc.py +6 -6
- ccxt/hollaex.py +2 -2
- ccxt/huobi.py +70 -70
- ccxt/indodax.py +1 -1
- ccxt/kraken.py +33 -33
- ccxt/krakenfutures.py +6 -5
- ccxt/kucoin.py +74 -74
- ccxt/kucoinfutures.py +8 -8
- ccxt/latoken.py +14 -14
- ccxt/lbank2.py +33 -33
- ccxt/mexc.py +22 -22
- ccxt/ndax.py +1 -1
- ccxt/novadax.py +22 -22
- ccxt/oceanex.py +18 -18
- ccxt/okcoin.py +1950 -2758
- ccxt/okx.py +73 -73
- ccxt/paymium.py +11 -11
- ccxt/phemex.py +26 -26
- ccxt/poloniex.py +30 -30
- ccxt/poloniexfutures.py +25 -25
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/ascendex.py +1 -1
- ccxt/pro/binance.py +9 -9
- ccxt/pro/bingx.py +12 -12
- ccxt/pro/bitget.py +2 -2
- ccxt/pro/bitpanda.py +7 -7
- ccxt/pro/bitrue.py +2 -2
- ccxt/pro/blockchaincom.py +6 -6
- ccxt/pro/bybit.py +15 -15
- ccxt/pro/cex.py +8 -8
- ccxt/pro/coinbase.py +6 -6
- ccxt/pro/coinbasepro.py +1 -1
- ccxt/pro/coinex.py +8 -8
- ccxt/pro/cryptocom.py +12 -12
- ccxt/pro/deribit.py +7 -7
- ccxt/pro/gemini.py +4 -4
- ccxt/pro/hitbtc.py +17 -17
- ccxt/pro/huobi.py +3 -3
- ccxt/pro/kraken.py +6 -6
- ccxt/pro/krakenfutures.py +10 -10
- ccxt/pro/kucoin.py +85 -42
- ccxt/pro/kucoinfutures.py +5 -5
- ccxt/pro/luno.py +1 -1
- ccxt/pro/mexc.py +7 -7
- ccxt/pro/okx.py +16 -15
- ccxt/pro/phemex.py +15 -15
- ccxt/pro/poloniex.py +9 -9
- ccxt/pro/poloniexfutures.py +5 -5
- ccxt/pro/probit.py +5 -5
- ccxt/pro/wazirx.py +5 -5
- ccxt/pro/woo.py +1 -1
- ccxt/probit.py +21 -21
- ccxt/test/base/test_shared_methods.py +1 -1
- ccxt/tokocrypto.py +22 -22
- ccxt/upbit.py +21 -21
- ccxt/wavesexchange.py +2 -2
- ccxt/wazirx.py +14 -14
- ccxt/whitebit.py +6 -6
- ccxt/woo.py +21 -21
- ccxt/yobit.py +16 -16
- ccxt/zaif.py +10 -10
- ccxt/zonda.py +15 -15
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/METADATA +5 -9
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/RECORD +179 -179
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/WHEEL +0 -0
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/top_level.txt +0 -0
ccxt/pro/binance.py
CHANGED
@@ -1244,7 +1244,7 @@ class binance(ccxt.async_support.binance):
|
|
1244
1244
|
async def fetch_balance_ws(self, params={}):
|
1245
1245
|
"""
|
1246
1246
|
fetch balance and get the amount of funds available for trading or funds locked in orders
|
1247
|
-
see https://binance-docs.github.io/apidocs/websocket_api/en/#account-information-user_data
|
1247
|
+
:see: https://binance-docs.github.io/apidocs/websocket_api/en/#account-information-user_data
|
1248
1248
|
:param dict [params]: extra parameters specific to the binance api endpoint
|
1249
1249
|
:param str|None [params.type]: 'future', 'delivery', 'savings', 'funding', or 'spot'
|
1250
1250
|
:param str|None [params.marginMode]: 'cross' or 'isolated', for margin trading, uses self.options.defaultMarginMode if not passed, defaults to None/None/None
|
@@ -1464,7 +1464,7 @@ class binance(ccxt.async_support.binance):
|
|
1464
1464
|
|
1465
1465
|
async def create_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Optional[float] = None, params={}):
|
1466
1466
|
"""
|
1467
|
-
see https://binance-docs.github.io/apidocs/websocket_api/en/#place-new-order-trade
|
1467
|
+
:see: https://binance-docs.github.io/apidocs/websocket_api/en/#place-new-order-trade
|
1468
1468
|
create a trade order
|
1469
1469
|
:param str symbol: unified symbol of the market to create an order in
|
1470
1470
|
:param str type: 'market' or 'limit'
|
@@ -1596,7 +1596,7 @@ class binance(ccxt.async_support.binance):
|
|
1596
1596
|
async def edit_order_ws(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Optional[float] = None, params={}):
|
1597
1597
|
"""
|
1598
1598
|
edit a trade order
|
1599
|
-
see https://binance-docs.github.io/apidocs/websocket_api/en/#cancel-and-replace-order-trade
|
1599
|
+
:see: https://binance-docs.github.io/apidocs/websocket_api/en/#cancel-and-replace-order-trade
|
1600
1600
|
:param str id: order id
|
1601
1601
|
:param str symbol: unified symbol of the market to create an order in
|
1602
1602
|
:param str type: 'market' or 'limit'
|
@@ -1700,7 +1700,7 @@ class binance(ccxt.async_support.binance):
|
|
1700
1700
|
|
1701
1701
|
async def cancel_order_ws(self, id: str, symbol: Optional[str] = None, params={}):
|
1702
1702
|
"""
|
1703
|
-
see https://binance-docs.github.io/apidocs/websocket_api/en/#cancel-order-trade
|
1703
|
+
:see: https://binance-docs.github.io/apidocs/websocket_api/en/#cancel-order-trade
|
1704
1704
|
cancel multiple orders
|
1705
1705
|
:param str id: order id
|
1706
1706
|
:param str symbol: unified market symbol, default is None
|
@@ -1739,7 +1739,7 @@ class binance(ccxt.async_support.binance):
|
|
1739
1739
|
|
1740
1740
|
async def cancel_all_orders_ws(self, symbol: Optional[str] = None, params={}):
|
1741
1741
|
"""
|
1742
|
-
see https://binance-docs.github.io/apidocs/websocket_api/en/#current-open-orders-user_data
|
1742
|
+
:see: https://binance-docs.github.io/apidocs/websocket_api/en/#current-open-orders-user_data
|
1743
1743
|
cancel all open orders in a market
|
1744
1744
|
:param str symbol: unified market symbol of the market to cancel orders in
|
1745
1745
|
:param dict [params]: extra parameters specific to the binance api endpoint
|
@@ -1767,7 +1767,7 @@ class binance(ccxt.async_support.binance):
|
|
1767
1767
|
|
1768
1768
|
async def fetch_order_ws(self, id: str, symbol: Optional[str] = None, params={}):
|
1769
1769
|
"""
|
1770
|
-
see https://binance-docs.github.io/apidocs/websocket_api/en/#query-order-user_data
|
1770
|
+
:see: https://binance-docs.github.io/apidocs/websocket_api/en/#query-order-user_data
|
1771
1771
|
fetches information on an order made by the user
|
1772
1772
|
:param str symbol: unified symbol of the market the order was made in
|
1773
1773
|
:param dict params: extra parameters specific to the binance api endpoint
|
@@ -1803,7 +1803,7 @@ class binance(ccxt.async_support.binance):
|
|
1803
1803
|
|
1804
1804
|
async def fetch_orders_ws(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1805
1805
|
"""
|
1806
|
-
see https://binance-docs.github.io/apidocs/websocket_api/en/#account-order-history-user_data
|
1806
|
+
:see: https://binance-docs.github.io/apidocs/websocket_api/en/#account-order-history-user_data
|
1807
1807
|
fetches information on multiple orders made by the user
|
1808
1808
|
:param str symbol: unified market symbol of the market orders were made in
|
1809
1809
|
:param int|None [since]: the earliest time in ms to fetch orders for
|
@@ -1841,7 +1841,7 @@ class binance(ccxt.async_support.binance):
|
|
1841
1841
|
|
1842
1842
|
async def fetch_open_orders_ws(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1843
1843
|
"""
|
1844
|
-
see https://binance-docs.github.io/apidocs/websocket_api/en/#current-open-orders-user_data
|
1844
|
+
:see: https://binance-docs.github.io/apidocs/websocket_api/en/#current-open-orders-user_data
|
1845
1845
|
fetch all unfilled currently open orders
|
1846
1846
|
:param str symbol: unified market symbol
|
1847
1847
|
:param int|None [since]: the earliest time in ms to fetch open orders for
|
@@ -2142,7 +2142,7 @@ class binance(ccxt.async_support.binance):
|
|
2142
2142
|
|
2143
2143
|
async def fetch_my_trades_ws(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2144
2144
|
"""
|
2145
|
-
see https://binance-docs.github.io/apidocs/websocket_api/en/#account-trade-history-user_data
|
2145
|
+
:see: https://binance-docs.github.io/apidocs/websocket_api/en/#account-trade-history-user_data
|
2146
2146
|
fetch all trades made by the user
|
2147
2147
|
:param str symbol: unified market symbol
|
2148
2148
|
:param int|None [since]: the earliest time in ms to fetch trades for
|
ccxt/pro/bingx.py
CHANGED
@@ -74,8 +74,8 @@ class bingx(ccxt.async_support.bingx):
|
|
74
74
|
async def watch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
75
75
|
"""
|
76
76
|
watches information on multiple trades made in a market
|
77
|
-
see https://bingx-api.github.io/docs/#/spot/socket/market.html#Subscribe%20to%20tick-by-tick
|
78
|
-
see https://bingx-api.github.io/docs/#/swapV2/socket/market.html#Subscribe%20the%20Latest%20Trade%20Detail
|
77
|
+
:see: https://bingx-api.github.io/docs/#/spot/socket/market.html#Subscribe%20to%20tick-by-tick
|
78
|
+
:see: https://bingx-api.github.io/docs/#/swapV2/socket/market.html#Subscribe%20the%20Latest%20Trade%20Detail
|
79
79
|
:param str symbol: unified market symbol of the market orders were made in
|
80
80
|
:param int [since]: the earliest time in ms to fetch orders for
|
81
81
|
:param int [limit]: the maximum number of orde structures to retrieve
|
@@ -184,8 +184,8 @@ class bingx(ccxt.async_support.bingx):
|
|
184
184
|
async def watch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
185
185
|
"""
|
186
186
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
187
|
-
see https://bingx-api.github.io/docs/#/spot/socket/market.html#Subscribe%20Market%20Depth%20Data
|
188
|
-
see https://bingx-api.github.io/docs/#/swapV2/socket/market.html#Subscribe%20Market%20Depth%20Data
|
187
|
+
:see: https://bingx-api.github.io/docs/#/spot/socket/market.html#Subscribe%20Market%20Depth%20Data
|
188
|
+
:see: https://bingx-api.github.io/docs/#/swapV2/socket/market.html#Subscribe%20Market%20Depth%20Data
|
189
189
|
:param str symbol: unified symbol of the market to fetch the order book for
|
190
190
|
:param int [limit]: the maximum amount of order book entries to return
|
191
191
|
:param dict [params]: extra parameters specific to the bingx api endpoint
|
@@ -368,8 +368,8 @@ class bingx(ccxt.async_support.bingx):
|
|
368
368
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
369
369
|
"""
|
370
370
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
371
|
-
see https://bingx-api.github.io/docs/#/spot/socket/market.html#K%E7%BA%BF%20Streams
|
372
|
-
see https://bingx-api.github.io/docs/#/swapV2/socket/market.html#Subscribe%20K-Line%20Data
|
371
|
+
:see: https://bingx-api.github.io/docs/#/spot/socket/market.html#K%E7%BA%BF%20Streams
|
372
|
+
:see: https://bingx-api.github.io/docs/#/swapV2/socket/market.html#Subscribe%20K-Line%20Data
|
373
373
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
374
374
|
:param str timeframe: the length of time each candle represents
|
375
375
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -400,8 +400,8 @@ class bingx(ccxt.async_support.bingx):
|
|
400
400
|
|
401
401
|
async def watch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
402
402
|
"""
|
403
|
-
see https://bingx-api.github.io/docs/#/spot/socket/account.html#Subscription%20order%20update%20data
|
404
|
-
see https://bingx-api.github.io/docs/#/swapV2/socket/account.html#Account%20balance%20and%20position%20update%20push
|
403
|
+
:see: https://bingx-api.github.io/docs/#/spot/socket/account.html#Subscription%20order%20update%20data
|
404
|
+
:see: https://bingx-api.github.io/docs/#/swapV2/socket/account.html#Account%20balance%20and%20position%20update%20push
|
405
405
|
watches information on multiple orders made by the user
|
406
406
|
:param str symbol: unified market symbol of the market orders were made in
|
407
407
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -441,8 +441,8 @@ class bingx(ccxt.async_support.bingx):
|
|
441
441
|
|
442
442
|
async def watch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
443
443
|
"""
|
444
|
-
see https://bingx-api.github.io/docs/#/spot/socket/account.html#Subscription%20order%20update%20data
|
445
|
-
see https://bingx-api.github.io/docs/#/swapV2/socket/account.html#Account%20balance%20and%20position%20update%20push
|
444
|
+
:see: https://bingx-api.github.io/docs/#/spot/socket/account.html#Subscription%20order%20update%20data
|
445
|
+
:see: https://bingx-api.github.io/docs/#/swapV2/socket/account.html#Account%20balance%20and%20position%20update%20push
|
446
446
|
watches information on multiple trades made by the user
|
447
447
|
:param str symbol: unified market symbol of the market trades were made in
|
448
448
|
:param int [since]: the earliest time in ms to trades orders for
|
@@ -482,8 +482,8 @@ class bingx(ccxt.async_support.bingx):
|
|
482
482
|
|
483
483
|
async def watch_balance(self, params={}):
|
484
484
|
"""
|
485
|
-
see https://bingx-api.github.io/docs/#/spot/socket/account.html#Subscription%20order%20update%20data
|
486
|
-
see https://bingx-api.github.io/docs/#/swapV2/socket/account.html#Account%20balance%20and%20position%20update%20push
|
485
|
+
:see: https://bingx-api.github.io/docs/#/spot/socket/account.html#Subscription%20order%20update%20data
|
486
|
+
:see: https://bingx-api.github.io/docs/#/swapV2/socket/account.html#Account%20balance%20and%20position%20update%20push
|
487
487
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
488
488
|
:param dict [params]: extra parameters specific to the bingx api endpoint
|
489
489
|
:returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
|
ccxt/pro/bitget.py
CHANGED
@@ -579,8 +579,8 @@ class bitget(ccxt.async_support.bitget):
|
|
579
579
|
async def watch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
580
580
|
"""
|
581
581
|
get the list of most recent trades for a particular symbol
|
582
|
-
see https://bitgetlimited.github.io/apidoc/en/spot/#trades-channel
|
583
|
-
see https://bitgetlimited.github.io/apidoc/en/mix/#trades-channel
|
582
|
+
:see: https://bitgetlimited.github.io/apidoc/en/spot/#trades-channel
|
583
|
+
:see: https://bitgetlimited.github.io/apidoc/en/mix/#trades-channel
|
584
584
|
:param str symbol: unified symbol of the market to fetch trades for
|
585
585
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
586
586
|
:param int [limit]: the maximum amount of trades to fetch
|
ccxt/pro/bitpanda.py
CHANGED
@@ -84,7 +84,7 @@ class bitpanda(ccxt.async_support.bitpanda):
|
|
84
84
|
|
85
85
|
async def watch_balance(self, params={}):
|
86
86
|
"""
|
87
|
-
see https://developers.bitpanda.com/exchange/#account-history-channel
|
87
|
+
:see: https://developers.bitpanda.com/exchange/#account-history-channel
|
88
88
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
89
89
|
:param dict [params]: extra parameters specific to the bitpanda api endpoint
|
90
90
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
@@ -141,7 +141,7 @@ class bitpanda(ccxt.async_support.bitpanda):
|
|
141
141
|
|
142
142
|
async def watch_ticker(self, symbol: str, params={}):
|
143
143
|
"""
|
144
|
-
see https://developers.bitpanda.com/exchange/#market-ticker-channel
|
144
|
+
:see: https://developers.bitpanda.com/exchange/#market-ticker-channel
|
145
145
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
146
146
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
147
147
|
:param dict [params]: extra parameters specific to the bitpanda api endpoint
|
@@ -165,7 +165,7 @@ class bitpanda(ccxt.async_support.bitpanda):
|
|
165
165
|
|
166
166
|
async def watch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
167
167
|
"""
|
168
|
-
see https://developers.bitpanda.com/exchange/#market-ticker-channel
|
168
|
+
:see: https://developers.bitpanda.com/exchange/#market-ticker-channel
|
169
169
|
watches price tickers, a statistical calculation with the information for all markets or those specified.
|
170
170
|
:param str symbols: unified symbols of the markets to fetch the ticker for
|
171
171
|
:param dict [params]: extra parameters specific to the bitpanda api endpoint
|
@@ -257,7 +257,7 @@ class bitpanda(ccxt.async_support.bitpanda):
|
|
257
257
|
|
258
258
|
async def watch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
259
259
|
"""
|
260
|
-
see https://developers.bitpanda.com/exchange/#account-history-channel
|
260
|
+
:see: https://developers.bitpanda.com/exchange/#account-history-channel
|
261
261
|
get the list of trades associated with the user
|
262
262
|
:param str symbol: unified symbol of the market to fetch trades for. Use 'any' to watch all trades
|
263
263
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -296,7 +296,7 @@ class bitpanda(ccxt.async_support.bitpanda):
|
|
296
296
|
|
297
297
|
async def watch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
298
298
|
"""
|
299
|
-
see https://developers.bitpanda.com/exchange/#market-ticker-channel
|
299
|
+
:see: https://developers.bitpanda.com/exchange/#market-ticker-channel
|
300
300
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
301
301
|
:param str symbol: unified symbol of the market to fetch the order book for
|
302
302
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -402,7 +402,7 @@ class bitpanda(ccxt.async_support.bitpanda):
|
|
402
402
|
|
403
403
|
async def watch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
404
404
|
"""
|
405
|
-
see https://developers.bitpanda.com/exchange/#account-history-channel
|
405
|
+
:see: https://developers.bitpanda.com/exchange/#account-history-channel
|
406
406
|
watches information on multiple orders made by the user
|
407
407
|
:param str symbol: unified market symbol of the market orders were made in
|
408
408
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -996,7 +996,7 @@ class bitpanda(ccxt.async_support.bitpanda):
|
|
996
996
|
|
997
997
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
998
998
|
"""
|
999
|
-
see https://developers.bitpanda.com/exchange/#candlesticks-channel
|
999
|
+
:see: https://developers.bitpanda.com/exchange/#candlesticks-channel
|
1000
1000
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1001
1001
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1002
1002
|
:param str timeframe: the length of time each candle represents
|
ccxt/pro/bitrue.py
CHANGED
@@ -60,7 +60,7 @@ class bitrue(ccxt.async_support.bitrue):
|
|
60
60
|
async def watch_balance(self, params={}):
|
61
61
|
"""
|
62
62
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
63
|
-
see https://github.com/Bitrue-exchange/Spot-official-api-docs#balance-update
|
63
|
+
:see: https://github.com/Bitrue-exchange/Spot-official-api-docs#balance-update
|
64
64
|
:param dict [params]: extra parameters specific to the bitrue api endpoint
|
65
65
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
66
66
|
"""
|
@@ -166,7 +166,7 @@ class bitrue(ccxt.async_support.bitrue):
|
|
166
166
|
async def watch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
167
167
|
"""
|
168
168
|
watches information on user orders
|
169
|
-
see https://github.com/Bitrue-exchange/Spot-official-api-docs#order-update
|
169
|
+
:see: https://github.com/Bitrue-exchange/Spot-official-api-docs#order-update
|
170
170
|
:param str[] symbols: unified symbols of the market to watch the orders for
|
171
171
|
:param int [since]: timestamp in ms of the earliest order
|
172
172
|
:param int [limit]: the maximum amount of orders to return
|
ccxt/pro/blockchaincom.py
CHANGED
@@ -61,7 +61,7 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
61
61
|
async def watch_balance(self, params={}):
|
62
62
|
"""
|
63
63
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
64
|
-
see https://exchange.blockchain.com/api/#balances
|
64
|
+
:see: https://exchange.blockchain.com/api/#balances
|
65
65
|
:param dict [params]: extra parameters specific to the blockchaincom api endpoint
|
66
66
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
67
67
|
"""
|
@@ -125,7 +125,7 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
125
125
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
126
126
|
"""
|
127
127
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market.
|
128
|
-
see https://exchange.blockchain.com/api/#prices
|
128
|
+
:see: https://exchange.blockchain.com/api/#prices
|
129
129
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
130
130
|
:param str timeframe: the length of time each candle represents. Allows '1m', '5m', '15m', '1h', '6h' '1d'. Can only watch one timeframe per symbol.
|
131
131
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -198,7 +198,7 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
198
198
|
async def watch_ticker(self, symbol: str, params={}):
|
199
199
|
"""
|
200
200
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
201
|
-
see https://exchange.blockchain.com/api/#ticker
|
201
|
+
:see: https://exchange.blockchain.com/api/#ticker
|
202
202
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
203
203
|
:param dict [params]: extra parameters specific to the blockchaincom api endpoint
|
204
204
|
:returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -300,7 +300,7 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
300
300
|
async def watch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
301
301
|
"""
|
302
302
|
get the list of most recent trades for a particular symbol
|
303
|
-
see https://exchange.blockchain.com/api/#trades
|
303
|
+
:see: https://exchange.blockchain.com/api/#trades
|
304
304
|
:param str symbol: unified symbol of the market to fetch trades for
|
305
305
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
306
306
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -395,7 +395,7 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
395
395
|
async def watch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
396
396
|
"""
|
397
397
|
watches information on multiple orders made by the user
|
398
|
-
see https://exchange.blockchain.com/api/#mass-order-status-request-ordermassstatusrequest
|
398
|
+
:see: https://exchange.blockchain.com/api/#mass-order-status-request-ordermassstatusrequest
|
399
399
|
:param str symbol: unified market symbol of the market orders were made in
|
400
400
|
:param int [since]: the earliest time in ms to fetch orders for
|
401
401
|
:param int [limit]: the maximum number of orde structures to retrieve
|
@@ -598,7 +598,7 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
598
598
|
async def watch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
599
599
|
"""
|
600
600
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
601
|
-
see https://exchange.blockchain.com/api/#l2-order-book
|
601
|
+
:see: https://exchange.blockchain.com/api/#l2-order-book
|
602
602
|
:param str symbol: unified symbol of the market to fetch the order book for
|
603
603
|
:param int [limit]: the maximum amount of order book entries to return
|
604
604
|
:param dictConstructor [params]: extra parameters specific to the blockchaincom api endpoint
|
ccxt/pro/bybit.py
CHANGED
@@ -161,8 +161,8 @@ class bybit(ccxt.async_support.bybit):
|
|
161
161
|
async def watch_ticker(self, symbol: str, params={}):
|
162
162
|
"""
|
163
163
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
164
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/public/ticker
|
165
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/public/etp-ticker
|
164
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/public/ticker
|
165
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/public/etp-ticker
|
166
166
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
167
167
|
:param dict [params]: extra parameters specific to the bybit api endpoint
|
168
168
|
:returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -184,8 +184,8 @@ class bybit(ccxt.async_support.bybit):
|
|
184
184
|
async def watch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
185
185
|
"""
|
186
186
|
n watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
187
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/public/ticker
|
188
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/public/etp-ticker
|
187
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/public/ticker
|
188
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/public/etp-ticker
|
189
189
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
190
190
|
:param dict [params]: extra parameters specific to the bybit api endpoint
|
191
191
|
:returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -348,8 +348,8 @@ class bybit(ccxt.async_support.bybit):
|
|
348
348
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
349
349
|
"""
|
350
350
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
351
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/public/kline
|
352
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/public/etp-kline
|
351
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/public/kline
|
352
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/public/etp-kline
|
353
353
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
354
354
|
:param str timeframe: the length of time each candle represents
|
355
355
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -374,8 +374,8 @@ class bybit(ccxt.async_support.bybit):
|
|
374
374
|
async def watch_ohlcv_for_symbols(self, symbolsAndTimeframes: List[List[str]], since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
375
375
|
"""
|
376
376
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
377
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/public/kline
|
378
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/public/etp-kline
|
377
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/public/kline
|
378
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/public/etp-kline
|
379
379
|
:param str[][] symbolsAndTimeframes: array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
|
380
380
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
381
381
|
:param int [limit]: the maximum amount of candles to fetch
|
@@ -483,7 +483,7 @@ class bybit(ccxt.async_support.bybit):
|
|
483
483
|
async def watch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
484
484
|
"""
|
485
485
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
486
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/public/orderbook
|
486
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/public/orderbook
|
487
487
|
:param str symbol: unified symbol of the market to fetch the order book for
|
488
488
|
:param int [limit]: the maximum amount of order book entries to return.
|
489
489
|
:param dict [params]: extra parameters specific to the bybit api endpoint
|
@@ -512,7 +512,7 @@ class bybit(ccxt.async_support.bybit):
|
|
512
512
|
async def watch_order_book_for_symbols(self, symbols: List[str], limit: Optional[int] = None, params={}):
|
513
513
|
"""
|
514
514
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
515
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/public/orderbook
|
515
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/public/orderbook
|
516
516
|
:param str[] symbols: unified array of symbols
|
517
517
|
:param int [limit]: the maximum amount of order book entries to return.
|
518
518
|
:param dict [params]: extra parameters specific to the bybit api endpoint
|
@@ -616,7 +616,7 @@ class bybit(ccxt.async_support.bybit):
|
|
616
616
|
async def watch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
617
617
|
"""
|
618
618
|
watches information on multiple trades made in a market
|
619
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/public/trade
|
619
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/public/trade
|
620
620
|
:param str symbol: unified market symbol of the market trades were made in
|
621
621
|
:param int [since]: the earliest time in ms to fetch trades for
|
622
622
|
:param int [limit]: the maximum number of trade structures to retrieve
|
@@ -638,7 +638,7 @@ class bybit(ccxt.async_support.bybit):
|
|
638
638
|
async def watch_trades_for_symbols(self, symbols: List[str], since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
639
639
|
"""
|
640
640
|
get the list of most recent trades for a list of symbols
|
641
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/public/trade
|
641
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/public/trade
|
642
642
|
:param str[] symbols: unified symbol of the market to fetch trades for
|
643
643
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
644
644
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -787,7 +787,7 @@ class bybit(ccxt.async_support.bybit):
|
|
787
787
|
async def watch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
788
788
|
"""
|
789
789
|
watches information on multiple trades made by the user
|
790
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/private/execution
|
790
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/private/execution
|
791
791
|
:param str symbol: unified market symbol of the market orders were made in
|
792
792
|
:param int [since]: the earliest time in ms to fetch orders for
|
793
793
|
:param int [limit]: the maximum number of orde structures to retrieve
|
@@ -905,7 +905,7 @@ class bybit(ccxt.async_support.bybit):
|
|
905
905
|
async def watch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
906
906
|
"""
|
907
907
|
watches information on multiple orders made by the user
|
908
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/private/order
|
908
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/private/order
|
909
909
|
:param str symbol: unified market symbol of the market orders were made in
|
910
910
|
:param int [since]: the earliest time in ms to fetch orders for
|
911
911
|
:param int [limit]: the maximum number of orde structures to retrieve
|
@@ -1176,7 +1176,7 @@ class bybit(ccxt.async_support.bybit):
|
|
1176
1176
|
async def watch_balance(self, params={}):
|
1177
1177
|
"""
|
1178
1178
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
1179
|
-
see https://bybit-exchange.github.io/docs/v5/websocket/private/wallet
|
1179
|
+
:see: https://bybit-exchange.github.io/docs/v5/websocket/private/wallet
|
1180
1180
|
:param dict [params]: extra parameters specific to the bybit api endpoint
|
1181
1181
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1182
1182
|
"""
|
ccxt/pro/cex.py
CHANGED
@@ -52,7 +52,7 @@ class cex(ccxt.async_support.cex):
|
|
52
52
|
async def watch_balance(self, params={}):
|
53
53
|
"""
|
54
54
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
55
|
-
see https://cex.io/websocket-api#get-balance
|
55
|
+
:see: https://cex.io/websocket-api#get-balance
|
56
56
|
:param dict [params]: extra parameters specific to the cex api endpoint
|
57
57
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
58
58
|
"""
|
@@ -108,7 +108,7 @@ class cex(ccxt.async_support.cex):
|
|
108
108
|
async def watch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
109
109
|
"""
|
110
110
|
get the list of most recent trades for a particular symbol. Note: can only watch one symbol at a time.
|
111
|
-
see https://cex.io/websocket-api#old-pair-room
|
111
|
+
:see: https://cex.io/websocket-api#old-pair-room
|
112
112
|
:param str symbol: unified symbol of the market to fetch trades for
|
113
113
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
114
114
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -214,7 +214,7 @@ class cex(ccxt.async_support.cex):
|
|
214
214
|
|
215
215
|
async def watch_ticker(self, symbol: str, params={}):
|
216
216
|
"""
|
217
|
-
see https://cex.io/websocket-api#ticker-subscription
|
217
|
+
:see: https://cex.io/websocket-api#ticker-subscription
|
218
218
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
219
219
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
220
220
|
:param dict [params]: extra parameters specific to the cex api endpoint
|
@@ -249,7 +249,7 @@ class cex(ccxt.async_support.cex):
|
|
249
249
|
|
250
250
|
async def watch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
251
251
|
"""
|
252
|
-
see https://cex.io/websocket-api#ticker-subscription
|
252
|
+
:see: https://cex.io/websocket-api#ticker-subscription
|
253
253
|
watches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
254
254
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
255
255
|
:param dict [params]: extra parameters specific to the cex api endpoint
|
@@ -360,7 +360,7 @@ class cex(ccxt.async_support.cex):
|
|
360
360
|
async def watch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
361
361
|
"""
|
362
362
|
get the list of orders associated with the user. Note: In CEX.IO system, orders can be present in trade engine or in archive database. There can be time periods(~2 seconds or more), when order is done/canceled, but still not moved to archive database. That means, you cannot see it using calls: archived-orders/open-orders.
|
363
|
-
see https://docs.cex.io/#ws-api-open-orders
|
363
|
+
:see: https://docs.cex.io/#ws-api-open-orders
|
364
364
|
:param str symbol: unified symbol of the market to fetch trades for
|
365
365
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
366
366
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -394,7 +394,7 @@ class cex(ccxt.async_support.cex):
|
|
394
394
|
async def watch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
395
395
|
"""
|
396
396
|
get the list of trades associated with the user. Note: In CEX.IO system, orders can be present in trade engine or in archive database. There can be time periods(~2 seconds or more), when order is done/canceled, but still not moved to archive database. That means, you cannot see it using calls: archived-orders/open-orders.
|
397
|
-
see https://docs.cex.io/#ws-api-open-orders
|
397
|
+
:see: https://docs.cex.io/#ws-api-open-orders
|
398
398
|
:param str symbol: unified symbol of the market to fetch trades for
|
399
399
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
400
400
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -804,7 +804,7 @@ class cex(ccxt.async_support.cex):
|
|
804
804
|
async def watch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
805
805
|
"""
|
806
806
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
807
|
-
see https://cex.io/websocket-api#orderbook-subscribe
|
807
|
+
:see: https://cex.io/websocket-api#orderbook-subscribe
|
808
808
|
:param str symbol: unified symbol of the market to fetch the order book for
|
809
809
|
:param int [limit]: the maximum amount of order book entries to return
|
810
810
|
:param dict [params]: extra parameters specific to the cex api endpoint
|
@@ -925,7 +925,7 @@ class cex(ccxt.async_support.cex):
|
|
925
925
|
|
926
926
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
927
927
|
"""
|
928
|
-
see https://cex.io/websocket-api#minute-data
|
928
|
+
:see: https://cex.io/websocket-api#minute-data
|
929
929
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market. It will return the last 120 minutes with the selected timeframe and then 1m candle updates after that.
|
930
930
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
931
931
|
:param str timeframe: the length of time each candle represents.
|
ccxt/pro/coinbase.py
CHANGED
@@ -45,7 +45,7 @@ class coinbase(ccxt.async_support.coinbase):
|
|
45
45
|
"""
|
46
46
|
* @ignore
|
47
47
|
subscribes to a websocket channel
|
48
|
-
see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-overview#subscribe
|
48
|
+
:see: https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-overview#subscribe
|
49
49
|
:param str name: the name of the channel
|
50
50
|
:param string|str[] [symbol]: unified market symbol
|
51
51
|
:param dict [params]: extra parameters specific to the cex api endpoint
|
@@ -81,7 +81,7 @@ class coinbase(ccxt.async_support.coinbase):
|
|
81
81
|
async def watch_ticker(self, symbol, params={}):
|
82
82
|
"""
|
83
83
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
84
|
-
see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-channel
|
84
|
+
:see: https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-channel
|
85
85
|
:param str [symbol]: unified symbol of the market to fetch the ticker for
|
86
86
|
:param dict [params]: extra parameters specific to the coinbasepro api endpoint
|
87
87
|
:returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -92,7 +92,7 @@ class coinbase(ccxt.async_support.coinbase):
|
|
92
92
|
async def watch_tickers(self, symbols=None, params={}):
|
93
93
|
"""
|
94
94
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
95
|
-
see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-batch-channel
|
95
|
+
:see: https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#ticker-batch-channel
|
96
96
|
:param str[] [symbols]: unified symbol of the market to fetch the ticker for
|
97
97
|
:param dict [params]: extra parameters specific to the coinbasepro api endpoint
|
98
98
|
:returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -224,7 +224,7 @@ class coinbase(ccxt.async_support.coinbase):
|
|
224
224
|
async def watch_trades(self, symbol, since=None, limit=None, params={}):
|
225
225
|
"""
|
226
226
|
get the list of most recent trades for a particular symbol
|
227
|
-
see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#market-trades-channel
|
227
|
+
:see: https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#market-trades-channel
|
228
228
|
:param str symbol: unified symbol of the market to fetch trades for
|
229
229
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
230
230
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -242,7 +242,7 @@ class coinbase(ccxt.async_support.coinbase):
|
|
242
242
|
async def watch_orders(self, symbol=None, since=None, limit=None, params={}):
|
243
243
|
"""
|
244
244
|
watches information on multiple orders made by the user
|
245
|
-
see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#user-channel
|
245
|
+
:see: https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#user-channel
|
246
246
|
:param str [symbol]: unified market symbol of the market orders were made in
|
247
247
|
:param int [since]: the earliest time in ms to fetch orders for
|
248
248
|
:param int [limit]: the maximum number of orde structures to retrieve
|
@@ -259,7 +259,7 @@ class coinbase(ccxt.async_support.coinbase):
|
|
259
259
|
async def watch_order_book(self, symbol, limit=None, params={}):
|
260
260
|
"""
|
261
261
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
262
|
-
see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#level2-channel
|
262
|
+
:see: https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#level2-channel
|
263
263
|
:param str symbol: unified symbol of the market to fetch the order book for
|
264
264
|
:param int [limit]: the maximum amount of order book entries to return
|
265
265
|
:param dict [params]: extra parameters specific to the coinbasepro api endpoint
|
ccxt/pro/coinbasepro.py
CHANGED
@@ -122,7 +122,7 @@ class coinbasepro(ccxt.async_support.coinbasepro):
|
|
122
122
|
|
123
123
|
async def watch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
124
124
|
"""
|
125
|
-
see https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-tickers-channel
|
125
|
+
:see: https://www.okx.com/docs-v5/en/#order-book-trading-market-data-ws-tickers-channel
|
126
126
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
127
127
|
:param str[] [symbols]: unified symbol of the market to fetch the ticker for
|
128
128
|
:param dict [params]: extra parameters specific to the okx api endpoint
|
ccxt/pro/coinex.py
CHANGED
@@ -399,7 +399,7 @@ class coinex(ccxt.async_support.coinex):
|
|
399
399
|
|
400
400
|
async def watch_ticker(self, symbol: str, params={}):
|
401
401
|
"""
|
402
|
-
see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket007_state_subscribe
|
402
|
+
:see: https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket007_state_subscribe
|
403
403
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
404
404
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
405
405
|
:param dict [params]: extra parameters specific to the coinex api endpoint
|
@@ -409,7 +409,7 @@ class coinex(ccxt.async_support.coinex):
|
|
409
409
|
|
410
410
|
async def watch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
411
411
|
"""
|
412
|
-
see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket007_state_subscribe
|
412
|
+
:see: https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket007_state_subscribe
|
413
413
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
414
414
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
415
415
|
:param dict [params]: extra parameters specific to the coinex api endpoint
|
@@ -436,8 +436,8 @@ class coinex(ccxt.async_support.coinex):
|
|
436
436
|
|
437
437
|
async def watch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
438
438
|
"""
|
439
|
-
see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket012_deal_subcribe
|
440
|
-
see https://viabtc.github.io/coinex_api_en_doc/futures/#docsfutures002_websocket019_deal_subcribe
|
439
|
+
:see: https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket012_deal_subcribe
|
440
|
+
:see: https://viabtc.github.io/coinex_api_en_doc/futures/#docsfutures002_websocket019_deal_subcribe
|
441
441
|
get the list of most recent trades for a particular symbol
|
442
442
|
:param str symbol: unified symbol of the market to fetch trades for
|
443
443
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -466,8 +466,8 @@ class coinex(ccxt.async_support.coinex):
|
|
466
466
|
|
467
467
|
async def watch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
468
468
|
"""
|
469
|
-
see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket017_depth_subscribe_multi
|
470
|
-
see https://viabtc.github.io/coinex_api_en_doc/futures/#docsfutures002_websocket011_depth_subscribe_multi
|
469
|
+
:see: https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket017_depth_subscribe_multi
|
470
|
+
:see: https://viabtc.github.io/coinex_api_en_doc/futures/#docsfutures002_websocket011_depth_subscribe_multi
|
471
471
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
472
472
|
:param str symbol: unified symbol of the market to fetch the order book for
|
473
473
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -509,7 +509,7 @@ class coinex(ccxt.async_support.coinex):
|
|
509
509
|
|
510
510
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
511
511
|
"""
|
512
|
-
see https://viabtc.github.io/coinex_api_en_doc/futures/#docsfutures002_websocket023_kline_subscribe
|
512
|
+
:see: https://viabtc.github.io/coinex_api_en_doc/futures/#docsfutures002_websocket023_kline_subscribe
|
513
513
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
514
514
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
515
515
|
:param str timeframe: the length of time each candle represents
|
@@ -557,7 +557,7 @@ class coinex(ccxt.async_support.coinex):
|
|
557
557
|
|
558
558
|
async def fetch_ohlcv_ws(self, symbol, timeframe='1m', since=None, limit=None, params={}):
|
559
559
|
"""
|
560
|
-
see https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket005_kline_query
|
560
|
+
:see: https://viabtc.github.io/coinex_api_en_doc/spot/#docsspot004_websocket005_kline_query
|
561
561
|
query historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
562
562
|
:param str symbol: unified symbol of the market to query OHLCV data for
|
563
563
|
:param str timeframe: the length of time each candle represents
|