ccxt 4.4.30__py2.py3-none-any.whl → 4.4.31__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ccxt/__init__.py +1 -1
- ccxt/ace.py +36 -12
- ccxt/alpaca.py +62 -22
- ccxt/ascendex.py +65 -30
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +36 -12
- ccxt/async_support/alpaca.py +62 -22
- ccxt/async_support/ascendex.py +65 -30
- ccxt/async_support/base/exchange.py +3 -3
- ccxt/async_support/bigone.py +71 -27
- ccxt/async_support/binance.py +555 -323
- ccxt/async_support/bingx.py +208 -108
- ccxt/async_support/bit2c.py +34 -12
- ccxt/async_support/bitbank.py +42 -14
- ccxt/async_support/bitbns.py +17 -9
- ccxt/async_support/bitfinex.py +68 -24
- ccxt/async_support/bitfinex2.py +116 -44
- ccxt/async_support/bitflyer.py +54 -18
- ccxt/async_support/bitget.py +277 -145
- ccxt/async_support/bithumb.py +39 -14
- ccxt/async_support/bitmart.py +145 -79
- ccxt/async_support/bitmex.py +90 -30
- ccxt/async_support/bitopro.py +66 -22
- ccxt/async_support/bitrue.py +109 -57
- ccxt/async_support/bitso.py +55 -19
- ccxt/async_support/bitstamp.py +84 -36
- ccxt/async_support/bitteam.py +51 -17
- ccxt/async_support/bitvavo.py +57 -19
- ccxt/async_support/bl3p.py +26 -10
- ccxt/async_support/blockchaincom.py +63 -21
- ccxt/async_support/blofin.py +95 -38
- ccxt/async_support/btcalpha.py +48 -16
- ccxt/async_support/btcbox.py +27 -9
- ccxt/async_support/btcmarkets.py +57 -19
- ccxt/async_support/btcturk.py +36 -12
- ccxt/async_support/bybit.py +251 -95
- ccxt/async_support/cex.py +65 -22
- ccxt/async_support/coinbase.py +138 -56
- ccxt/async_support/coinbaseexchange.py +76 -28
- ccxt/async_support/coinbaseinternational.py +75 -27
- ccxt/async_support/coincatch.py +191 -97
- ccxt/async_support/coincheck.py +33 -11
- ccxt/async_support/coinex.py +212 -101
- ccxt/async_support/coinlist.py +87 -30
- ccxt/async_support/coinmate.py +55 -24
- ccxt/async_support/coinmetro.py +52 -18
- ccxt/async_support/coinone.py +27 -10
- ccxt/async_support/coinsph.py +73 -27
- ccxt/async_support/coinspot.py +25 -9
- ccxt/async_support/cryptocom.py +103 -38
- ccxt/async_support/currencycom.py +70 -23
- ccxt/async_support/delta.py +90 -30
- ccxt/async_support/deribit.py +131 -50
- ccxt/async_support/digifinex.py +114 -51
- ccxt/async_support/exmo.py +104 -45
- ccxt/async_support/gate.py +298 -155
- ccxt/async_support/gemini.py +57 -20
- ccxt/async_support/hashkey.py +151 -66
- ccxt/async_support/hitbtc.py +156 -73
- ccxt/async_support/hollaex.py +76 -25
- ccxt/async_support/htx.py +297 -240
- ccxt/async_support/huobijp.py +1 -0
- ccxt/async_support/hyperliquid.py +94 -38
- ccxt/async_support/idex.py +73 -24
- ccxt/async_support/independentreserve.py +12 -5
- ccxt/async_support/indodax.py +53 -16
- ccxt/async_support/kraken.py +107 -35
- ccxt/async_support/krakenfutures.py +88 -34
- ccxt/async_support/kucoin.py +211 -109
- ccxt/async_support/kucoinfutures.py +119 -42
- ccxt/async_support/kuna.py +80 -39
- ccxt/async_support/latoken.py +70 -33
- ccxt/async_support/lbank.py +89 -38
- ccxt/async_support/luno.py +54 -19
- ccxt/async_support/lykke.py +54 -19
- ccxt/async_support/mercado.py +1 -0
- ccxt/async_support/mexc.py +226 -108
- ccxt/async_support/ndax.py +58 -19
- ccxt/async_support/novadax.py +67 -22
- ccxt/async_support/oceanex.py +58 -19
- ccxt/async_support/okcoin.py +81 -38
- ccxt/async_support/okx.py +270 -109
- ccxt/async_support/onetrading.py +3 -1
- ccxt/async_support/oxfun.py +95 -36
- ccxt/async_support/p2b.py +49 -23
- ccxt/async_support/paradex.py +75 -27
- ccxt/async_support/paymium.py +31 -11
- ccxt/async_support/phemex.py +91 -41
- ccxt/async_support/poloniex.py +80 -30
- ccxt/async_support/poloniexfutures.py +72 -30
- ccxt/async_support/probit.py +64 -22
- ccxt/async_support/timex.py +58 -19
- ccxt/async_support/tokocrypto.py +63 -22
- ccxt/async_support/tradeogre.py +7 -2
- ccxt/async_support/upbit.py +72 -25
- ccxt/async_support/vertex.py +74 -28
- ccxt/async_support/wavesexchange.py +29 -8
- ccxt/async_support/wazirx.py +51 -17
- ccxt/async_support/whitebit.py +105 -41
- ccxt/async_support/woo.py +162 -65
- ccxt/async_support/woofipro.py +118 -49
- ccxt/async_support/xt.py +150 -73
- ccxt/async_support/yobit.py +49 -16
- ccxt/async_support/zaif.py +30 -10
- ccxt/async_support/zonda.py +46 -16
- ccxt/base/exchange.py +34 -34
- ccxt/base/types.py +1 -0
- ccxt/bigone.py +71 -27
- ccxt/binance.py +555 -323
- ccxt/bingx.py +208 -108
- ccxt/bit2c.py +34 -12
- ccxt/bitbank.py +42 -14
- ccxt/bitbns.py +17 -9
- ccxt/bitfinex.py +68 -24
- ccxt/bitfinex2.py +116 -44
- ccxt/bitflyer.py +54 -18
- ccxt/bitget.py +277 -145
- ccxt/bithumb.py +39 -14
- ccxt/bitmart.py +145 -79
- ccxt/bitmex.py +90 -30
- ccxt/bitopro.py +66 -22
- ccxt/bitrue.py +109 -57
- ccxt/bitso.py +55 -19
- ccxt/bitstamp.py +84 -36
- ccxt/bitteam.py +51 -17
- ccxt/bitvavo.py +57 -19
- ccxt/bl3p.py +26 -10
- ccxt/blockchaincom.py +63 -21
- ccxt/blofin.py +95 -38
- ccxt/btcalpha.py +48 -16
- ccxt/btcbox.py +27 -9
- ccxt/btcmarkets.py +57 -19
- ccxt/btcturk.py +36 -12
- ccxt/bybit.py +251 -95
- ccxt/cex.py +65 -22
- ccxt/coinbase.py +138 -56
- ccxt/coinbaseexchange.py +76 -28
- ccxt/coinbaseinternational.py +75 -27
- ccxt/coincatch.py +191 -97
- ccxt/coincheck.py +33 -11
- ccxt/coinex.py +212 -101
- ccxt/coinlist.py +87 -30
- ccxt/coinmate.py +55 -24
- ccxt/coinmetro.py +52 -18
- ccxt/coinone.py +27 -10
- ccxt/coinsph.py +73 -27
- ccxt/coinspot.py +25 -9
- ccxt/cryptocom.py +103 -38
- ccxt/currencycom.py +70 -23
- ccxt/delta.py +90 -30
- ccxt/deribit.py +131 -50
- ccxt/digifinex.py +114 -51
- ccxt/exmo.py +104 -45
- ccxt/gate.py +298 -155
- ccxt/gemini.py +57 -20
- ccxt/hashkey.py +151 -66
- ccxt/hitbtc.py +156 -73
- ccxt/hollaex.py +76 -25
- ccxt/htx.py +297 -240
- ccxt/huobijp.py +1 -0
- ccxt/hyperliquid.py +94 -38
- ccxt/idex.py +73 -24
- ccxt/independentreserve.py +12 -5
- ccxt/indodax.py +53 -16
- ccxt/kraken.py +107 -35
- ccxt/krakenfutures.py +88 -34
- ccxt/kucoin.py +211 -109
- ccxt/kucoinfutures.py +119 -42
- ccxt/kuna.py +80 -39
- ccxt/latoken.py +70 -33
- ccxt/lbank.py +89 -38
- ccxt/luno.py +54 -19
- ccxt/lykke.py +54 -19
- ccxt/mercado.py +1 -0
- ccxt/mexc.py +226 -108
- ccxt/ndax.py +58 -19
- ccxt/novadax.py +67 -22
- ccxt/oceanex.py +58 -19
- ccxt/okcoin.py +81 -38
- ccxt/okx.py +270 -109
- ccxt/onetrading.py +3 -1
- ccxt/oxfun.py +95 -36
- ccxt/p2b.py +49 -23
- ccxt/paradex.py +75 -27
- ccxt/paymium.py +31 -11
- ccxt/phemex.py +91 -41
- ccxt/poloniex.py +80 -30
- ccxt/poloniexfutures.py +72 -30
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/alpaca.py +15 -5
- ccxt/pro/ascendex.py +18 -6
- ccxt/pro/binance.py +200 -119
- ccxt/pro/bingx.py +44 -24
- ccxt/pro/bitfinex.py +13 -5
- ccxt/pro/bitget.py +75 -36
- ccxt/pro/bithumb.py +12 -4
- ccxt/pro/bitmart.py +44 -20
- ccxt/pro/bitmex.py +42 -14
- ccxt/pro/bitopro.py +15 -5
- ccxt/pro/bitrue.py +7 -3
- ccxt/pro/bitvavo.py +51 -17
- ccxt/pro/blockchaincom.py +18 -6
- ccxt/pro/blofin.py +36 -12
- ccxt/pro/bybit.py +100 -42
- ccxt/pro/cex.py +48 -16
- ccxt/pro/coinbase.py +32 -12
- ccxt/pro/coinbaseexchange.py +1 -1
- ccxt/pro/coinbaseinternational.py +34 -14
- ccxt/pro/coincatch.py +54 -19
- ccxt/pro/coincheck.py +6 -2
- ccxt/pro/coinex.py +40 -20
- ccxt/pro/coinone.py +9 -3
- ccxt/pro/cryptocom.py +70 -26
- ccxt/pro/deribit.py +36 -12
- ccxt/pro/exmo.py +10 -4
- ccxt/pro/gate.py +64 -30
- ccxt/pro/gemini.py +21 -7
- ccxt/pro/hashkey.py +26 -8
- ccxt/pro/hitbtc.py +61 -37
- ccxt/pro/hollaex.py +15 -5
- ccxt/pro/htx.py +39 -21
- ccxt/pro/hyperliquid.py +41 -14
- ccxt/pro/kraken.py +49 -17
- ccxt/pro/krakenfutures.py +47 -24
- ccxt/pro/kucoin.py +60 -31
- ccxt/pro/kucoinfutures.py +41 -19
- ccxt/pro/lbank.py +27 -9
- ccxt/pro/luno.py +3 -1
- ccxt/pro/mexc.py +35 -17
- ccxt/pro/ndax.py +12 -4
- ccxt/pro/okcoin.py +18 -6
- ccxt/pro/okx.py +76 -28
- ccxt/pro/onetrading.py +21 -7
- ccxt/pro/oxfun.py +54 -20
- ccxt/pro/p2b.py +23 -11
- ccxt/pro/paradex.py +12 -4
- ccxt/pro/phemex.py +31 -19
- ccxt/pro/poloniex.py +50 -22
- ccxt/pro/poloniexfutures.py +17 -7
- ccxt/pro/probit.py +18 -6
- ccxt/pro/upbit.py +25 -9
- ccxt/pro/vertex.py +20 -6
- ccxt/pro/wazirx.py +21 -7
- ccxt/pro/whitebit.py +25 -9
- ccxt/pro/woo.py +32 -12
- ccxt/pro/woofipro.py +35 -13
- ccxt/pro/xt.py +46 -26
- ccxt/probit.py +64 -22
- ccxt/timex.py +58 -19
- ccxt/tokocrypto.py +63 -22
- ccxt/tradeogre.py +7 -2
- ccxt/upbit.py +72 -25
- ccxt/vertex.py +74 -28
- ccxt/wavesexchange.py +29 -8
- ccxt/wazirx.py +51 -17
- ccxt/whitebit.py +105 -41
- ccxt/woo.py +162 -65
- ccxt/woofipro.py +118 -49
- ccxt/xt.py +150 -73
- ccxt/yobit.py +49 -16
- ccxt/zaif.py +30 -10
- ccxt/zonda.py +46 -16
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/RECORD +267 -267
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/pro/bitmex.py
CHANGED
@@ -66,7 +66,9 @@ class bitmex(ccxt.async_support.bitmex):
|
|
66
66
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
67
67
|
"""
|
68
68
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
69
|
-
|
69
|
+
|
70
|
+
https://www.bitmex.com/app/wsAPI#Subscriptions
|
71
|
+
|
70
72
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
71
73
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
72
74
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -79,7 +81,9 @@ class bitmex(ccxt.async_support.bitmex):
|
|
79
81
|
async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
80
82
|
"""
|
81
83
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
82
|
-
|
84
|
+
|
85
|
+
https://www.bitmex.com/app/wsAPI#Subscriptions
|
86
|
+
|
83
87
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
84
88
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
85
89
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -359,7 +363,9 @@ class bitmex(ccxt.async_support.bitmex):
|
|
359
363
|
async def watch_liquidations(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
|
360
364
|
"""
|
361
365
|
watch the public liquidations of a trading pair
|
362
|
-
|
366
|
+
|
367
|
+
https://www.bitmex.com/app/wsAPI#Liquidation
|
368
|
+
|
363
369
|
:param str symbol: unified CCXT market symbol
|
364
370
|
:param int [since]: the earliest time in ms to fetch liquidations for
|
365
371
|
:param int [limit]: the maximum number of liquidation structures to retrieve
|
@@ -371,8 +377,10 @@ class bitmex(ccxt.async_support.bitmex):
|
|
371
377
|
async def watch_liquidations_for_symbols(self, symbols: List[str] = None, since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
|
372
378
|
"""
|
373
379
|
watch the public liquidations of a trading pair
|
374
|
-
|
375
|
-
|
380
|
+
|
381
|
+
https://www.bitmex.com/app/wsAPI#Liquidation
|
382
|
+
|
383
|
+
:param str[] symbols:
|
376
384
|
:param int [since]: the earliest time in ms to fetch liquidations for
|
377
385
|
:param int [limit]: the maximum number of liquidation structures to retrieve
|
378
386
|
:param dict [params]: exchange specific parameters for the bitmex api endpoint
|
@@ -451,7 +459,9 @@ class bitmex(ccxt.async_support.bitmex):
|
|
451
459
|
async def watch_balance(self, params={}) -> Balances:
|
452
460
|
"""
|
453
461
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
454
|
-
|
462
|
+
|
463
|
+
https://www.bitmex.com/app/wsAPI#Subscriptions
|
464
|
+
|
455
465
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
456
466
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
457
467
|
"""
|
@@ -654,7 +664,9 @@ class bitmex(ccxt.async_support.bitmex):
|
|
654
664
|
async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
655
665
|
"""
|
656
666
|
get the list of most recent trades for a particular symbol
|
657
|
-
|
667
|
+
|
668
|
+
https://www.bitmex.com/app/wsAPI#Subscriptions
|
669
|
+
|
658
670
|
:param str symbol: unified symbol of the market to fetch trades for
|
659
671
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
660
672
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -702,8 +714,12 @@ class bitmex(ccxt.async_support.bitmex):
|
|
702
714
|
async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
|
703
715
|
"""
|
704
716
|
watch all open positions
|
705
|
-
|
717
|
+
|
718
|
+
https://www.bitmex.com/app/wsAPI#Subscriptions
|
719
|
+
|
706
720
|
:param str[]|None symbols: list of unified market symbols
|
721
|
+
@param since
|
722
|
+
@param limit
|
707
723
|
:param dict params: extra parameters specific to the exchange API endpoint
|
708
724
|
:returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
|
709
725
|
"""
|
@@ -898,7 +914,9 @@ class bitmex(ccxt.async_support.bitmex):
|
|
898
914
|
async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
899
915
|
"""
|
900
916
|
watches information on multiple orders made by the user
|
901
|
-
|
917
|
+
|
918
|
+
https://www.bitmex.com/app/wsAPI#Subscriptions
|
919
|
+
|
902
920
|
:param str symbol: unified market symbol of the market orders were made in
|
903
921
|
:param int [since]: the earliest time in ms to fetch orders for
|
904
922
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -1105,7 +1123,9 @@ class bitmex(ccxt.async_support.bitmex):
|
|
1105
1123
|
async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
1106
1124
|
"""
|
1107
1125
|
watches information on multiple trades made by the user
|
1108
|
-
|
1126
|
+
|
1127
|
+
https://www.bitmex.com/app/wsAPI#Subscriptions
|
1128
|
+
|
1109
1129
|
:param str symbol: unified market symbol of the market trades were made in
|
1110
1130
|
:param int [since]: the earliest time in ms to fetch trades for
|
1111
1131
|
:param int [limit]: the maximum number of trade structures to retrieve
|
@@ -1215,7 +1235,9 @@ class bitmex(ccxt.async_support.bitmex):
|
|
1215
1235
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
1216
1236
|
"""
|
1217
1237
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
1218
|
-
|
1238
|
+
|
1239
|
+
https://www.bitmex.com/app/wsAPI#OrderBookL2
|
1240
|
+
|
1219
1241
|
:param str symbol: unified symbol of the market to fetch the order book for
|
1220
1242
|
:param int [limit]: the maximum amount of order book entries to return
|
1221
1243
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1226,7 +1248,9 @@ class bitmex(ccxt.async_support.bitmex):
|
|
1226
1248
|
async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
|
1227
1249
|
"""
|
1228
1250
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
1229
|
-
|
1251
|
+
|
1252
|
+
https://www.bitmex.com/app/wsAPI#OrderBookL2
|
1253
|
+
|
1230
1254
|
:param str[] symbols: unified array of symbols
|
1231
1255
|
:param int [limit]: the maximum amount of order book entries to return
|
1232
1256
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1263,7 +1287,9 @@ class bitmex(ccxt.async_support.bitmex):
|
|
1263
1287
|
async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
1264
1288
|
"""
|
1265
1289
|
get the list of most recent trades for a list of symbols
|
1266
|
-
|
1290
|
+
|
1291
|
+
https://www.bitmex.com/app/wsAPI#Subscriptions
|
1292
|
+
|
1267
1293
|
:param str[] symbols: unified symbol of the market to fetch trades for
|
1268
1294
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1269
1295
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -1297,7 +1323,9 @@ class bitmex(ccxt.async_support.bitmex):
|
|
1297
1323
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
1298
1324
|
"""
|
1299
1325
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1300
|
-
|
1326
|
+
|
1327
|
+
https://www.bitmex.com/app/wsAPI#Subscriptions
|
1328
|
+
|
1301
1329
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1302
1330
|
:param str timeframe: the length of time each candle represents
|
1303
1331
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
ccxt/pro/bitopro.py
CHANGED
@@ -58,7 +58,9 @@ class bitopro(ccxt.async_support.bitopro):
|
|
58
58
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
59
59
|
"""
|
60
60
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
61
|
-
|
61
|
+
|
62
|
+
https://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/public/order_book_stream.md
|
63
|
+
|
62
64
|
:param str symbol: unified symbol of the market to fetch the order book for
|
63
65
|
:param int [limit]: the maximum amount of order book entries to return
|
64
66
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -117,7 +119,9 @@ class bitopro(ccxt.async_support.bitopro):
|
|
117
119
|
async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
118
120
|
"""
|
119
121
|
get the list of most recent trades for a particular symbol
|
120
|
-
|
122
|
+
|
123
|
+
https://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/public/trade_stream.md
|
124
|
+
|
121
125
|
:param str symbol: unified symbol of the market to fetch trades for
|
122
126
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
123
127
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -172,7 +176,9 @@ class bitopro(ccxt.async_support.bitopro):
|
|
172
176
|
async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
173
177
|
"""
|
174
178
|
watches information on multiple trades made by the user
|
175
|
-
|
179
|
+
|
180
|
+
https://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/private/matches_stream.md
|
181
|
+
|
176
182
|
:param str symbol: unified market symbol of the market trades were made in
|
177
183
|
:param int [since]: the earliest time in ms to fetch trades for
|
178
184
|
:param int [limit]: the maximum number of trade structures to retrieve
|
@@ -304,7 +310,9 @@ class bitopro(ccxt.async_support.bitopro):
|
|
304
310
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
305
311
|
"""
|
306
312
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
307
|
-
|
313
|
+
|
314
|
+
https://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/public/ticker_stream.md
|
315
|
+
|
308
316
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
309
317
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
310
318
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -382,7 +390,9 @@ class bitopro(ccxt.async_support.bitopro):
|
|
382
390
|
async def watch_balance(self, params={}) -> Balances:
|
383
391
|
"""
|
384
392
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
385
|
-
|
393
|
+
|
394
|
+
https://github.com/bitoex/bitopro-offical-api-docs/blob/master/ws/private/user_balance_stream.md
|
395
|
+
|
386
396
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
387
397
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
388
398
|
"""
|
ccxt/pro/bitrue.py
CHANGED
@@ -60,7 +60,9 @@ class bitrue(ccxt.async_support.bitrue):
|
|
60
60
|
async def watch_balance(self, params={}) -> Balances:
|
61
61
|
"""
|
62
62
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
63
|
-
|
63
|
+
|
64
|
+
https://github.com/Bitrue-exchange/Spot-official-api-docs#balance-update
|
65
|
+
|
64
66
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
65
67
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
66
68
|
"""
|
@@ -166,8 +168,10 @@ class bitrue(ccxt.async_support.bitrue):
|
|
166
168
|
async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
167
169
|
"""
|
168
170
|
watches information on user orders
|
169
|
-
|
170
|
-
|
171
|
+
|
172
|
+
https://github.com/Bitrue-exchange/Spot-official-api-docs#order-update
|
173
|
+
|
174
|
+
:param str symbol:
|
171
175
|
:param int [since]: timestamp in ms of the earliest order
|
172
176
|
:param int [limit]: the maximum amount of orders to return
|
173
177
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
ccxt/pro/bitvavo.py
CHANGED
@@ -111,7 +111,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
111
111
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
112
112
|
"""
|
113
113
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
114
|
-
|
114
|
+
|
115
|
+
https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post
|
116
|
+
|
115
117
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
116
118
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
117
119
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -121,7 +123,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
121
123
|
async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
122
124
|
"""
|
123
125
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
124
|
-
|
126
|
+
|
127
|
+
https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post
|
128
|
+
|
125
129
|
:param str[] [symbols]: unified symbol of the market to fetch the ticker for
|
126
130
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
127
131
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -173,7 +177,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
173
177
|
async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
|
174
178
|
"""
|
175
179
|
watches best bid & ask for symbols
|
176
|
-
|
180
|
+
|
181
|
+
https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post
|
182
|
+
|
177
183
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
178
184
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
179
185
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -590,7 +596,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
590
596
|
async def create_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> Order:
|
591
597
|
"""
|
592
598
|
create a trade order
|
593
|
-
|
599
|
+
|
600
|
+
https://docs.bitvavo.com/#tag/Orders/paths/~1order/post
|
601
|
+
|
594
602
|
:param str symbol: unified symbol of the market to create an order in
|
595
603
|
:param str type: 'market' or 'limit'
|
596
604
|
:param str side: 'buy' or 'sell'
|
@@ -618,7 +626,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
618
626
|
async def edit_order_ws(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}) -> Order:
|
619
627
|
"""
|
620
628
|
edit a trade order
|
621
|
-
|
629
|
+
|
630
|
+
https://docs.bitvavo.com/#tag/Orders/paths/~1order/put
|
631
|
+
|
622
632
|
:param str id: cancel order id
|
623
633
|
:param str symbol: unified symbol of the market to create an order in
|
624
634
|
:param str type: 'market' or 'limit'
|
@@ -635,7 +645,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
635
645
|
|
636
646
|
async def cancel_order_ws(self, id: str, symbol: Str = None, params={}):
|
637
647
|
"""
|
638
|
-
|
648
|
+
|
649
|
+
https://docs.bitvavo.com/#tag/Orders/paths/~1order/delete
|
650
|
+
|
639
651
|
cancels an open order
|
640
652
|
:param str id: order id
|
641
653
|
:param str symbol: unified symbol of the market the order was made in
|
@@ -649,7 +661,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
649
661
|
|
650
662
|
async def cancel_all_orders_ws(self, symbol: Str = None, params={}):
|
651
663
|
"""
|
652
|
-
|
664
|
+
|
665
|
+
https://docs.bitvavo.com/#tag/Orders/paths/~1orders/delete
|
666
|
+
|
653
667
|
cancel all open orders
|
654
668
|
:param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
655
669
|
:param dict [params]: extra parameters specific to the bitvavo api endpoint
|
@@ -685,7 +699,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
685
699
|
|
686
700
|
async def fetch_order_ws(self, id: str, symbol: Str = None, params={}) -> Order:
|
687
701
|
"""
|
688
|
-
|
702
|
+
|
703
|
+
https://docs.bitvavo.com/#tag/General/paths/~1assets/get
|
704
|
+
|
689
705
|
fetches information on an order made by the user
|
690
706
|
:param str id: the order id
|
691
707
|
:param str symbol: unified symbol of the market the order was made in
|
@@ -705,7 +721,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
705
721
|
|
706
722
|
async def fetch_orders_ws(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
707
723
|
"""
|
708
|
-
|
724
|
+
|
725
|
+
https://docs.bitvavo.com/#tag/Orders/paths/~1orders/get
|
726
|
+
|
709
727
|
fetches information on multiple orders made by the user
|
710
728
|
:param str symbol: unified market symbol of the market orders were made in
|
711
729
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -752,7 +770,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
752
770
|
|
753
771
|
async def fetch_my_trades_ws(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
754
772
|
"""
|
755
|
-
|
773
|
+
|
774
|
+
https://docs.bitvavo.com/#tag/Trades
|
775
|
+
|
756
776
|
fetch all trades made by the user
|
757
777
|
:param str symbol: unified market symbol
|
758
778
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -834,7 +854,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
834
854
|
|
835
855
|
async def fetch_withdrawals_ws(self, code: Str = None, since: Int = None, limit: Int = None, params={}):
|
836
856
|
"""
|
837
|
-
|
857
|
+
|
858
|
+
https://docs.bitvavo.com/#tag/Account/paths/~1withdrawalHistory/get
|
859
|
+
|
838
860
|
fetch all withdrawals made from an account
|
839
861
|
:param str code: unified currency code
|
840
862
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
@@ -872,7 +894,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
872
894
|
|
873
895
|
async def fetch_ohlcv_ws(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
874
896
|
"""
|
875
|
-
|
897
|
+
|
898
|
+
https://docs.bitvavo.com/#tag/Market-Data/paths/~1{market}~1candles/get
|
899
|
+
|
876
900
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
877
901
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
878
902
|
:param str timeframe: the length of time each candle represents
|
@@ -889,7 +913,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
889
913
|
|
890
914
|
async def fetch_deposits_ws(self, code: Str = None, since: Int = None, limit: Int = None, params={}):
|
891
915
|
"""
|
892
|
-
|
916
|
+
|
917
|
+
https://docs.bitvavo.com/#tag/Account/paths/~1depositHistory/get
|
918
|
+
|
893
919
|
fetch all deposits made to an account
|
894
920
|
:param str code: unified currency code
|
895
921
|
:param int [since]: the earliest time in ms to fetch deposits for
|
@@ -927,7 +953,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
927
953
|
|
928
954
|
async def fetch_trading_fees_ws(self, params={}) -> TradingFees:
|
929
955
|
"""
|
930
|
-
|
956
|
+
|
957
|
+
https://docs.bitvavo.com/#tag/Account/paths/~1account/get
|
958
|
+
|
931
959
|
fetch the trading fees for multiple markets
|
932
960
|
:param dict [params]: extra parameters specific to the bitvavo api endpoint
|
933
961
|
:returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
|
@@ -938,7 +966,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
938
966
|
|
939
967
|
async def fetch_markets_ws(self, params={}):
|
940
968
|
"""
|
941
|
-
|
969
|
+
|
970
|
+
https://docs.bitvavo.com/#tag/General/paths/~1markets/get
|
971
|
+
|
942
972
|
retrieves data on all markets for bitvavo
|
943
973
|
:param dict [params]: extra parameters specific to the exchange api endpoint
|
944
974
|
:returns dict[]: an array of objects representing market data
|
@@ -947,7 +977,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
947
977
|
|
948
978
|
async def fetch_currencies_ws(self, params={}):
|
949
979
|
"""
|
950
|
-
|
980
|
+
|
981
|
+
https://docs.bitvavo.com/#tag/General/paths/~1assets/get
|
982
|
+
|
951
983
|
fetches all available currencies on an exchange
|
952
984
|
:param dict [params]: extra parameters specific to the bitvavo api endpoint
|
953
985
|
:returns dict: an associative dictionary of currencies
|
@@ -1003,7 +1035,9 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
1003
1035
|
|
1004
1036
|
async def fetch_balance_ws(self, params={}) -> Balances:
|
1005
1037
|
"""
|
1006
|
-
|
1038
|
+
|
1039
|
+
https://docs.bitvavo.com/#tag/Account/paths/~1balance/get
|
1040
|
+
|
1007
1041
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1008
1042
|
:param dict [params]: extra parameters specific to the bitvavo api endpoint
|
1009
1043
|
:returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
|
ccxt/pro/blockchaincom.py
CHANGED
@@ -61,7 +61,9 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
61
61
|
async def watch_balance(self, params={}) -> Balances:
|
62
62
|
"""
|
63
63
|
watch balance and get the amount of funds available for trading or funds locked in orders
|
64
|
-
|
64
|
+
|
65
|
+
https://exchange.blockchain.com/api/#balances
|
66
|
+
|
65
67
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
66
68
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
67
69
|
"""
|
@@ -125,7 +127,9 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
125
127
|
async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
126
128
|
"""
|
127
129
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market.
|
128
|
-
|
130
|
+
|
131
|
+
https://exchange.blockchain.com/api/#prices
|
132
|
+
|
129
133
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
130
134
|
: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
135
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -197,7 +201,9 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
197
201
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
198
202
|
"""
|
199
203
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
200
|
-
|
204
|
+
|
205
|
+
https://exchange.blockchain.com/api/#ticker
|
206
|
+
|
201
207
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
202
208
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
203
209
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -299,7 +305,9 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
299
305
|
async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
300
306
|
"""
|
301
307
|
get the list of most recent trades for a particular symbol
|
302
|
-
|
308
|
+
|
309
|
+
https://exchange.blockchain.com/api/#trades
|
310
|
+
|
303
311
|
:param str symbol: unified symbol of the market to fetch trades for
|
304
312
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
305
313
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -394,7 +402,9 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
394
402
|
async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
395
403
|
"""
|
396
404
|
watches information on multiple orders made by the user
|
397
|
-
|
405
|
+
|
406
|
+
https://exchange.blockchain.com/api/#mass-order-status-request-ordermassstatusrequest
|
407
|
+
|
398
408
|
:param str symbol: unified market symbol of the market orders were made in
|
399
409
|
:param int [since]: the earliest time in ms to fetch orders for
|
400
410
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -597,7 +607,9 @@ class blockchaincom(ccxt.async_support.blockchaincom):
|
|
597
607
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
598
608
|
"""
|
599
609
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
600
|
-
|
610
|
+
|
611
|
+
https://exchange.blockchain.com/api/#l2-order-book
|
612
|
+
|
601
613
|
:param str symbol: unified symbol of the market to fetch the order book for
|
602
614
|
:param int [limit]: the maximum amount of order book entries to return
|
603
615
|
:param dictConstructor [params]: extra parameters specific to the exchange API endpoint
|
ccxt/pro/blofin.py
CHANGED
@@ -74,7 +74,9 @@ class blofin(ccxt.async_support.blofin):
|
|
74
74
|
async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
75
75
|
"""
|
76
76
|
get the list of most recent trades for a particular symbol
|
77
|
-
|
77
|
+
|
78
|
+
https://docs.blofin.com/index.html#ws-trades-channel
|
79
|
+
|
78
80
|
:param str symbol: unified symbol of the market to fetch trades for
|
79
81
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
80
82
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -87,7 +89,9 @@ class blofin(ccxt.async_support.blofin):
|
|
87
89
|
async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
88
90
|
"""
|
89
91
|
get the list of most recent trades for a list of symbols
|
90
|
-
|
92
|
+
|
93
|
+
https://docs.blofin.com/index.html#ws-trades-channel
|
94
|
+
|
91
95
|
:param str[] symbols: unified symbol of the market to fetch trades for
|
92
96
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
93
97
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -139,7 +143,9 @@ class blofin(ccxt.async_support.blofin):
|
|
139
143
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
140
144
|
"""
|
141
145
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
142
|
-
|
146
|
+
|
147
|
+
https://docs.blofin.com/index.html#ws-order-book-channel
|
148
|
+
|
143
149
|
:param str symbol: unified symbol of the market to fetch the order book for
|
144
150
|
:param int [limit]: the maximum amount of order book entries to return
|
145
151
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -151,7 +157,9 @@ class blofin(ccxt.async_support.blofin):
|
|
151
157
|
async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
|
152
158
|
"""
|
153
159
|
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
154
|
-
|
160
|
+
|
161
|
+
https://docs.blofin.com/index.html#ws-order-book-channel
|
162
|
+
|
155
163
|
:param str[] symbols: unified array of symbols
|
156
164
|
:param int [limit]: the maximum amount of order book entries to return
|
157
165
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -215,7 +223,9 @@ class blofin(ccxt.async_support.blofin):
|
|
215
223
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
216
224
|
"""
|
217
225
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
218
|
-
|
226
|
+
|
227
|
+
https://docs.blofin.com/index.html#ws-tickers-channel
|
228
|
+
|
219
229
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
220
230
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
221
231
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -229,7 +239,9 @@ class blofin(ccxt.async_support.blofin):
|
|
229
239
|
async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
230
240
|
"""
|
231
241
|
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
232
|
-
|
242
|
+
|
243
|
+
https://docs.blofin.com/index.html#ws-tickers-channel
|
244
|
+
|
233
245
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
234
246
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
235
247
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -274,7 +286,9 @@ class blofin(ccxt.async_support.blofin):
|
|
274
286
|
async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
|
275
287
|
"""
|
276
288
|
watches best bid & ask for symbols
|
277
|
-
|
289
|
+
|
290
|
+
https://docs.blofin.com/index.html#ws-tickers-channel
|
291
|
+
|
278
292
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
279
293
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
280
294
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -345,7 +359,9 @@ class blofin(ccxt.async_support.blofin):
|
|
345
359
|
async def watch_ohlcv_for_symbols(self, symbolsAndTimeframes: List[List[str]], since: Int = None, limit: Int = None, params={}):
|
346
360
|
"""
|
347
361
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
348
|
-
|
362
|
+
|
363
|
+
https://docs.blofin.com/index.html#ws-candlesticks-channel
|
364
|
+
|
349
365
|
:param str[][] symbolsAndTimeframes: array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
|
350
366
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
351
367
|
:param int [limit]: the maximum amount of candles to fetch
|
@@ -401,7 +417,9 @@ class blofin(ccxt.async_support.blofin):
|
|
401
417
|
async def watch_balance(self, params={}) -> Balances:
|
402
418
|
"""
|
403
419
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
404
|
-
|
420
|
+
|
421
|
+
https://docs.blofin.com/index.html#ws-account-channel
|
422
|
+
|
405
423
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
406
424
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
407
425
|
"""
|
@@ -454,8 +472,10 @@ class blofin(ccxt.async_support.blofin):
|
|
454
472
|
async def watch_orders_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
455
473
|
"""
|
456
474
|
watches information on multiple orders made by the user across multiple symbols
|
457
|
-
|
458
|
-
|
475
|
+
|
476
|
+
https://docs.blofin.com/index.html#ws-order-channel
|
477
|
+
|
478
|
+
:param str[] symbols:
|
459
479
|
:param int [since]: the earliest time in ms to fetch orders for
|
460
480
|
:param int [limit]: the maximum number of order structures to retrieve
|
461
481
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -500,9 +520,13 @@ class blofin(ccxt.async_support.blofin):
|
|
500
520
|
|
501
521
|
async def watch_positions(self, symbols: Strings = None, since: Int = None, limit: Int = None, params={}) -> List[Position]:
|
502
522
|
"""
|
503
|
-
|
523
|
+
|
524
|
+
https://docs.blofin.com/index.html#ws-positions-channel
|
525
|
+
|
504
526
|
watch all open positions
|
505
527
|
:param str[]|None symbols: list of unified market symbols
|
528
|
+
@param since
|
529
|
+
@param limit
|
506
530
|
:param dict params: extra parameters specific to the exchange API endpoint
|
507
531
|
:returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
|
508
532
|
"""
|