ccxt 4.4.34__py2.py3-none-any.whl → 4.4.35__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.
Files changed (46) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/bingx.py +1 -0
  3. ccxt/abstract/bitpanda.py +0 -12
  4. ccxt/abstract/bitrue.py +3 -3
  5. ccxt/abstract/okx.py +1 -0
  6. ccxt/abstract/onetrading.py +0 -12
  7. ccxt/abstract/xt.py +5 -5
  8. ccxt/async_support/__init__.py +1 -1
  9. ccxt/async_support/base/exchange.py +1 -1
  10. ccxt/async_support/bingx.py +324 -138
  11. ccxt/async_support/bitmex.py +1 -1
  12. ccxt/async_support/bitrue.py +2 -2
  13. ccxt/async_support/btcmarkets.py +3 -3
  14. ccxt/async_support/btcturk.py +19 -19
  15. ccxt/async_support/gate.py +142 -39
  16. ccxt/async_support/hyperliquid.py +68 -11
  17. ccxt/async_support/idex.py +3 -4
  18. ccxt/async_support/kraken.py +58 -49
  19. ccxt/async_support/kucoin.py +1 -1
  20. ccxt/async_support/okx.py +1 -0
  21. ccxt/async_support/onetrading.py +47 -369
  22. ccxt/async_support/xt.py +10 -10
  23. ccxt/base/exchange.py +2 -1
  24. ccxt/bingx.py +324 -138
  25. ccxt/bitmex.py +1 -1
  26. ccxt/bitrue.py +2 -2
  27. ccxt/btcmarkets.py +3 -3
  28. ccxt/btcturk.py +19 -19
  29. ccxt/gate.py +142 -39
  30. ccxt/hyperliquid.py +68 -11
  31. ccxt/idex.py +3 -4
  32. ccxt/kraken.py +58 -49
  33. ccxt/kucoin.py +1 -1
  34. ccxt/okx.py +1 -0
  35. ccxt/onetrading.py +47 -369
  36. ccxt/pro/__init__.py +1 -1
  37. ccxt/pro/bitrue.py +13 -11
  38. ccxt/pro/probit.py +54 -66
  39. ccxt/test/tests_async.py +29 -2
  40. ccxt/test/tests_sync.py +29 -2
  41. ccxt/xt.py +10 -10
  42. {ccxt-4.4.34.dist-info → ccxt-4.4.35.dist-info}/METADATA +4 -4
  43. {ccxt-4.4.34.dist-info → ccxt-4.4.35.dist-info}/RECORD +46 -46
  44. {ccxt-4.4.34.dist-info → ccxt-4.4.35.dist-info}/LICENSE.txt +0 -0
  45. {ccxt-4.4.34.dist-info → ccxt-4.4.35.dist-info}/WHEEL +0 -0
  46. {ccxt-4.4.34.dist-info → ccxt-4.4.35.dist-info}/top_level.txt +0 -0
ccxt/__init__.py CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  # ----------------------------------------------------------------------------
24
24
 
25
- __version__ = '4.4.34'
25
+ __version__ = '4.4.35'
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
ccxt/abstract/bingx.py CHANGED
@@ -132,6 +132,7 @@ class ImplicitAPI:
132
132
  wallets_v1_private_post_capital_deposit_createsubaddress = walletsV1PrivatePostCapitalDepositCreateSubAddress = Entry('capital/deposit/createSubAddress', ['wallets', 'v1', 'private'], 'POST', {'cost': 2})
133
133
  subaccount_v1_private_get_list = subAccountV1PrivateGetList = Entry('list', ['subAccount', 'v1', 'private'], 'GET', {'cost': 10})
134
134
  subaccount_v1_private_get_assets = subAccountV1PrivateGetAssets = Entry('assets', ['subAccount', 'v1', 'private'], 'GET', {'cost': 2})
135
+ subaccount_v1_private_get_allaccountbalance = subAccountV1PrivateGetAllAccountBalance = Entry('allAccountBalance', ['subAccount', 'v1', 'private'], 'GET', {'cost': 2})
135
136
  subaccount_v1_private_post_create = subAccountV1PrivatePostCreate = Entry('create', ['subAccount', 'v1', 'private'], 'POST', {'cost': 10})
