ccxt 4.4.26__py2.py3-none-any.whl → 4.4.28__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/alpaca.py +2 -0
- ccxt/abstract/binance.py +7 -0
- ccxt/abstract/binancecoinm.py +7 -0
- ccxt/abstract/binanceus.py +7 -0
- ccxt/abstract/binanceusdm.py +7 -0
- ccxt/abstract/hyperliquid.py +1 -1
- ccxt/ace.py +1 -1
- ccxt/alpaca.py +186 -6
- ccxt/ascendex.py +1 -1
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +1 -1
- ccxt/async_support/alpaca.py +186 -6
- ccxt/async_support/ascendex.py +1 -1
- ccxt/async_support/base/exchange.py +19 -1
- ccxt/async_support/bequant.py +1 -1
- ccxt/async_support/bigone.py +1 -1
- ccxt/async_support/binance.py +8 -1
- ccxt/async_support/binancecoinm.py +1 -1
- ccxt/async_support/binanceus.py +1 -1
- ccxt/async_support/binanceusdm.py +1 -1
- ccxt/async_support/bingx.py +23 -28
- ccxt/async_support/bit2c.py +1 -1
- ccxt/async_support/bitbank.py +1 -1
- ccxt/async_support/bitbns.py +1 -1
- ccxt/async_support/bitfinex.py +1 -1
- ccxt/async_support/bitfinex2.py +1 -1
- ccxt/async_support/bitflyer.py +1 -1
- ccxt/async_support/bitget.py +1 -1
- ccxt/async_support/bithumb.py +1 -1
- ccxt/async_support/bitmart.py +1 -1
- ccxt/async_support/bitmex.py +1 -1
- ccxt/async_support/bitopro.py +1 -1
- ccxt/async_support/bitrue.py +1 -1
- ccxt/async_support/bitso.py +1 -1
- ccxt/async_support/bitstamp.py +1 -1
- ccxt/async_support/bitteam.py +1 -1
- ccxt/async_support/bitvavo.py +1 -1
- ccxt/async_support/bl3p.py +1 -1
- ccxt/async_support/blockchaincom.py +1 -1
- ccxt/async_support/blofin.py +1 -1
- ccxt/async_support/btcalpha.py +1 -1
- ccxt/async_support/btcbox.py +1 -1
- ccxt/async_support/btcmarkets.py +1 -1
- ccxt/async_support/btcturk.py +1 -1
- ccxt/async_support/bybit.py +4 -1
- ccxt/async_support/coinbase.py +89 -11
- ccxt/async_support/coinex.py +1 -1
- ccxt/async_support/gate.py +20 -16
- ccxt/async_support/hyperliquid.py +19 -1
- ccxt/async_support/kraken.py +43 -35
- ccxt/async_support/lbank.py +97 -2
- ccxt/async_support/wavesexchange.py +14 -2
- ccxt/base/exchange.py +19 -1
- ccxt/bequant.py +1 -1
- ccxt/bigone.py +1 -1
- ccxt/binance.py +8 -1
- ccxt/binancecoinm.py +1 -1
- ccxt/binanceus.py +1 -1
- ccxt/binanceusdm.py +1 -1
- ccxt/bingx.py +23 -28
- ccxt/bit2c.py +1 -1
- ccxt/bitbank.py +1 -1
- ccxt/bitbns.py +1 -1
- ccxt/bitfinex.py +1 -1
- ccxt/bitfinex2.py +1 -1
- ccxt/bitflyer.py +1 -1
- ccxt/bitget.py +1 -1
- ccxt/bithumb.py +1 -1
- ccxt/bitmart.py +1 -1
- ccxt/bitmex.py +1 -1
- ccxt/bitopro.py +1 -1
- ccxt/bitrue.py +1 -1
- ccxt/bitso.py +1 -1
- ccxt/bitstamp.py +1 -1
- ccxt/bitteam.py +1 -1
- ccxt/bitvavo.py +1 -1
- ccxt/bl3p.py +1 -1
- ccxt/blockchaincom.py +1 -1
- ccxt/blofin.py +1 -1
- ccxt/btcalpha.py +1 -1
- ccxt/btcbox.py +1 -1
- ccxt/btcmarkets.py +1 -1
- ccxt/btcturk.py +1 -1
- ccxt/bybit.py +4 -1
- ccxt/coinbase.py +89 -11
- ccxt/coinex.py +1 -1
- ccxt/gate.py +20 -16
- ccxt/hyperliquid.py +19 -1
- ccxt/kraken.py +43 -35
- ccxt/lbank.py +97 -2
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/binance.py +6 -7
- ccxt/pro/bybit.py +1 -1
- ccxt/pro/lbank.py +7 -4
- ccxt/pro/okx.py +1 -1
- ccxt/wavesexchange.py +14 -2
- ccxt-4.4.28.dist-info/METADATA +637 -0
- {ccxt-4.4.26.dist-info → ccxt-4.4.28.dist-info}/RECORD +102 -102
- ccxt-4.4.26.dist-info/METADATA +0 -636
- {ccxt-4.4.26.dist-info → ccxt-4.4.28.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.26.dist-info → ccxt-4.4.28.dist-info}/WHEEL +0 -0
- {ccxt-4.4.26.dist-info → ccxt-4.4.28.dist-info}/top_level.txt +0 -0
ccxt/pro/lbank.py
CHANGED
@@ -780,10 +780,13 @@ class lbank(ccxt.async_support.lbank):
|
|
780
780
|
# {ping: 'a13a939c-5f25-4e06-9981-93cb3b890707', action: 'ping'}
|
781
781
|
#
|
782
782
|
pingId = self.safe_string(message, 'ping')
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
783
|
+
try:
|
784
|
+
await client.send({
|
785
|
+
'action': 'pong',
|
786
|
+
'pong': pingId,
|
787
|
+
})
|
788
|
+
except Exception as e:
|
789
|
+
self.on_error(client, e)
|
787
790
|
|
788
791
|
def handle_message(self, client, message):
|
789
792
|
status = self.safe_string(message, 'status')
|
ccxt/pro/okx.py
CHANGED
@@ -930,7 +930,7 @@ class okx(ccxt.async_support.okx):
|
|
930
930
|
filtered = self.filter_by_since_limit(candles, since, limit, 0, True)
|
931
931
|
return self.create_ohlcv_object(symbol, timeframe, filtered)
|
932
932
|
|
933
|
-
async def un_watch_ohlcv_for_symbols(self, symbolsAndTimeframes: List[List[str]], params={}):
|
933
|
+
async def un_watch_ohlcv_for_symbols(self, symbolsAndTimeframes: List[List[str]], params={}) -> Any:
|
934
934
|
"""
|
935
935
|
unWatches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
936
936
|
:param str[][] symbolsAndTimeframes: array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
|
ccxt/wavesexchange.py
CHANGED
@@ -137,7 +137,13 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
137
137
|
'forward': 'https://wx.network/api/v1/forward/matcher',
|
138
138
|
'market': 'https://wx.network/api/v1/forward/marketdata/api/v1',
|
139
139
|
},
|
140
|
-
'doc':
|
140
|
+
'doc': [
|
141
|
+
'https://docs.wx.network',
|
142
|
+
'https://docs.waves.tech',
|
143
|
+
'https://api.wavesplatform.com/v0/docs/',
|
144
|
+
'https://nodes.wavesnodes.com/api-docs/index.html',
|
145
|
+
'https://matcher.waves.exchange/api-docs/index.html',
|
146
|
+
],
|
141
147
|
'www': 'https://wx.network',
|
142
148
|
},
|
143
149
|
'api': {
|
@@ -601,6 +607,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
601
607
|
def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
602
608
|
"""
|
603
609
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
610
|
+
:see: https://matcher.waves.exchange/api-docs/index.html#/markets/getOrderBook
|
604
611
|
:param str symbol: unified symbol of the market to fetch the order book for
|
605
612
|
:param int [limit]: the maximum amount of order book entries to return
|
606
613
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -721,6 +728,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
721
728
|
def sign_in(self, params={}):
|
722
729
|
"""
|
723
730
|
sign in, must be called prior to using other authenticated methods
|
731
|
+
:see: https://docs.wx.network/en/api/auth/oauth2-token
|
724
732
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
725
733
|
:returns: response from exchange
|
726
734
|
"""
|
@@ -831,6 +839,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
831
839
|
def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
832
840
|
"""
|
833
841
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
842
|
+
:see: https://api.wavesplatform.com/v0/docs/#/pairs/getPairsListAll
|
834
843
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
835
844
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
836
845
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -872,7 +881,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
872
881
|
def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
873
882
|
"""
|
874
883
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
875
|
-
:param str[]
|
884
|
+
:param str[] [symbols]: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
876
885
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
877
886
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
878
887
|
"""
|
@@ -911,6 +920,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
911
920
|
def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
912
921
|
"""
|
913
922
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
923
|
+
:see: https://api.wavesplatform.com/v0/docs/#/candles/getCandles
|
914
924
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
915
925
|
:param str timeframe: the length of time each candle represents
|
916
926
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -1216,6 +1226,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
1216
1226
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
1217
1227
|
"""
|
1218
1228
|
create a trade order
|
1229
|
+
:see: https://matcher.waves.exchange/api-docs/index.html#/serialize/serializeOrder
|
1219
1230
|
:param str symbol: unified symbol of the market to create an order in
|
1220
1231
|
:param str type: 'market' or 'limit'
|
1221
1232
|
:param str side: 'buy' or 'sell'
|
@@ -1431,6 +1442,7 @@ class wavesexchange(Exchange, ImplicitAPI):
|
|
1431
1442
|
def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1432
1443
|
"""
|
1433
1444
|
fetches information on an order made by the user
|
1445
|
+
:see: https://matcher.waves.exchange/api-docs/index.html#/status/getOrderStatusByPKAndIdWithSig
|
1434
1446
|
:param str symbol: unified symbol of the market the order was made in
|
1435
1447
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1436
1448
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|