ccxt 4.4.70__py2.py3-none-any.whl → 4.4.71__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 -3
- ccxt/abstract/bingx.py +1 -0
- ccxt/abstract/bitmart.py +1 -0
- ccxt/abstract/poloniex.py +36 -0
- ccxt/async_support/__init__.py +1 -3
- ccxt/async_support/base/exchange.py +3 -3
- ccxt/async_support/binance.py +106 -101
- ccxt/async_support/bingx.py +64 -42
- ccxt/async_support/bitget.py +0 -3
- ccxt/async_support/bitmart.py +12 -1
- ccxt/async_support/bitopro.py +1 -0
- ccxt/async_support/bitrue.py +1 -0
- ccxt/async_support/cex.py +1 -0
- ccxt/async_support/coinbaseexchange.py +1 -0
- ccxt/async_support/deribit.py +1 -0
- ccxt/async_support/hashkey.py +4 -2
- ccxt/async_support/kraken.py +77 -5
- ccxt/async_support/kucoin.py +4 -2
- ccxt/async_support/mexc.py +8 -4
- ccxt/async_support/okx.py +58 -46
- ccxt/async_support/poloniex.py +1263 -85
- ccxt/async_support/whitebit.py +4 -2
- ccxt/base/exchange.py +23 -3
- ccxt/base/types.py +28 -0
- ccxt/binance.py +106 -101
- ccxt/bingx.py +64 -42
- ccxt/bitget.py +0 -3
- ccxt/bitmart.py +12 -1
- ccxt/bitopro.py +1 -0
- ccxt/bitrue.py +1 -0
- ccxt/cex.py +1 -0
- ccxt/coinbaseexchange.py +1 -0
- ccxt/deribit.py +1 -0
- ccxt/hashkey.py +4 -2
- ccxt/kraken.py +77 -5
- ccxt/kucoin.py +4 -2
- ccxt/mexc.py +8 -4
- ccxt/okx.py +58 -46
- ccxt/poloniex.py +1262 -85
- ccxt/pro/__init__.py +1 -3
- ccxt/pro/binance.py +102 -102
- ccxt/pro/bingx.py +62 -51
- ccxt/test/tests_async.py +1 -0
- ccxt/test/tests_sync.py +1 -0
- ccxt/whitebit.py +4 -2
- {ccxt-4.4.70.dist-info → ccxt-4.4.71.dist-info}/METADATA +6 -9
- {ccxt-4.4.70.dist-info → ccxt-4.4.71.dist-info}/RECORD +50 -51
- ccxt/abstract/poloniexfutures.py +0 -48
- {ccxt-4.4.70.dist-info → ccxt-4.4.71.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.70.dist-info → ccxt-4.4.71.dist-info}/WHEEL +0 -0
- {ccxt-4.4.70.dist-info → ccxt-4.4.71.dist-info}/top_level.txt +0 -0
ccxt/pro/__init__.py
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
# ----------------------------------------------------------------------------
|
6
6
|
|
7
|
-
__version__ = '4.4.
|
7
|
+
__version__ = '4.4.71'
|
8
8
|
|
9
9
|
# ----------------------------------------------------------------------------
|
10
10
|
|
@@ -78,7 +78,6 @@ from ccxt.pro.p2b import p2b # noqa
|
|
78
78
|
from ccxt.pro.paradex import paradex # noqa: F401
|
79
79
|
from ccxt.pro.phemex import phemex # noqa: F401
|
80
80
|
from ccxt.pro.poloniex import poloniex # noqa: F401
|
81
|
-
from ccxt.pro.poloniexfutures import poloniexfutures # noqa: F401
|
82
81
|
from ccxt.pro.probit import probit # noqa: F401
|
83
82
|
from ccxt.pro.upbit import upbit # noqa: F401
|
84
83
|
from ccxt.pro.vertex import vertex # noqa: F401
|
@@ -154,7 +153,6 @@ exchanges = [
|
|
154
153
|
'paradex',
|
155
154
|
'phemex',
|
156
155
|
'poloniex',
|
157
|
-
'poloniexfutures',
|
158
156
|
'probit',
|
159
157
|
'upbit',
|
160
158
|
'vertex',
|
ccxt/pro/binance.py
CHANGED
@@ -530,15 +530,15 @@ class binance(ccxt.async_support.binance):
|
|
530
530
|
|
531
531
|
async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
532
532
|
"""
|
533
|
+
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
533
534
|
|
534
|
-
https://binance
|
535
|
-
https://binance
|
536
|
-
https://binance
|
537
|
-
https://binance
|
538
|
-
https://binance
|
539
|
-
https://binance
|
535
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#partial-book-depth-streams
|
536
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#diff-depth-stream
|
537
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
|
538
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
|
539
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
|
540
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
|
540
541
|
|
541
|
-
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
542
542
|
:param str symbol: unified symbol of the market to fetch the order book for
|
543
543
|
:param int [limit]: the maximum amount of order book entries to return
|
544
544
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -585,15 +585,15 @@ class binance(ccxt.async_support.binance):
|
|
585
585
|
|
586
586
|
async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
|
587
587
|
"""
|
588
|
+
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
588
589
|
|
589
|
-
https://binance
|
590
|
-
https://binance
|
591
|
-
https://binance
|
592
|
-
https://binance
|
593
|
-
https://binance
|
594
|
-
https://binance
|
590
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#partial-book-depth-streams
|
591
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#diff-depth-stream
|
592
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
|
593
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
|
594
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
|
595
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
|
595
596
|
|
596
|
-
watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
597
597
|
:param str[] symbols: unified array of symbols
|
598
598
|
:param int [limit]: the maximum amount of order book entries to return
|
599
599
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -644,15 +644,15 @@ class binance(ccxt.async_support.binance):
|
|
644
644
|
|
645
645
|
async def un_watch_order_book_for_symbols(self, symbols: List[str], params={}) -> Any:
|
646
646
|
"""
|
647
|
+
unWatches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
647
648
|
|
648
|
-
https://binance
|
649
|
-
https://binance
|
650
|
-
https://binance
|
651
|
-
https://binance
|
652
|
-
https://binance
|
653
|
-
https://binance
|
649
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#partial-book-depth-streams
|
650
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#diff-depth-stream
|
651
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
|
652
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
|
653
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
|
654
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
|
654
655
|
|
655
|
-
unWatches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
656
656
|
:param str[] symbols: unified array of symbols
|
657
657
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
658
658
|
:returns dict: A dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbols
|
@@ -699,15 +699,15 @@ class binance(ccxt.async_support.binance):
|
|
699
699
|
|
700
700
|
async def un_watch_order_book(self, symbol: str, params={}) -> Any:
|
701
701
|
"""
|
702
|
+
unWatches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
702
703
|
|
703
|
-
https://binance
|
704
|
-
https://binance
|
705
|
-
https://binance
|
706
|
-
https://binance
|
707
|
-
https://binance
|
708
|
-
https://binance
|
704
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#partial-book-depth-streams
|
705
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#diff-depth-stream
|
706
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
|
707
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
|
708
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Partial-Book-Depth-Streams
|
709
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Diff-Book-Depth-Streams
|
709
710
|
|
710
|
-
unWatches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
711
711
|
:param str symbol: unified array of symbols
|
712
712
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
713
713
|
:returns dict: A dictionary of `order book structures <https://docs.ccxt.com/#/?id=order-book-structure>` indexed by market symbols
|
@@ -718,7 +718,7 @@ class binance(ccxt.async_support.binance):
|
|
718
718
|
"""
|
719
719
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
720
720
|
|
721
|
-
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#order-book
|
721
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#order-book
|
722
722
|
https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/websocket-api/Order-Book
|
723
723
|
|
724
724
|
:param str symbol: unified symbol of the market to fetch the order book for
|
@@ -984,10 +984,10 @@ class binance(ccxt.async_support.binance):
|
|
984
984
|
"""
|
985
985
|
get the list of most recent trades for a list of symbols
|
986
986
|
|
987
|
-
https://binance
|
988
|
-
https://binance
|
989
|
-
https://binance
|
990
|
-
https://binance
|
987
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#aggregate-trades
|
988
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#recent-trades
|
989
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
|
990
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
|
991
991
|
|
992
992
|
:param str[] symbols: unified symbol of the market to fetch trades for
|
993
993
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -1042,10 +1042,10 @@ class binance(ccxt.async_support.binance):
|
|
1042
1042
|
"""
|
1043
1043
|
unsubscribes from the trades channel
|
1044
1044
|
|
1045
|
-
https://binance
|
1046
|
-
https://binance
|
1047
|
-
https://binance
|
1048
|
-
https://binance
|
1045
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#aggregate-trades
|
1046
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#recent-trades
|
1047
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
|
1048
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
|
1049
1049
|
|
1050
1050
|
:param str[] symbols: unified symbol of the market to fetch trades for
|
1051
1051
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1100,10 +1100,10 @@ class binance(ccxt.async_support.binance):
|
|
1100
1100
|
"""
|
1101
1101
|
unsubscribes from the trades channel
|
1102
1102
|
|
1103
|
-
https://binance
|
1104
|
-
https://binance
|
1105
|
-
https://binance
|
1106
|
-
https://binance
|
1103
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#aggregate-trades
|
1104
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#recent-trades
|
1105
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
|
1106
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
|
1107
1107
|
|
1108
1108
|
:param str symbol: unified symbol of the market to fetch trades for
|
1109
1109
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1117,10 +1117,10 @@ class binance(ccxt.async_support.binance):
|
|
1117
1117
|
"""
|
1118
1118
|
get the list of most recent trades for a particular symbol
|
1119
1119
|
|
1120
|
-
https://binance
|
1121
|
-
https://binance
|
1122
|
-
https://binance
|
1123
|
-
https://binance
|
1120
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#aggregate-trades
|
1121
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#recent-trades
|
1122
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
|
1123
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Aggregate-Trade-Streams
|
1124
1124
|
|
1125
1125
|
:param str symbol: unified symbol of the market to fetch trades for
|
1126
1126
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -1309,9 +1309,9 @@ class binance(ccxt.async_support.binance):
|
|
1309
1309
|
"""
|
1310
1310
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1311
1311
|
|
1312
|
-
https://binance
|
1313
|
-
https://binance
|
1314
|
-
https://binance
|
1312
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#klines
|
1313
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
|
1314
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
|
1315
1315
|
|
1316
1316
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1317
1317
|
:param str timeframe: the length of time each candle represents
|
@@ -1332,9 +1332,9 @@ class binance(ccxt.async_support.binance):
|
|
1332
1332
|
"""
|
1333
1333
|
watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1334
1334
|
|
1335
|
-
https://binance
|
1336
|
-
https://binance
|
1337
|
-
https://binance
|
1335
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#klines
|
1336
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
|
1337
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
|
1338
1338
|
|
1339
1339
|
:param str[][] symbolsAndTimeframes: array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
|
1340
1340
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -1394,9 +1394,9 @@ class binance(ccxt.async_support.binance):
|
|
1394
1394
|
"""
|
1395
1395
|
unWatches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1396
1396
|
|
1397
|
-
https://binance
|
1398
|
-
https://binance
|
1399
|
-
https://binance
|
1397
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#klines
|
1398
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
|
1399
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
|
1400
1400
|
|
1401
1401
|
:param str[][] symbolsAndTimeframes: array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
|
1402
1402
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1458,9 +1458,9 @@ class binance(ccxt.async_support.binance):
|
|
1458
1458
|
"""
|
1459
1459
|
unWatches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1460
1460
|
|
1461
|
-
https://binance
|
1462
|
-
https://binance
|
1463
|
-
https://binance
|
1461
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#klines
|
1462
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
|
1463
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Kline-Candlestick-Streams
|
1464
1464
|
|
1465
1465
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1466
1466
|
:param str timeframe: the length of time each candle represents
|
@@ -1578,7 +1578,7 @@ class binance(ccxt.async_support.binance):
|
|
1578
1578
|
"""
|
1579
1579
|
query historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1580
1580
|
|
1581
|
-
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#klines
|
1581
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#klines
|
1582
1582
|
|
1583
1583
|
:param str symbol: unified symbol of the market to query OHLCV data for
|
1584
1584
|
:param str timeframe: the length of time each candle represents
|
@@ -1664,15 +1664,15 @@ class binance(ccxt.async_support.binance):
|
|
1664
1664
|
|
1665
1665
|
async def watch_ticker(self, symbol: str, params={}) -> Ticker:
|
1666
1666
|
"""
|
1667
|
+
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
1667
1668
|
|
1668
|
-
https://binance
|
1669
|
-
https://binance
|
1670
|
-
https://binance
|
1671
|
-
https://binance
|
1672
|
-
https://binance
|
1673
|
-
https://binance
|
1669
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-mini-ticker-stream
|
1670
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-mini-tickers-stream
|
1671
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
|
1672
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
|
1673
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
|
1674
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
|
1674
1675
|
|
1675
|
-
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
1676
1676
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
1677
1677
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1678
1678
|
:param str [params.name]: stream to use can be ticker or miniTicker
|
@@ -1685,10 +1685,10 @@ class binance(ccxt.async_support.binance):
|
|
1685
1685
|
|
1686
1686
|
async def watch_mark_price(self, symbol: str, params={}) -> Ticker:
|
1687
1687
|
"""
|
1688
|
+
watches a mark price for a specific market
|
1688
1689
|
|
1689
1690
|
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Mark-Price-Stream
|
1690
1691
|
|
1691
|
-
watches a mark price for a specific market
|
1692
1692
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
1693
1693
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1694
1694
|
:param boolean [params.use1sFreq]: *default is True* if set to True, the mark price will be updated every second, otherwise every 3 seconds
|
@@ -1701,10 +1701,10 @@ class binance(ccxt.async_support.binance):
|
|
1701
1701
|
|
1702
1702
|
async def watch_mark_prices(self, symbols: Strings = None, params={}) -> Tickers:
|
1703
1703
|
"""
|
1704
|
+
watches the mark price for all markets
|
1704
1705
|
|
1705
1706
|
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Mark-Price-Stream-for-All-market
|
1706
1707
|
|
1707
|
-
watches the mark price for all markets
|
1708
1708
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
1709
1709
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1710
1710
|
:param boolean [params.use1sFreq]: *default is True* if set to True, the mark price will be updated every second, otherwise every 3 seconds
|
@@ -1722,15 +1722,15 @@ class binance(ccxt.async_support.binance):
|
|
1722
1722
|
|
1723
1723
|
async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
1724
1724
|
"""
|
1725
|
+
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
1725
1726
|
|
1726
|
-
https://binance
|
1727
|
-
https://binance
|
1728
|
-
https://binance
|
1729
|
-
https://binance
|
1730
|
-
https://binance
|
1731
|
-
https://binance
|
1727
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-mini-ticker-stream
|
1728
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-mini-tickers-stream
|
1729
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
|
1730
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
|
1731
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
|
1732
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
|
1732
1733
|
|
1733
|
-
watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
1734
1734
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
1735
1735
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1736
1736
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -1746,15 +1746,15 @@ class binance(ccxt.async_support.binance):
|
|
1746
1746
|
|
1747
1747
|
async def un_watch_tickers(self, symbols: Strings = None, params={}) -> Any:
|
1748
1748
|
"""
|
1749
|
+
unWatches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
1749
1750
|
|
1750
|
-
https://binance
|
1751
|
-
https://binance
|
1752
|
-
https://binance
|
1753
|
-
https://binance
|
1754
|
-
https://binance
|
1755
|
-
https://binance
|
1751
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-mini-ticker-stream
|
1752
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-mini-tickers-stream
|
1753
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
|
1754
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
|
1755
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
|
1756
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
|
1756
1757
|
|
1757
|
-
unWatches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
1758
1758
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
1759
1759
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1760
1760
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -1825,15 +1825,15 @@ class binance(ccxt.async_support.binance):
|
|
1825
1825
|
|
1826
1826
|
async def un_watch_ticker(self, symbol: str, params={}) -> Any:
|
1827
1827
|
"""
|
1828
|
+
unWatches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
1828
1829
|
|
1829
|
-
https://binance
|
1830
|
-
https://binance
|
1831
|
-
https://binance
|
1832
|
-
https://binance
|
1833
|
-
https://binance
|
1834
|
-
https://binance
|
1830
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#individual-symbol-mini-ticker-stream
|
1831
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams#all-market-mini-tickers-stream
|
1832
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
|
1833
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
|
1834
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/All-Market-Mini-Tickers-Stream
|
1835
|
+
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Individual-Symbol-Ticker-Streams
|
1835
1836
|
|
1836
|
-
unWatches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
1837
1837
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
1838
1838
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1839
1839
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -1844,9 +1844,9 @@ class binance(ccxt.async_support.binance):
|
|
1844
1844
|
"""
|
1845
1845
|
watches best bid & ask for symbols
|
1846
1846
|
|
1847
|
-
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#symbol-order-book-ticker
|
1848
|
-
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Book-Tickers-Stream
|
1847
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#symbol-order-book-ticker
|
1849
1848
|
https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/All-Book-Tickers-Stream
|
1849
|
+
https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Book-Tickers-Stream
|
1850
1850
|
|
1851
1851
|
:param str[] symbols: unified symbol of the market to fetch the ticker for
|
1852
1852
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -2335,7 +2335,7 @@ class binance(ccxt.async_support.binance):
|
|
2335
2335
|
fetch balance and get the amount of funds available for trading or funds locked in orders
|
2336
2336
|
|
2337
2337
|
https://developers.binance.com/docs/derivatives/usds-margined-futures/account/websocket-api/Futures-Account-Balance
|
2338
|
-
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#account-information-user_data
|
2338
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/account-requests#account-information-user_data
|
2339
2339
|
https://developers.binance.com/docs/derivatives/coin-margined-futures/account/websocket-api
|
2340
2340
|
|
2341
2341
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -2438,10 +2438,10 @@ class binance(ccxt.async_support.binance):
|
|
2438
2438
|
|
2439
2439
|
async def fetch_position_ws(self, symbol: str, params={}) -> List[Position]:
|
2440
2440
|
"""
|
2441
|
+
fetch data on an open position
|
2441
2442
|
|
2442
2443
|
https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Position-Information
|
2443
2444
|
|
2444
|
-
fetch data on an open position
|
2445
2445
|
:param str symbol: unified market symbol of the market the position is held in
|
2446
2446
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
2447
2447
|
:returns dict: a `position structure <https://docs.ccxt.com/#/?id=position-structure>`
|
@@ -2682,7 +2682,7 @@ class binance(ccxt.async_support.binance):
|
|
2682
2682
|
"""
|
2683
2683
|
create a trade order
|
2684
2684
|
|
2685
|
-
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#place-new-order-trade
|
2685
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#place-new-order-trade
|
2686
2686
|
https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/New-Order
|
2687
2687
|
https://developers.binance.com/docs/derivatives/coin-margined-futures/trade/websocket-api
|
2688
2688
|
|
@@ -2827,7 +2827,7 @@ class binance(ccxt.async_support.binance):
|
|
2827
2827
|
"""
|
2828
2828
|
edit a trade order
|
2829
2829
|
|
2830
|
-
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-and-replace-order-trade
|
2830
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#cancel-and-replace-order-trade
|
2831
2831
|
https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Modify-Order
|
2832
2832
|
https://developers.binance.com/docs/derivatives/coin-margined-futures/trade/websocket-api/Modify-Order
|
2833
2833
|
|
@@ -2980,7 +2980,7 @@ class binance(ccxt.async_support.binance):
|
|
2980
2980
|
"""
|
2981
2981
|
cancel multiple orders
|
2982
2982
|
|
2983
|
-
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-order-trade
|
2983
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#cancel-order-trade
|
2984
2984
|
https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Cancel-Order
|
2985
2985
|
https://developers.binance.com/docs/derivatives/coin-margined-futures/trade/websocket-api/Cancel-Order
|
2986
2986
|
|
@@ -3024,7 +3024,7 @@ class binance(ccxt.async_support.binance):
|
|
3024
3024
|
"""
|
3025
3025
|
cancel all open orders in a market
|
3026
3026
|
|
3027
|
-
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-open-orders-trade
|
3027
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#cancel-open-orders-trade
|
3028
3028
|
|
3029
3029
|
:param str [symbol]: unified market symbol of the market to cancel orders in
|
3030
3030
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -3058,7 +3058,7 @@ class binance(ccxt.async_support.binance):
|
|
3058
3058
|
"""
|
3059
3059
|
fetches information on an order made by the user
|
3060
3060
|
|
3061
|
-
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#query-order-user_data
|
3061
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#query-order-user_data
|
3062
3062
|
https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Query-Order
|
3063
3063
|
https://developers.binance.com/docs/derivatives/coin-margined-futures/trade/websocket-api/Query-Order
|
3064
3064
|
|
@@ -3102,7 +3102,7 @@ class binance(ccxt.async_support.binance):
|
|
3102
3102
|
"""
|
3103
3103
|
fetches information on multiple orders made by the user
|
3104
3104
|
|
3105
|
-
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#
|
3105
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#order-lists
|
3106
3106
|
|
3107
3107
|
:param str symbol: unified market symbol of the market orders were made in
|
3108
3108
|
:param int|None [since]: the earliest time in ms to fetch orders for
|
@@ -3145,7 +3145,7 @@ class binance(ccxt.async_support.binance):
|
|
3145
3145
|
"""
|
3146
3146
|
fetch closed orders
|
3147
3147
|
|
3148
|
-
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#
|
3148
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#order-lists
|
3149
3149
|
|
3150
3150
|
:param str symbol: unified market symbol
|
3151
3151
|
:param int [since]: the earliest time in ms to fetch open orders for
|
@@ -3165,7 +3165,7 @@ class binance(ccxt.async_support.binance):
|
|
3165
3165
|
"""
|
3166
3166
|
fetch all unfilled currently open orders
|
3167
3167
|
|
3168
|
-
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#current-open-orders-user_data
|
3168
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests#current-open-orders-user_data
|
3169
3169
|
|
3170
3170
|
:param str symbol: unified market symbol
|
3171
3171
|
:param int|None [since]: the earliest time in ms to fetch open orders for
|
@@ -3686,7 +3686,7 @@ class binance(ccxt.async_support.binance):
|
|
3686
3686
|
"""
|
3687
3687
|
fetch all trades made by the user
|
3688
3688
|
|
3689
|
-
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#account-trade-history-user_data
|
3689
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/account-requests#account-trade-history-user_data
|
3690
3690
|
|
3691
3691
|
:param str symbol: unified market symbol
|
3692
3692
|
:param int|None [since]: the earliest time in ms to fetch trades for
|
@@ -3734,7 +3734,7 @@ class binance(ccxt.async_support.binance):
|
|
3734
3734
|
"""
|
3735
3735
|
fetch all trades made by the user
|
3736
3736
|
|
3737
|
-
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#recent-trades
|
3737
|
+
https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/market-data-requests#recent-trades
|
3738
3738
|
|
3739
3739
|
:param str symbol: unified market symbol
|
3740
3740
|
:param int [since]: the earliest time in ms to fetch trades for
|