ccxt 3.1.52__py2.py3-none-any.whl → 3.1.54__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.
Potentially problematic release.
This version of ccxt might be problematic. Click here for more details.
- ccxt/__init__.py +1 -1
- ccxt/abstract/bybit.py +1 -0
- ccxt/abstract/okex.py +1 -0
- ccxt/abstract/okex5.py +1 -0
- ccxt/abstract/okx.py +1 -0
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/base/exchange.py +3 -5
- ccxt/async_support/bitmex.py +447 -399
- ccxt/async_support/bybit.py +1 -0
- ccxt/async_support/cryptocom.py +83 -0
- ccxt/async_support/deribit.py +5 -0
- ccxt/async_support/kucoin.py +57 -14
- ccxt/async_support/luno.py +1 -1
- ccxt/async_support/okx.py +1 -0
- ccxt/base/exchange.py +3 -5
- ccxt/bitmex.py +447 -399
- ccxt/bybit.py +1 -0
- ccxt/cryptocom.py +83 -0
- ccxt/deribit.py +5 -0
- ccxt/kucoin.py +57 -14
- ccxt/luno.py +1 -1
- ccxt/okx.py +1 -0
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/deribit.py +1 -1
- {ccxt-3.1.52.dist-info → ccxt-3.1.54.dist-info}/METADATA +4 -12
- {ccxt-3.1.52.dist-info → ccxt-3.1.54.dist-info}/RECORD +28 -28
- {ccxt-3.1.52.dist-info → ccxt-3.1.54.dist-info}/WHEEL +0 -0
- {ccxt-3.1.52.dist-info → ccxt-3.1.54.dist-info}/top_level.txt +0 -0
ccxt/__init__.py
CHANGED
ccxt/abstract/bybit.py
CHANGED
@@ -201,6 +201,7 @@ class ImplicitAPI:
|
|
201
201
|
private_get_user_v3_private_frozen_sub_member = privateGetUserV3PrivateFrozenSubMember = Entry('user/v3/private/frozen-sub-member', 'private', 'GET', {'cost': 10})
|
202
202
|
private_get_user_v3_private_query_sub_members = privateGetUserV3PrivateQuerySubMembers = Entry('user/v3/private/query-sub-members', 'private', 'GET', {'cost': 5})
|
203
203
|
private_get_user_v3_private_query_api = privateGetUserV3PrivateQueryApi = Entry('user/v3/private/query-api', 'private', 'GET', {'cost': 5})
|
204
|
+
private_get_user_v3_private_get_member_type = privateGetUserV3PrivateGetMemberType = Entry('user/v3/private/get-member-type', 'private', 'GET', {'cost': 1})
|
204
205
|
private_get_asset_v3_private_transfer_transfer_coin_list_query = privateGetAssetV3PrivateTransferTransferCoinListQuery = Entry('asset/v3/private/transfer/transfer-coin/list/query', 'private', 'GET', {'cost': 0.84})
|
205
206
|
private_get_asset_v3_private_transfer_account_coin_balance_query = privateGetAssetV3PrivateTransferAccountCoinBalanceQuery = Entry('asset/v3/private/transfer/account-coin/balance/query', 'private', 'GET', {'cost': 0.84})
|
206
207
|
private_get_asset_v3_private_transfer_account_coins_balance_query = privateGetAssetV3PrivateTransferAccountCoinsBalanceQuery = Entry('asset/v3/private/transfer/account-coins/balance/query', 'private', 'GET', {'cost': 50})
|
ccxt/abstract/okex.py
CHANGED
@@ -14,6 +14,7 @@ class ImplicitAPI:
|
|
14
14
|
public_get_market_index_candles = publicGetMarketIndexCandles = Entry('market/index-candles', 'public', 'GET', {'cost': 1})
|
15
15
|
public_get_market_mark_price_candles = publicGetMarketMarkPriceCandles = Entry('market/mark-price-candles', 'public', 'GET', {'cost': 1})
|
16
16
|
public_get_market_trades = publicGetMarketTrades = Entry('market/trades', 'public', 'GET', {'cost': 1})
|
17
|
+
public_get_market_history_trades = publicGetMarketHistoryTrades = Entry('market/history-trades', 'public', 'GET', {'cost': 2})
|
17
18
|
public_get_market_platform_24_volume = publicGetMarketPlatform24Volume = Entry('market/platform-24-volume', 'public', 'GET', {'cost': 10})
|
18
19
|
public_get_market_open_oracle = publicGetMarketOpenOracle = Entry('market/open-oracle', 'public', 'GET', {'cost': 40})
|
19
20
|
public_get_market_index_components = publicGetMarketIndexComponents = Entry('market/index-components', 'public', 'GET', {'cost': 1})
|
ccxt/abstract/okex5.py
CHANGED
@@ -14,6 +14,7 @@ class ImplicitAPI:
|
|
14
14
|
public_get_market_index_candles = publicGetMarketIndexCandles = Entry('market/index-candles', 'public', 'GET', {'cost': 1})
|
15
15
|
public_get_market_mark_price_candles = publicGetMarketMarkPriceCandles = Entry('market/mark-price-candles', 'public', 'GET', {'cost': 1})
|
16
16
|
public_get_market_trades = publicGetMarketTrades = Entry('market/trades', 'public', 'GET', {'cost': 1})
|
17
|
+
public_get_market_history_trades = publicGetMarketHistoryTrades = Entry('market/history-trades', 'public', 'GET', {'cost': 2})
|
17
18
|
public_get_market_platform_24_volume = publicGetMarketPlatform24Volume = Entry('market/platform-24-volume', 'public', 'GET', {'cost': 10})
|
18
19
|
public_get_market_open_oracle = publicGetMarketOpenOracle = Entry('market/open-oracle', 'public', 'GET', {'cost': 40})
|
19
20
|
public_get_market_index_components = publicGetMarketIndexComponents = Entry('market/index-components', 'public', 'GET', {'cost': 1})
|
ccxt/abstract/okx.py
CHANGED
@@ -14,6 +14,7 @@ class ImplicitAPI:
|
|
14
14
|
public_get_market_index_candles = publicGetMarketIndexCandles = Entry('market/index-candles', 'public', 'GET', {'cost': 1})
|
15
15
|
public_get_market_mark_price_candles = publicGetMarketMarkPriceCandles = Entry('market/mark-price-candles', 'public', 'GET', {'cost': 1})
|
16
16
|
public_get_market_trades = publicGetMarketTrades = Entry('market/trades', 'public', 'GET', {'cost': 1})
|
17
|
+
public_get_market_history_trades = publicGetMarketHistoryTrades = Entry('market/history-trades', 'public', 'GET', {'cost': 2})
|
17
18
|
public_get_market_platform_24_volume = publicGetMarketPlatform24Volume = Entry('market/platform-24-volume', 'public', 'GET', {'cost': 10})
|
18
19
|
public_get_market_open_oracle = publicGetMarketOpenOracle = Entry('market/open-oracle', 'public', 'GET', {'cost': 40})
|
19
20
|
public_get_market_index_components = publicGetMarketIndexComponents = Entry('market/index-components', 'public', 'GET', {'cost': 1})
|
ccxt/async_support/__init__.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# -----------------------------------------------------------------------------
|
4
4
|
|
5
|
-
__version__ = '3.1.
|
5
|
+
__version__ = '3.1.54'
|
6
6
|
|
7
7
|
# -----------------------------------------------------------------------------
|
8
8
|
|
@@ -564,8 +564,6 @@ class Exchange(BaseExchange):
|
|
564
564
|
val = val + 1
|
565
565
|
if val > 1:
|
566
566
|
raise ExchangeError(self.id + ' you have multiple conflicting proxy settings, please use only one from : proxyUrl, httpProxy, httpsProxy, socksProxy, userAgent')
|
567
|
-
if (val == 1) and (self.proxy is not None):
|
568
|
-
raise ExchangeError(self.id + ' you have multiple conflicting proxy settings, instead of deprecated .proxy please use from: proxyUrl, httpProxy, httpsProxy, socksProxy')
|
569
567
|
return [proxyUrl, httpProxy, httpsProxy, socksProxy]
|
570
568
|
|
571
569
|
def find_message_hashes(self, client, element: str):
|
@@ -1334,8 +1332,8 @@ class Exchange(BaseExchange):
|
|
1334
1332
|
percentage = self.safe_value(ticker, 'percentage')
|
1335
1333
|
average = self.safe_value(ticker, 'average')
|
1336
1334
|
vwap = self.safe_value(ticker, 'vwap')
|
1337
|
-
baseVolume = self.
|
1338
|
-
quoteVolume = self.
|
1335
|
+
baseVolume = self.safe_string(ticker, 'baseVolume')
|
1336
|
+
quoteVolume = self.safe_string(ticker, 'quoteVolume')
|
1339
1337
|
if vwap is None:
|
1340
1338
|
vwap = Precise.string_div(quoteVolume, baseVolume)
|
1341
1339
|
if (last is not None) and (close is None):
|