136
137
  subaccount_v1_private_post_apikey_create = subAccountV1PrivatePostApiKeyCreate = Entry('apiKey/create', ['subAccount', 'v1', 'private'], 'POST', {'cost': 2})
137
138
  subaccount_v1_private_post_apikey_edit = subAccountV1PrivatePostApiKeyEdit = Entry('apiKey/edit', ['subAccount', 'v1', 'private'], 'POST', {'cost': 2})
ccxt/abstract/bitpanda.py CHANGED
@@ -9,26 +9,14 @@ class ImplicitAPI:
9
9
  public_get_order_book_instrument_code = publicGetOrderBookInstrumentCode = Entry('order-book/{instrument_code}', 'public', 'GET', {})
10
10
  public_get_market_ticker = publicGetMarketTicker = Entry('market-ticker', 'public', 'GET', {})
11
11
  public_get_market_ticker_instrument_code = publicGetMarketTickerInstrumentCode = Entry('market-ticker/{instrument_code}', 'public', 'GET', {})
12
- public_get_price_ticks_instrument_code = publicGetPriceTicksInstrumentCode = Entry('price-ticks/{instrument_code}', 'public', 'GET', {})
13
12
  public_get_time = publicGetTime = Entry('time', 'public', 'GET', {})
14
13
  private_get_account_balances = privateGetAccountBalances = Entry('account/balances', 'private', 'GET', {})
15
- private_get_account_deposit_crypto_currency_code = privateGetAccountDepositCryptoCurrencyCode = Entry('account/deposit/crypto/{currency_code}', 'private', 'GET', {})
16
- private_get_account_deposit_fiat_eur = privateGetAccountDepositFiatEUR = Entry('account/deposit/fiat/EUR', 'private', 'GET', {})
17
- private_get_account_deposits = privateGetAccountDeposits = Entry('account/deposits', 'private', 'GET', {})
18
- private_get_account_deposits_bitpanda = privateGetAccountDepositsBitpanda = Entry('account/deposits/bitpanda', 'private', 'GET', {})
19
- private_get_account_withdrawals = privateGetAccountWithdrawals = Entry('account/withdrawals', 'private', 'GET', {})
20
- private_get_account_withdrawals_bitpanda = privateGetAccountWithdrawalsBitpanda = Entry('account/withdrawals/bitpanda', 'private', 'GET', {})
21
14
  private_get_account_fees = privateGetAccountFees = Entry('account/fees', 'private', 'GET', {})
22
15
  private_get_account_orders = privateGetAccountOrders = Entry('account/orders', 'private', 'GET', {})
23
16
  private_get_account_orders_order_id = privateGetAccountOrdersOrderId = Entry('account/orders/{order_id}', 'private', 'GET', {})
24
17
  private_get_account_orders_order_id_trades = privateGetAccountOrdersOrderIdTrades = Entry('account/orders/{order_id}/trades', 'private', 'GET', {})
25
18
  private_get_account_trades = privateGetAccountTrades = Entry('account/trades', 'private', 'GET', {})
26
19
  private_get_account_trades_trade_id = privateGetAccountTradesTradeId = Entry('account/trades/{trade_id}', 'private', 'GET', {})
27
- private_get_account_trading_volume = privateGetAccountTradingVolume = Entry('account/trading-volume', 'private', 'GET', {})
28
- private_post_account_deposit_crypto = privatePostAccountDepositCrypto = Entry('account/deposit/crypto', 'private', 'POST', {})
29
- private_post_account_withdraw_crypto = privatePostAccountWithdrawCrypto = Entry('account/withdraw/crypto', 'private', 'POST', {})
30
- private_post_account_withdraw_fiat = privatePostAccountWithdrawFiat = Entry('account/withdraw/fiat', 'private', 'POST', {})
31
- private_post_account_fees = privatePostAccountFees = Entry('account/fees', 'private', 'POST', {})
32
20
  private_post_account_orders = privatePostAccountOrders = Entry('account/orders', 'private', 'POST', {})
33
21
  private_delete_account_orders = privateDeleteAccountOrders = Entry('account/orders', 'private', 'DELETE', {})
34
22
  private_delete_account_orders_order_id = privateDeleteAccountOrdersOrderId = Entry('account/orders/{order_id}', 'private', 'DELETE', {})
ccxt/abstract/bitrue.py CHANGED
@@ -67,6 +67,6 @@ class ImplicitAPI:
67
67
  dapi_v2_private_post_order = dapiV2PrivatePostOrder = Entry('order', ['dapi', 'v2', 'private'], 'POST', {'cost': 1})
68
68
  dapi_v2_private_post_allopenorders = dapiV2PrivatePostAllOpenOrders = Entry('allOpenOrders', ['dapi', 'v2', 'private'], 'POST', {'cost': 1})
69
69
  dapi_v2_private_post_futures_transfer = dapiV2PrivatePostFuturesTransfer = Entry('futures_transfer', ['dapi', 'v2', 'private'], 'POST', {'cost': 1})
70
- open_private_post_poseidon_api_v1_listenkey = openPrivatePostPoseidonApiV1ListenKey = Entry('poseidon/api/v1/listenKey', ['open', 'private'], 'POST', {'cost': 1})
71
- open_private_put_poseidon_api_v1_listenkey_listenkey = openPrivatePutPoseidonApiV1ListenKeyListenKey = Entry('poseidon/api/v1/listenKey/{listenKey}', ['open', 'private'], 'PUT', {'cost': 1})
72
- open_private_delete_poseidon_api_v1_listenkey_listenkey = openPrivateDeletePoseidonApiV1ListenKeyListenKey = Entry('poseidon/api/v1/listenKey/{listenKey}', ['open', 'private'], 'DELETE', {'cost': 1})
70
+ open_v1_private_post_poseidon_api_v1_listenkey = openV1PrivatePostPoseidonApiV1ListenKey = Entry('poseidon/api/v1/listenKey', ['open', 'v1', 'private'], 'POST', {'cost': 1})
71
+ open_v1_private_put_poseidon_api_v1_listenkey_listenkey = openV1PrivatePutPoseidonApiV1ListenKeyListenKey = Entry('poseidon/api/v1/listenKey/{listenKey}', ['open', 'v1', 'private'], 'PUT', {'cost': 1})
72
+ open_v1_private_delete_poseidon_api_v1_listenkey_listenkey = openV1PrivateDeletePoseidonApiV1ListenKeyListenKey = Entry('poseidon/api/v1/listenKey/{listenKey}', ['open', 'v1', 'private'], 'DELETE', {'cost': 1})
ccxt/abstract/okx.py CHANGED
@@ -123,6 +123,7 @@ class ImplicitAPI:
123
123
  private_get_asset_convert_currency_pair = privateGetAssetConvertCurrencyPair = Entry('asset/convert/currency-pair', 'private', 'GET', {'cost': 1.6666666666666667})
124
124
  private_get_asset_convert_history = privateGetAssetConvertHistory = Entry('asset/convert/history', 'private', 'GET', {'cost': 1.6666666666666667})
125
125
  private_get_asset_monthly_statement = privateGetAssetMonthlyStatement = Entry('asset/monthly-statement', 'private', 'GET', {'cost': 2})
126
+ private_get_account_instruments = privateGetAccountInstruments = Entry('account/instruments', 'private', 'GET', {'cost': 1})
126
127
  private_get_account_balance = privateGetAccountBalance = Entry('account/balance', 'private', 'GET', {'cost': 2})
127
128
  private_get_account_positions = privateGetAccountPositions = Entry('account/positions', 'private', 'GET', {'cost': 2})
128
129
  private_get_account_positions_history = privateGetAccountPositionsHistory = Entry('account/positions-history', 'private', 'GET', {'cost': 100})
@@ -9,26 +9,14 @@ class ImplicitAPI:
9
9
  public_get_order_book_instrument_code = publicGetOrderBookInstrumentCode = Entry('order-book/{instrument_code}', 'public', 'GET', {})
10
10
  public_get_market_ticker = publicGetMarketTicker = Entry('market-ticker', 'public', 'GET', {})
11
11
  public_get_market_ticker_instrument_code = publicGetMarketTickerInstrumentCode = Entry('market-ticker/{instrument_code}', 'public', 'GET', {})
12
- public_get_price_ticks_instrument_code = publicGetPriceTicksInstrumentCode = Entry('price-ticks/{instrument_code}', 'public', 'GET', {})
13
12
  public_get_time = publicGetTime = Entry('time', 'public', 'GET', {})
14
13
  private_get_account_balances = privateGetAccountBalances = Entry('account/balances', 'private', 'GET', {})
15
- private_get_account_deposit_crypto_currency_code = privateGetAccountDepositCryptoCurrencyCode = Entry('account/deposit/crypto/{currency_code}', 'private', 'GET', {})
16
- private_get_account_deposit_fiat_eur = privateGetAccountDepositFiatEUR = Entry('account/deposit/fiat/EUR', 'private', 'GET', {})
17
- private_get_account_deposits = privateGetAccountDeposits = Entry('account/deposits', 'private', 'GET', {})
18
- private_get_account_deposits_bitpanda = privateGetAccountDepositsBitpanda = Entry('account/deposits/bitpanda', 'private', 'GET', {})
19
- private_get_account_withdrawals = privateGetAccountWithdrawals = Entry('account/withdrawals', 'private', 'GET', {})
20
- private_get_account_withdrawals_bitpanda = privateGetAccountWithdrawalsBitpanda = Entry('account/withdrawals/bitpanda', 'private', 'GET', {})
21
14
  private_get_account_fees = privateGetAccountFees = Entry('account/fees', 'private', 'GET', {})
22
15
  private_get_account_orders = privateGetAccountOrders = Entry('account/orders', 'private', 'GET', {})
23
16
  private_get_account_orders_order_id = privateGetAccountOrdersOrderId = Entry('account/orders/{order_id}', 'private', 'GET', {})
24
17
  private_get_account_orders_order_id_trades = privateGetAccountOrdersOrderIdTrades = Entry('account/orders/{order_id}/trades', 'private', 'GET', {})
25
18
  private_get_account_trades = privateGetAccountTrades = Entry('account/trades', 'private', 'GET', {})
26
19
  private_get_account_trades_trade_id = privateGetAccountTradesTradeId = Entry('account/trades/{trade_id}', 'private', 'GET', {})
27
- private_get_account_trading_volume = privateGetAccountTradingVolume = Entry('account/trading-volume', 'private', 'GET', {})
28
- private_post_account_deposit_crypto = privatePostAccountDepositCrypto = Entry('account/deposit/crypto', 'private', 'POST', {})
29
- private_post_account_withdraw_crypto = privatePostAccountWithdrawCrypto = Entry('account/withdraw/crypto', 'private', 'POST', {})
30
- private_post_account_withdraw_fiat = privatePostAccountWithdrawFiat = Entry('account/withdraw/fiat', 'private', 'POST', {})
31
- private_post_account_fees = privatePostAccountFees = Entry('account/fees', 'private', 'POST', {})
32
20
  private_post_account_orders = privatePostAccountOrders = Entry('account/orders', 'private', 'POST', {})
33
21
  private_delete_account_orders = privateDeleteAccountOrders = Entry('account/orders', 'private', 'DELETE', {})
34
22
  private_delete_account_orders_order_id = privateDeleteAccountOrdersOrderId = Entry('account/orders/{order_id}', 'private', 'DELETE', {})
ccxt/abstract/xt.py CHANGED
@@ -3,16 +3,16 @@ from ccxt.base.types import Entry
3
3
 
4
4
  class ImplicitAPI:
5
5
  public_spot_get_currencies = publicSpotGetCurrencies = Entry('currencies', ['public', 'spot'], 'GET', {'cost': 1})
6
- public_spot_get_depth = publicSpotGetDepth = Entry('depth', ['public', 'spot'], 'GET', {'cost': 0.05})
7
- public_spot_get_kline = publicSpotGetKline = Entry('kline', ['public', 'spot'], 'GET', {'cost': 0.1})
6
+ public_spot_get_depth = publicSpotGetDepth = Entry('depth', ['public', 'spot'], 'GET', {'cost': 10})
7
+ public_spot_get_kline = publicSpotGetKline = Entry('kline', ['public', 'spot'], 'GET', {'cost': 1})
8
8
  public_spot_get_symbol = publicSpotGetSymbol = Entry('symbol', ['public', 'spot'], 'GET', {'cost': 1})
9
9
  public_spot_get_ticker = publicSpotGetTicker = Entry('ticker', ['public', 'spot'], 'GET', {'cost': 1})
10
10
  public_spot_get_ticker_book = publicSpotGetTickerBook = Entry('ticker/book', ['public', 'spot'], 'GET', {'cost': 1})
11
11
  public_spot_get_ticker_price = publicSpotGetTickerPrice = Entry('ticker/price', ['public', 'spot'], 'GET', {'cost': 1})
12
12
  public_spot_get_ticker_24h = publicSpotGetTicker24h = Entry('ticker/24h', ['public', 'spot'], 'GET', {'cost': 1})
13
13
  public_spot_get_time = publicSpotGetTime = Entry('time', ['public', 'spot'], 'GET', {'cost': 1})
14
- public_spot_get_trade_history = publicSpotGetTradeHistory = Entry('trade/history', ['public', 'spot'], 'GET', {'cost': 0.1})
15
- public_spot_get_trade_recent = publicSpotGetTradeRecent = Entry('trade/recent', ['public', 'spot'], 'GET', {'cost': 0.1})
14
+ public_spot_get_trade_history = publicSpotGetTradeHistory = Entry('trade/history', ['public', 'spot'], 'GET', {'cost': 1})
15
+ public_spot_get_trade_recent = publicSpotGetTradeRecent = Entry('trade/recent', ['public', 'spot'], 'GET', {'cost': 1})
16
16
  public_spot_get_wallet_support_currency = publicSpotGetWalletSupportCurrency = Entry('wallet/support/currency', ['public', 'spot'], 'GET', {'cost': 1})
17
17
  public_linear_get_future_market_v1_public_contract_risk_balance = publicLinearGetFutureMarketV1PublicContractRiskBalance = Entry('future/market/v1/public/contract/risk-balance', ['public', 'linear'], 'GET', {'cost': 1})
18
18
  public_linear_get_future_market_v1_public_contract_open_interest = publicLinearGetFutureMarketV1PublicContractOpenInterest = Entry('future/market/v1/public/contract/open-interest', ['public', 'linear'], 'GET', {'cost': 1})
@@ -66,7 +66,7 @@ class ImplicitAPI:
66
66
  private_spot_get_trade = privateSpotGetTrade = Entry('trade', ['private', 'spot'], 'GET', {'cost': 1})
67
67
  private_spot_get_withdraw_history = privateSpotGetWithdrawHistory = Entry('withdraw/history', ['private', 'spot'], 'GET', {'cost': 1})
68
68
  private_spot_post_order = privateSpotPostOrder = Entry('order', ['private', 'spot'], 'POST', {'cost': 0.2})
69
- private_spot_post_withdraw = privateSpotPostWithdraw = Entry('withdraw', ['private', 'spot'], 'POST', {'cost': 1})
69
+ private_spot_post_withdraw = privateSpotPostWithdraw = Entry('withdraw', ['private', 'spot'], 'POST', {'cost': 10})
70
70
  private_spot_post_balance_transfer = privateSpotPostBalanceTransfer = Entry('balance/transfer', ['private', 'spot'], 'POST', {'cost': 1})
71
71
  private_spot_post_balance_account_transfer = privateSpotPostBalanceAccountTransfer = Entry('balance/account/transfer', ['private', 'spot'], 'POST', {'cost': 1})
72
72
  private_spot_post_ws_token = privateSpotPostWsToken = Entry('ws-token', ['private', 'spot'], 'POST', {'cost': 1})
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.4.34'
7
+ __version__ = '4.4.35'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.4.34'
5
+ __version__ = '4.4.35'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8