ccxt 4.2.84__py2.py3-none-any.whl → 4.2.86__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.

Files changed (152) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/coinex.py +232 -123
  3. ccxt/ace.py +5 -5
  4. ccxt/ascendex.py +8 -8
  5. ccxt/async_support/__init__.py +1 -1
  6. ccxt/async_support/ace.py +5 -5
  7. ccxt/async_support/ascendex.py +8 -8
  8. ccxt/async_support/base/exchange.py +3 -27
  9. ccxt/async_support/bigone.py +12 -12
  10. ccxt/async_support/binance.py +20 -32
  11. ccxt/async_support/bingx.py +45 -28
  12. ccxt/async_support/bit2c.py +1 -1
  13. ccxt/async_support/bitbank.py +27 -29
  14. ccxt/async_support/bitbns.py +5 -5
  15. ccxt/async_support/bitfinex.py +1 -1
  16. ccxt/async_support/bitfinex2.py +1 -1
  17. ccxt/async_support/bitget.py +29 -24
  18. ccxt/async_support/bithumb.py +5 -5
  19. ccxt/async_support/bitmart.py +16 -16
  20. ccxt/async_support/bitopro.py +1 -1
  21. ccxt/async_support/bitrue.py +4 -4
  22. ccxt/async_support/bitso.py +5 -5
  23. ccxt/async_support/bitstamp.py +1 -1
  24. ccxt/async_support/bitteam.py +8 -8
  25. ccxt/async_support/bl3p.py +1 -1
  26. ccxt/async_support/btcturk.py +6 -6
  27. ccxt/async_support/bybit.py +30 -83
  28. ccxt/async_support/coincheck.py +4 -4
  29. ccxt/async_support/coinex.py +404 -262
  30. ccxt/async_support/coinlist.py +7 -7
  31. ccxt/async_support/coinmate.py +4 -4
  32. ccxt/async_support/coinmetro.py +3 -3
  33. ccxt/async_support/coinone.py +5 -5
  34. ccxt/async_support/coinspot.py +2 -2
  35. ccxt/async_support/cryptocom.py +17 -17
  36. ccxt/async_support/currencycom.py +1 -1
  37. ccxt/async_support/delta.py +0 -8
  38. ccxt/async_support/deribit.py +16 -80
  39. ccxt/async_support/digifinex.py +8 -8
  40. ccxt/async_support/exmo.py +8 -8
  41. ccxt/async_support/gate.py +0 -8
  42. ccxt/async_support/hitbtc.py +5 -4
  43. ccxt/async_support/hollaex.py +7 -7
  44. ccxt/async_support/htx.py +7 -7
  45. ccxt/async_support/huobijp.py +3 -3
  46. ccxt/async_support/idex.py +12 -12
  47. ccxt/async_support/independentreserve.py +2 -2
  48. ccxt/async_support/indodax.py +2 -2
  49. ccxt/async_support/kraken.py +8 -8
  50. ccxt/async_support/krakenfutures.py +6 -6
  51. ccxt/async_support/kucoin.py +4 -1
  52. ccxt/async_support/kucoinfutures.py +8 -8
  53. ccxt/async_support/kuna.py +16 -16
  54. ccxt/async_support/latoken.py +2 -2
  55. ccxt/async_support/lbank.py +10 -10
  56. ccxt/async_support/luno.py +4 -4
  57. ccxt/async_support/mercado.py +5 -5
  58. ccxt/async_support/mexc.py +6 -6
  59. ccxt/async_support/ndax.py +1 -1
  60. ccxt/async_support/novadax.py +9 -9
  61. ccxt/async_support/oceanex.py +7 -7
  62. ccxt/async_support/okcoin.py +15 -14
  63. ccxt/async_support/okx.py +23 -31
  64. ccxt/async_support/onetrading.py +4 -4
  65. ccxt/async_support/p2b.py +7 -7
  66. ccxt/async_support/phemex.py +12 -12
  67. ccxt/async_support/poloniexfutures.py +5 -5
  68. ccxt/async_support/probit.py +11 -11
  69. ccxt/async_support/timex.py +7 -7
  70. ccxt/async_support/tokocrypto.py +9 -9
  71. ccxt/async_support/wavesexchange.py +3 -3
  72. ccxt/async_support/whitebit.py +5 -5
  73. ccxt/async_support/woo.py +1 -1
  74. ccxt/async_support/zaif.py +1 -1
  75. ccxt/async_support/zonda.py +7 -7
  76. ccxt/base/exchange.py +66 -23
  77. ccxt/bigone.py +12 -12
  78. ccxt/binance.py +20 -32
  79. ccxt/bingx.py +45 -28
  80. ccxt/bit2c.py +1 -1
  81. ccxt/bitbank.py +27 -29
  82. ccxt/bitbns.py +5 -5
  83. ccxt/bitfinex.py +1 -1
  84. ccxt/bitfinex2.py +1 -1
  85. ccxt/bitget.py +29 -24
  86. ccxt/bithumb.py +5 -5
  87. ccxt/bitmart.py +16 -16
  88. ccxt/bitopro.py +1 -1
  89. ccxt/bitrue.py +4 -4
  90. ccxt/bitso.py +5 -5
  91. ccxt/bitstamp.py +1 -1
  92. ccxt/bitteam.py +8 -8
  93. ccxt/bl3p.py +1 -1
  94. ccxt/btcturk.py +6 -6
  95. ccxt/bybit.py +30 -83
  96. ccxt/coincheck.py +4 -4
  97. ccxt/coinex.py +404 -262
  98. ccxt/coinlist.py +7 -7
  99. ccxt/coinmate.py +4 -4
  100. ccxt/coinmetro.py +3 -3
  101. ccxt/coinone.py +5 -5
  102. ccxt/coinspot.py +2 -2
  103. ccxt/cryptocom.py +17 -17
  104. ccxt/currencycom.py +1 -1
  105. ccxt/delta.py +0 -8
  106. ccxt/deribit.py +16 -80
  107. ccxt/digifinex.py +8 -8
  108. ccxt/exmo.py +8 -8
  109. ccxt/gate.py +0 -8
  110. ccxt/hitbtc.py +5 -4
  111. ccxt/hollaex.py +7 -7
  112. ccxt/htx.py +7 -7
  113. ccxt/huobijp.py +3 -3
  114. ccxt/idex.py +12 -12
  115. ccxt/independentreserve.py +2 -2
  116. ccxt/indodax.py +2 -2
  117. ccxt/kraken.py +8 -8
  118. ccxt/krakenfutures.py +6 -6
  119. ccxt/kucoin.py +4 -1
  120. ccxt/kucoinfutures.py +8 -8
  121. ccxt/kuna.py +16 -16
  122. ccxt/latoken.py +2 -2
  123. ccxt/lbank.py +10 -10
  124. ccxt/luno.py +4 -4
  125. ccxt/mercado.py +5 -5
  126. ccxt/mexc.py +6 -6
  127. ccxt/ndax.py +1 -1
  128. ccxt/novadax.py +9 -9
  129. ccxt/oceanex.py +7 -7
  130. ccxt/okcoin.py +15 -14
  131. ccxt/okx.py +23 -31
  132. ccxt/onetrading.py +4 -4
  133. ccxt/p2b.py +7 -7
  134. ccxt/phemex.py +12 -12
  135. ccxt/poloniexfutures.py +5 -5
  136. ccxt/pro/__init__.py +1 -1
  137. ccxt/pro/binance.py +150 -112
  138. ccxt/pro/bitget.py +1 -0
  139. ccxt/pro/kucoin.py +6 -7
  140. ccxt/pro/okx.py +12 -1
  141. ccxt/probit.py +11 -11
  142. ccxt/timex.py +7 -7
  143. ccxt/tokocrypto.py +9 -9
  144. ccxt/wavesexchange.py +3 -3
  145. ccxt/whitebit.py +5 -5
  146. ccxt/woo.py +1 -1
  147. ccxt/zaif.py +1 -1
  148. ccxt/zonda.py +7 -7
  149. {ccxt-4.2.84.dist-info → ccxt-4.2.86.dist-info}/METADATA +6 -6
  150. {ccxt-4.2.84.dist-info → ccxt-4.2.86.dist-info}/RECORD +152 -152
  151. {ccxt-4.2.84.dist-info → ccxt-4.2.86.dist-info}/WHEEL +0 -0
  152. {ccxt-4.2.84.dist-info → ccxt-4.2.86.dist-info}/top_level.txt +0 -0
ccxt/__init__.py CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  # ----------------------------------------------------------------------------
24
24
 
25
- __version__ = '4.2.84'
25
+ __version__ = '4.2.86'
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
ccxt/abstract/coinex.py CHANGED
@@ -2,126 +2,235 @@ from ccxt.base.types import Entry
2
2
 
3
3
 
4
4
  class ImplicitAPI:
5
- public_get_amm_market = publicGetAmmMarket = Entry('amm/market', 'public', 'GET', {'cost': 1})
6
- public_get_common_currency_rate = publicGetCommonCurrencyRate = Entry('common/currency/rate', 'public', 'GET', {'cost': 1})
7
- public_get_common_asset_config = publicGetCommonAssetConfig = Entry('common/asset/config', 'public', 'GET', {'cost': 1})
8
- public_get_common_maintain_info = publicGetCommonMaintainInfo = Entry('common/maintain/info', 'public', 'GET', {'cost': 1})
9
- public_get_common_temp_maintain_info = publicGetCommonTempMaintainInfo = Entry('common/temp-maintain/info', 'public', 'GET', {'cost': 1})
10
- public_get_margin_market = publicGetMarginMarket = Entry('margin/market', 'public', 'GET', {'cost': 1})
11
- public_get_market_info = publicGetMarketInfo = Entry('market/info', 'public', 'GET', {'cost': 1})
12
- public_get_market_list = publicGetMarketList = Entry('market/list', 'public', 'GET', {'cost': 1})
13
- public_get_market_ticker = publicGetMarketTicker = Entry('market/ticker', 'public', 'GET', {'cost': 1})
14
- public_get_market_ticker_all = publicGetMarketTickerAll = Entry('market/ticker/all', 'public', 'GET', {'cost': 1})
15
- public_get_market_depth = publicGetMarketDepth = Entry('market/depth', 'public', 'GET', {'cost': 1})
16
- public_get_market_deals = publicGetMarketDeals = Entry('market/deals', 'public', 'GET', {'cost': 1})
17
- public_get_market_kline = publicGetMarketKline = Entry('market/kline', 'public', 'GET', {'cost': 1})
18
- public_get_market_detail = publicGetMarketDetail = Entry('market/detail', 'public', 'GET', {'cost': 1})
19
- private_get_account_amm_balance = privateGetAccountAmmBalance = Entry('account/amm/balance', 'private', 'GET', {'cost': 40})
20
- private_get_account_investment_balance = privateGetAccountInvestmentBalance = Entry('account/investment/balance', 'private', 'GET', {'cost': 40})
21
- private_get_account_balance_history = privateGetAccountBalanceHistory = Entry('account/balance/history', 'private', 'GET', {'cost': 40})
22
- private_get_account_market_fee = privateGetAccountMarketFee = Entry('account/market/fee', 'private', 'GET', {'cost': 40})
23
- private_get_balance_coin_deposit = privateGetBalanceCoinDeposit = Entry('balance/coin/deposit', 'private', 'GET', {'cost': 40})
24
- private_get_balance_coin_withdraw = privateGetBalanceCoinWithdraw = Entry('balance/coin/withdraw', 'private', 'GET', {'cost': 40})
25
- private_get_balance_info = privateGetBalanceInfo = Entry('balance/info', 'private', 'GET', {'cost': 40})
26
- private_get_balance_deposit_address_coin_type = privateGetBalanceDepositAddressCoinType = Entry('balance/deposit/address/{coin_type}', 'private', 'GET', {'cost': 40})
27
- private_get_contract_transfer_history = privateGetContractTransferHistory = Entry('contract/transfer/history', 'private', 'GET', {'cost': 40})
28
- private_get_credit_info = privateGetCreditInfo = Entry('credit/info', 'private', 'GET', {'cost': 40})
29
- private_get_credit_balance = privateGetCreditBalance = Entry('credit/balance', 'private', 'GET', {'cost': 40})
30
- private_get_investment_transfer_history = privateGetInvestmentTransferHistory = Entry('investment/transfer/history', 'private', 'GET', {'cost': 40})
31
- private_get_margin_account = privateGetMarginAccount = Entry('margin/account', 'private', 'GET', {'cost': 1})
32
- private_get_margin_config = privateGetMarginConfig = Entry('margin/config', 'private', 'GET', {'cost': 1})
33
- private_get_margin_loan_history = privateGetMarginLoanHistory = Entry('margin/loan/history', 'private', 'GET', {'cost': 40})
34
- private_get_margin_transfer_history = privateGetMarginTransferHistory = Entry('margin/transfer/history', 'private', 'GET', {'cost': 40})
35
- private_get_order_deals = privateGetOrderDeals = Entry('order/deals', 'private', 'GET', {'cost': 40})
36
- private_get_order_finished = privateGetOrderFinished = Entry('order/finished', 'private', 'GET', {'cost': 40})
37
- private_get_order_pending = privateGetOrderPending = Entry('order/pending', 'private', 'GET', {'cost': 8})
38
- private_get_order_status = privateGetOrderStatus = Entry('order/status', 'private', 'GET', {'cost': 8})
39
- private_get_order_status_batch = privateGetOrderStatusBatch = Entry('order/status/batch', 'private', 'GET', {'cost': 8})
40
- private_get_order_user_deals = privateGetOrderUserDeals = Entry('order/user/deals', 'private', 'GET', {'cost': 40})
41
- private_get_order_stop_finished = privateGetOrderStopFinished = Entry('order/stop/finished', 'private', 'GET', {'cost': 40})
42
- private_get_order_stop_pending = privateGetOrderStopPending = Entry('order/stop/pending', 'private', 'GET', {'cost': 8})
43
- private_get_order_user_trade_fee = privateGetOrderUserTradeFee = Entry('order/user/trade/fee', 'private', 'GET', {'cost': 1})
44
- private_get_order_market_trade_info = privateGetOrderMarketTradeInfo = Entry('order/market/trade/info', 'private', 'GET', {'cost': 1})
45
- private_get_sub_account_balance = privateGetSubAccountBalance = Entry('sub_account/balance', 'private', 'GET', {'cost': 1})
46
- private_get_sub_account_transfer_history = privateGetSubAccountTransferHistory = Entry('sub_account/transfer/history', 'private', 'GET', {'cost': 40})
47
- private_get_sub_account_auth_api = privateGetSubAccountAuthApi = Entry('sub_account/auth/api', 'private', 'GET', {'cost': 40})
48
- private_get_sub_account_auth_api_user_auth_id = privateGetSubAccountAuthApiUserAuthId = Entry('sub_account/auth/api/{user_auth_id}', 'private', 'GET', {'cost': 40})
49
- private_post_balance_coin_withdraw = privatePostBalanceCoinWithdraw = Entry('balance/coin/withdraw', 'private', 'POST', {'cost': 40})
50
- private_post_contract_balance_transfer = privatePostContractBalanceTransfer = Entry('contract/balance/transfer', 'private', 'POST', {'cost': 40})
51
- private_post_margin_flat = privatePostMarginFlat = Entry('margin/flat', 'private', 'POST', {'cost': 40})
52
- private_post_margin_loan = privatePostMarginLoan = Entry('margin/loan', 'private', 'POST', {'cost': 40})
53
- private_post_margin_transfer = privatePostMarginTransfer = Entry('margin/transfer', 'private', 'POST', {'cost': 40})
54
- private_post_order_limit_batch = privatePostOrderLimitBatch = Entry('order/limit/batch', 'private', 'POST', {'cost': 40})
55
- private_post_order_ioc = privatePostOrderIoc = Entry('order/ioc', 'private', 'POST', {'cost': 13.334})
56
- private_post_order_limit = privatePostOrderLimit = Entry('order/limit', 'private', 'POST', {'cost': 13.334})
57
- private_post_order_market = privatePostOrderMarket = Entry('order/market', 'private', 'POST', {'cost': 13.334})
58
- private_post_order_modify = privatePostOrderModify = Entry('order/modify', 'private', 'POST', {'cost': 13.334})
59
- private_post_order_stop_limit = privatePostOrderStopLimit = Entry('order/stop/limit', 'private', 'POST', {'cost': 13.334})
60
- private_post_order_stop_market = privatePostOrderStopMarket = Entry('order/stop/market', 'private', 'POST', {'cost': 13.334})
61
- private_post_order_stop_modify = privatePostOrderStopModify = Entry('order/stop/modify', 'private', 'POST', {'cost': 13.334})
62
- private_post_sub_account_transfer = privatePostSubAccountTransfer = Entry('sub_account/transfer', 'private', 'POST', {'cost': 40})
63
- private_post_sub_account_register = privatePostSubAccountRegister = Entry('sub_account/register', 'private', 'POST', {'cost': 1})
64
- private_post_sub_account_unfrozen = privatePostSubAccountUnfrozen = Entry('sub_account/unfrozen', 'private', 'POST', {'cost': 40})
65
- private_post_sub_account_frozen = privatePostSubAccountFrozen = Entry('sub_account/frozen', 'private', 'POST', {'cost': 40})
66
- private_post_sub_account_auth_api = privatePostSubAccountAuthApi = Entry('sub_account/auth/api', 'private', 'POST', {'cost': 40})
67
- private_put_balance_deposit_address_coin_type = privatePutBalanceDepositAddressCoinType = Entry('balance/deposit/address/{coin_type}', 'private', 'PUT', {'cost': 40})
68
- private_put_sub_account_unfrozen = privatePutSubAccountUnfrozen = Entry('sub_account/unfrozen', 'private', 'PUT', {'cost': 40})
69
- private_put_sub_account_frozen = privatePutSubAccountFrozen = Entry('sub_account/frozen', 'private', 'PUT', {'cost': 40})
70
- private_put_sub_account_auth_api_user_auth_id = privatePutSubAccountAuthApiUserAuthId = Entry('sub_account/auth/api/{user_auth_id}', 'private', 'PUT', {'cost': 40})
71
- private_put_v1_account_settings = privatePutV1AccountSettings = Entry('v1/account/settings', 'private', 'PUT', {'cost': 40})
72
- private_delete_balance_coin_withdraw = privateDeleteBalanceCoinWithdraw = Entry('balance/coin/withdraw', 'private', 'DELETE', {'cost': 40})
73
- private_delete_order_pending_batch = privateDeleteOrderPendingBatch = Entry('order/pending/batch', 'private', 'DELETE', {'cost': 40})
74
- private_delete_order_pending = privateDeleteOrderPending = Entry('order/pending', 'private', 'DELETE', {'cost': 13.334})
75
- private_delete_order_stop_pending = privateDeleteOrderStopPending = Entry('order/stop/pending', 'private', 'DELETE', {'cost': 40})
76
- private_delete_order_stop_pending_id = privateDeleteOrderStopPendingId = Entry('order/stop/pending/{id}', 'private', 'DELETE', {'cost': 13.334})
77
- private_delete_order_pending_by_client_id = privateDeleteOrderPendingByClientId = Entry('order/pending/by_client_id', 'private', 'DELETE', {'cost': 40})
78
- private_delete_order_stop_pending_by_client_id = privateDeleteOrderStopPendingByClientId = Entry('order/stop/pending/by_client_id', 'private', 'DELETE', {'cost': 40})
79
- private_delete_sub_account_auth_api_user_auth_id = privateDeleteSubAccountAuthApiUserAuthId = Entry('sub_account/auth/api/{user_auth_id}', 'private', 'DELETE', {'cost': 40})
80
- private_delete_sub_account_authorize_id = privateDeleteSubAccountAuthorizeId = Entry('sub_account/authorize/{id}', 'private', 'DELETE', {'cost': 40})
81
- perpetualpublic_get_ping = perpetualPublicGetPing = Entry('ping', 'perpetualPublic', 'GET', {'cost': 1})
82
- perpetualpublic_get_time = perpetualPublicGetTime = Entry('time', 'perpetualPublic', 'GET', {'cost': 1})
83
- perpetualpublic_get_market_list = perpetualPublicGetMarketList = Entry('market/list', 'perpetualPublic', 'GET', {'cost': 1})
84
- perpetualpublic_get_market_limit_config = perpetualPublicGetMarketLimitConfig = Entry('market/limit_config', 'perpetualPublic', 'GET', {'cost': 1})
85
- perpetualpublic_get_market_ticker = perpetualPublicGetMarketTicker = Entry('market/ticker', 'perpetualPublic', 'GET', {'cost': 1})
86
- perpetualpublic_get_market_ticker_all = perpetualPublicGetMarketTickerAll = Entry('market/ticker/all', 'perpetualPublic', 'GET', {'cost': 1})
87
- perpetualpublic_get_market_depth = perpetualPublicGetMarketDepth = Entry('market/depth', 'perpetualPublic', 'GET', {'cost': 1})
88
- perpetualpublic_get_market_deals = perpetualPublicGetMarketDeals = Entry('market/deals', 'perpetualPublic', 'GET', {'cost': 1})
89
- perpetualpublic_get_market_funding_history = perpetualPublicGetMarketFundingHistory = Entry('market/funding_history', 'perpetualPublic', 'GET', {'cost': 1})
90
- perpetualpublic_get_market_kline = perpetualPublicGetMarketKline = Entry('market/kline', 'perpetualPublic', 'GET', {'cost': 1})
91
- perpetualprivate_get_market_user_deals = perpetualPrivateGetMarketUserDeals = Entry('market/user_deals', 'perpetualPrivate', 'GET', {'cost': 1})
92
- perpetualprivate_get_asset_query = perpetualPrivateGetAssetQuery = Entry('asset/query', 'perpetualPrivate', 'GET', {'cost': 40})
93
- perpetualprivate_get_order_pending = perpetualPrivateGetOrderPending = Entry('order/pending', 'perpetualPrivate', 'GET', {'cost': 8})
94
- perpetualprivate_get_order_finished = perpetualPrivateGetOrderFinished = Entry('order/finished', 'perpetualPrivate', 'GET', {'cost': 40})
95
- perpetualprivate_get_order_stop_finished = perpetualPrivateGetOrderStopFinished = Entry('order/stop_finished', 'perpetualPrivate', 'GET', {'cost': 40})
96
- perpetualprivate_get_order_stop_pending = perpetualPrivateGetOrderStopPending = Entry('order/stop_pending', 'perpetualPrivate', 'GET', {'cost': 8})
97
- perpetualprivate_get_order_status = perpetualPrivateGetOrderStatus = Entry('order/status', 'perpetualPrivate', 'GET', {'cost': 8})
98
- perpetualprivate_get_order_stop_status = perpetualPrivateGetOrderStopStatus = Entry('order/stop_status', 'perpetualPrivate', 'GET', {'cost': 8})
99
- perpetualprivate_get_position_finished = perpetualPrivateGetPositionFinished = Entry('position/finished', 'perpetualPrivate', 'GET', {'cost': 40})
100
- perpetualprivate_get_position_pending = perpetualPrivateGetPositionPending = Entry('position/pending', 'perpetualPrivate', 'GET', {'cost': 40})
101
- perpetualprivate_get_position_funding = perpetualPrivateGetPositionFunding = Entry('position/funding', 'perpetualPrivate', 'GET', {'cost': 40})
102
- perpetualprivate_get_position_adl_history = perpetualPrivateGetPositionAdlHistory = Entry('position/adl_history', 'perpetualPrivate', 'GET', {'cost': 40})
103
- perpetualprivate_get_market_preference = perpetualPrivateGetMarketPreference = Entry('market/preference', 'perpetualPrivate', 'GET', {'cost': 40})
104
- perpetualprivate_get_position_margin_history = perpetualPrivateGetPositionMarginHistory = Entry('position/margin_history', 'perpetualPrivate', 'GET', {'cost': 40})
105
- perpetualprivate_get_position_settle_history = perpetualPrivateGetPositionSettleHistory = Entry('position/settle_history', 'perpetualPrivate', 'GET', {'cost': 40})
106
- perpetualprivate_post_market_adjust_leverage = perpetualPrivatePostMarketAdjustLeverage = Entry('market/adjust_leverage', 'perpetualPrivate', 'POST', {'cost': 1})
107
- perpetualprivate_post_market_position_expect = perpetualPrivatePostMarketPositionExpect = Entry('market/position_expect', 'perpetualPrivate', 'POST', {'cost': 1})
108
- perpetualprivate_post_order_put_limit = perpetualPrivatePostOrderPutLimit = Entry('order/put_limit', 'perpetualPrivate', 'POST', {'cost': 20})
109
- perpetualprivate_post_order_put_market = perpetualPrivatePostOrderPutMarket = Entry('order/put_market', 'perpetualPrivate', 'POST', {'cost': 20})
110
- perpetualprivate_post_order_put_stop_limit = perpetualPrivatePostOrderPutStopLimit = Entry('order/put_stop_limit', 'perpetualPrivate', 'POST', {'cost': 20})
111
- perpetualprivate_post_order_put_stop_market = perpetualPrivatePostOrderPutStopMarket = Entry('order/put_stop_market', 'perpetualPrivate', 'POST', {'cost': 20})
112
- perpetualprivate_post_order_modify = perpetualPrivatePostOrderModify = Entry('order/modify', 'perpetualPrivate', 'POST', {'cost': 20})
113
- perpetualprivate_post_order_modify_stop = perpetualPrivatePostOrderModifyStop = Entry('order/modify_stop', 'perpetualPrivate', 'POST', {'cost': 20})
114
- perpetualprivate_post_order_cancel = perpetualPrivatePostOrderCancel = Entry('order/cancel', 'perpetualPrivate', 'POST', {'cost': 20})
115
- perpetualprivate_post_order_cancel_all = perpetualPrivatePostOrderCancelAll = Entry('order/cancel_all', 'perpetualPrivate', 'POST', {'cost': 40})
116
- perpetualprivate_post_order_cancel_batch = perpetualPrivatePostOrderCancelBatch = Entry('order/cancel_batch', 'perpetualPrivate', 'POST', {'cost': 40})
117
- perpetualprivate_post_order_cancel_stop = perpetualPrivatePostOrderCancelStop = Entry('order/cancel_stop', 'perpetualPrivate', 'POST', {'cost': 20})
118
- perpetualprivate_post_order_cancel_stop_all = perpetualPrivatePostOrderCancelStopAll = Entry('order/cancel_stop_all', 'perpetualPrivate', 'POST', {'cost': 40})
119
- perpetualprivate_post_order_close_limit = perpetualPrivatePostOrderCloseLimit = Entry('order/close_limit', 'perpetualPrivate', 'POST', {'cost': 20})
120
- perpetualprivate_post_order_close_market = perpetualPrivatePostOrderCloseMarket = Entry('order/close_market', 'perpetualPrivate', 'POST', {'cost': 20})
121
- perpetualprivate_post_position_adjust_margin = perpetualPrivatePostPositionAdjustMargin = Entry('position/adjust_margin', 'perpetualPrivate', 'POST', {'cost': 20})
122
- perpetualprivate_post_position_stop_loss = perpetualPrivatePostPositionStopLoss = Entry('position/stop_loss', 'perpetualPrivate', 'POST', {'cost': 20})
123
- perpetualprivate_post_position_take_profit = perpetualPrivatePostPositionTakeProfit = Entry('position/take_profit', 'perpetualPrivate', 'POST', {'cost': 20})
124
- perpetualprivate_post_position_market_close = perpetualPrivatePostPositionMarketClose = Entry('position/market_close', 'perpetualPrivate', 'POST', {'cost': 20})
125
- perpetualprivate_post_order_cancel_by_client_id = perpetualPrivatePostOrderCancelByClientId = Entry('order/cancel/by_client_id', 'perpetualPrivate', 'POST', {'cost': 20})
126
- perpetualprivate_post_order_cancel_stop_by_client_id = perpetualPrivatePostOrderCancelStopByClientId = Entry('order/cancel_stop/by_client_id', 'perpetualPrivate', 'POST', {'cost': 20})
127
- perpetualprivate_post_market_preference = perpetualPrivatePostMarketPreference = Entry('market/preference', 'perpetualPrivate', 'POST', {'cost': 20})
5
+ v1_public_get_amm_market = v1PublicGetAmmMarket = Entry('amm/market', ['v1', 'public'], 'GET', {'cost': 1})
6
+ v1_public_get_common_currency_rate = v1PublicGetCommonCurrencyRate = Entry('common/currency/rate', ['v1', 'public'], 'GET', {'cost': 1})
7
+ v1_public_get_common_asset_config = v1PublicGetCommonAssetConfig = Entry('common/asset/config', ['v1', 'public'], 'GET', {'cost': 1})
8
+ v1_public_get_common_maintain_info = v1PublicGetCommonMaintainInfo = Entry('common/maintain/info', ['v1', 'public'], 'GET', {'cost': 1})
9
+ v1_public_get_common_temp_maintain_info = v1PublicGetCommonTempMaintainInfo = Entry('common/temp-maintain/info', ['v1', 'public'], 'GET', {'cost': 1})
10
+ v1_public_get_margin_market = v1PublicGetMarginMarket = Entry('margin/market', ['v1', 'public'], 'GET', {'cost': 1})
11
+ v1_public_get_market_info = v1PublicGetMarketInfo = Entry('market/info', ['v1', 'public'], 'GET', {'cost': 1})
12
+ v1_public_get_market_list = v1PublicGetMarketList = Entry('market/list', ['v1', 'public'], 'GET', {'cost': 1})
13
+ v1_public_get_market_ticker = v1PublicGetMarketTicker = Entry('market/ticker', ['v1', 'public'], 'GET', {'cost': 1})
14
+ v1_public_get_market_ticker_all = v1PublicGetMarketTickerAll = Entry('market/ticker/all', ['v1', 'public'], 'GET', {'cost': 1})
15
+ v1_public_get_market_depth = v1PublicGetMarketDepth = Entry('market/depth', ['v1', 'public'], 'GET', {'cost': 1})
16
+ v1_public_get_market_deals = v1PublicGetMarketDeals = Entry('market/deals', ['v1', 'public'], 'GET', {'cost': 1})
17
+ v1_public_get_market_kline = v1PublicGetMarketKline = Entry('market/kline', ['v1', 'public'], 'GET', {'cost': 1})
18
+ v1_public_get_market_detail = v1PublicGetMarketDetail = Entry('market/detail', ['v1', 'public'], 'GET', {'cost': 1})
19
+ v1_private_get_account_amm_balance = v1PrivateGetAccountAmmBalance = Entry('account/amm/balance', ['v1', 'private'], 'GET', {'cost': 40})
20
+ v1_private_get_account_investment_balance = v1PrivateGetAccountInvestmentBalance = Entry('account/investment/balance', ['v1', 'private'], 'GET', {'cost': 40})
21
+ v1_private_get_account_balance_history = v1PrivateGetAccountBalanceHistory = Entry('account/balance/history', ['v1', 'private'], 'GET', {'cost': 40})
22
+ v1_private_get_account_market_fee = v1PrivateGetAccountMarketFee = Entry('account/market/fee', ['v1', 'private'], 'GET', {'cost': 40})
23
+ v1_private_get_balance_coin_deposit = v1PrivateGetBalanceCoinDeposit = Entry('balance/coin/deposit', ['v1', 'private'], 'GET', {'cost': 40})
24
+ v1_private_get_balance_coin_withdraw = v1PrivateGetBalanceCoinWithdraw = Entry('balance/coin/withdraw', ['v1', 'private'], 'GET', {'cost': 40})
25
+ v1_private_get_balance_info = v1PrivateGetBalanceInfo = Entry('balance/info', ['v1', 'private'], 'GET', {'cost': 40})
26
+ v1_private_get_balance_deposit_address_coin_type = v1PrivateGetBalanceDepositAddressCoinType = Entry('balance/deposit/address/{coin_type}', ['v1', 'private'], 'GET', {'cost': 40})
27
+ v1_private_get_contract_transfer_history = v1PrivateGetContractTransferHistory = Entry('contract/transfer/history', ['v1', 'private'], 'GET', {'cost': 40})
28
+ v1_private_get_credit_info = v1PrivateGetCreditInfo = Entry('credit/info', ['v1', 'private'], 'GET', {'cost': 40})
29
+ v1_private_get_credit_balance = v1PrivateGetCreditBalance = Entry('credit/balance', ['v1', 'private'], 'GET', {'cost': 40})
30
+ v1_private_get_investment_transfer_history = v1PrivateGetInvestmentTransferHistory = Entry('investment/transfer/history', ['v1', 'private'], 'GET', {'cost': 40})
31
+ v1_private_get_margin_account = v1PrivateGetMarginAccount = Entry('margin/account', ['v1', 'private'], 'GET', {'cost': 1})
32
+ v1_private_get_margin_config = v1PrivateGetMarginConfig = Entry('margin/config', ['v1', 'private'], 'GET', {'cost': 1})
33
+ v1_private_get_margin_loan_history = v1PrivateGetMarginLoanHistory = Entry('margin/loan/history', ['v1', 'private'], 'GET', {'cost': 40})
34
+ v1_private_get_margin_transfer_history = v1PrivateGetMarginTransferHistory = Entry('margin/transfer/history', ['v1', 'private'], 'GET', {'cost': 40})
35
+ v1_private_get_order_deals = v1PrivateGetOrderDeals = Entry('order/deals', ['v1', 'private'], 'GET', {'cost': 40})
36
+ v1_private_get_order_finished = v1PrivateGetOrderFinished = Entry('order/finished', ['v1', 'private'], 'GET', {'cost': 40})
37
+ v1_private_get_order_pending = v1PrivateGetOrderPending = Entry('order/pending', ['v1', 'private'], 'GET', {'cost': 8})
38
+ v1_private_get_order_status = v1PrivateGetOrderStatus = Entry('order/status', ['v1', 'private'], 'GET', {'cost': 8})
39
+ v1_private_get_order_status_batch = v1PrivateGetOrderStatusBatch = Entry('order/status/batch', ['v1', 'private'], 'GET', {'cost': 8})
40
+ v1_private_get_order_user_deals = v1PrivateGetOrderUserDeals = Entry('order/user/deals', ['v1', 'private'], 'GET', {'cost': 40})
41
+ v1_private_get_order_stop_finished = v1PrivateGetOrderStopFinished = Entry('order/stop/finished', ['v1', 'private'], 'GET', {'cost': 40})
42
+ v1_private_get_order_stop_pending = v1PrivateGetOrderStopPending = Entry('order/stop/pending', ['v1', 'private'], 'GET', {'cost': 8})
43
+ v1_private_get_order_user_trade_fee = v1PrivateGetOrderUserTradeFee = Entry('order/user/trade/fee', ['v1', 'private'], 'GET', {'cost': 1})
44
+ v1_private_get_order_market_trade_info = v1PrivateGetOrderMarketTradeInfo = Entry('order/market/trade/info', ['v1', 'private'], 'GET', {'cost': 1})
45
+ v1_private_get_sub_account_balance = v1PrivateGetSubAccountBalance = Entry('sub_account/balance', ['v1', 'private'], 'GET', {'cost': 1})
46
+ v1_private_get_sub_account_transfer_history = v1PrivateGetSubAccountTransferHistory = Entry('sub_account/transfer/history', ['v1', 'private'], 'GET', {'cost': 40})
47
+ v1_private_get_sub_account_auth_api = v1PrivateGetSubAccountAuthApi = Entry('sub_account/auth/api', ['v1', 'private'], 'GET', {'cost': 40})
48
+ v1_private_get_sub_account_auth_api_user_auth_id = v1PrivateGetSubAccountAuthApiUserAuthId = Entry('sub_account/auth/api/{user_auth_id}', ['v1', 'private'], 'GET', {'cost': 40})
49
+ v1_private_post_balance_coin_withdraw = v1PrivatePostBalanceCoinWithdraw = Entry('balance/coin/withdraw', ['v1', 'private'], 'POST', {'cost': 40})
50
+ v1_private_post_contract_balance_transfer = v1PrivatePostContractBalanceTransfer = Entry('contract/balance/transfer', ['v1', 'private'], 'POST', {'cost': 40})
51
+ v1_private_post_margin_flat = v1PrivatePostMarginFlat = Entry('margin/flat', ['v1', 'private'], 'POST', {'cost': 40})
52
+ v1_private_post_margin_loan = v1PrivatePostMarginLoan = Entry('margin/loan', ['v1', 'private'], 'POST', {'cost': 40})
53
+ v1_private_post_margin_transfer = v1PrivatePostMarginTransfer = Entry('margin/transfer', ['v1', 'private'], 'POST', {'cost': 40})
54
+ v1_private_post_order_limit_batch = v1PrivatePostOrderLimitBatch = Entry('order/limit/batch', ['v1', 'private'], 'POST', {'cost': 40})
55
+ v1_private_post_order_ioc = v1PrivatePostOrderIoc = Entry('order/ioc', ['v1', 'private'], 'POST', {'cost': 13.334})
56
+ v1_private_post_order_limit = v1PrivatePostOrderLimit = Entry('order/limit', ['v1', 'private'], 'POST', {'cost': 13.334})
57
+ v1_private_post_order_market = v1PrivatePostOrderMarket = Entry('order/market', ['v1', 'private'], 'POST', {'cost': 13.334})
58
+ v1_private_post_order_modify = v1PrivatePostOrderModify = Entry('order/modify', ['v1', 'private'], 'POST', {'cost': 13.334})
59
+ v1_private_post_order_stop_limit = v1PrivatePostOrderStopLimit = Entry('order/stop/limit', ['v1', 'private'], 'POST', {'cost': 13.334})
60
+ v1_private_post_order_stop_market = v1PrivatePostOrderStopMarket = Entry('order/stop/market', ['v1', 'private'], 'POST', {'cost': 13.334})
61
+ v1_private_post_order_stop_modify = v1PrivatePostOrderStopModify = Entry('order/stop/modify', ['v1', 'private'], 'POST', {'cost': 13.334})
62
+ v1_private_post_sub_account_transfer = v1PrivatePostSubAccountTransfer = Entry('sub_account/transfer', ['v1', 'private'], 'POST', {'cost': 40})
63
+ v1_private_post_sub_account_register = v1PrivatePostSubAccountRegister = Entry('sub_account/register', ['v1', 'private'], 'POST', {'cost': 1})
64
+ v1_private_post_sub_account_unfrozen = v1PrivatePostSubAccountUnfrozen = Entry('sub_account/unfrozen', ['v1', 'private'], 'POST', {'cost': 40})
65
+ v1_private_post_sub_account_frozen = v1PrivatePostSubAccountFrozen = Entry('sub_account/frozen', ['v1', 'private'], 'POST', {'cost': 40})
66
+ v1_private_post_sub_account_auth_api = v1PrivatePostSubAccountAuthApi = Entry('sub_account/auth/api', ['v1', 'private'], 'POST', {'cost': 40})
67
+ v1_private_put_balance_deposit_address_coin_type = v1PrivatePutBalanceDepositAddressCoinType = Entry('balance/deposit/address/{coin_type}', ['v1', 'private'], 'PUT', {'cost': 40})
68
+ v1_private_put_sub_account_unfrozen = v1PrivatePutSubAccountUnfrozen = Entry('sub_account/unfrozen', ['v1', 'private'], 'PUT', {'cost': 40})
69
+ v1_private_put_sub_account_frozen = v1PrivatePutSubAccountFrozen = Entry('sub_account/frozen', ['v1', 'private'], 'PUT', {'cost': 40})
70
+ v1_private_put_sub_account_auth_api_user_auth_id = v1PrivatePutSubAccountAuthApiUserAuthId = Entry('sub_account/auth/api/{user_auth_id}', ['v1', 'private'], 'PUT', {'cost': 40})
71
+ v1_private_put_v1_account_settings = v1PrivatePutV1AccountSettings = Entry('v1/account/settings', ['v1', 'private'], 'PUT', {'cost': 40})
72
+ v1_private_delete_balance_coin_withdraw = v1PrivateDeleteBalanceCoinWithdraw = Entry('balance/coin/withdraw', ['v1', 'private'], 'DELETE', {'cost': 40})
73
+ v1_private_delete_order_pending_batch = v1PrivateDeleteOrderPendingBatch = Entry('order/pending/batch', ['v1', 'private'], 'DELETE', {'cost': 40})
74
+ v1_private_delete_order_pending = v1PrivateDeleteOrderPending = Entry('order/pending', ['v1', 'private'], 'DELETE', {'cost': 13.334})
75
+ v1_private_delete_order_stop_pending = v1PrivateDeleteOrderStopPending = Entry('order/stop/pending', ['v1', 'private'], 'DELETE', {'cost': 40})
76
+ v1_private_delete_order_stop_pending_id = v1PrivateDeleteOrderStopPendingId = Entry('order/stop/pending/{id}', ['v1', 'private'], 'DELETE', {'cost': 13.334})
77
+ v1_private_delete_order_pending_by_client_id = v1PrivateDeleteOrderPendingByClientId = Entry('order/pending/by_client_id', ['v1', 'private'], 'DELETE', {'cost': 40})
78
+ v1_private_delete_order_stop_pending_by_client_id = v1PrivateDeleteOrderStopPendingByClientId = Entry('order/stop/pending/by_client_id', ['v1', 'private'], 'DELETE', {'cost': 40})
79
+ v1_private_delete_sub_account_auth_api_user_auth_id = v1PrivateDeleteSubAccountAuthApiUserAuthId = Entry('sub_account/auth/api/{user_auth_id}', ['v1', 'private'], 'DELETE', {'cost': 40})
80
+ v1_private_delete_sub_account_authorize_id = v1PrivateDeleteSubAccountAuthorizeId = Entry('sub_account/authorize/{id}', ['v1', 'private'], 'DELETE', {'cost': 40})
81
+ v1_perpetualpublic_get_ping = v1PerpetualPublicGetPing = Entry('ping', ['v1', 'perpetualPublic'], 'GET', {'cost': 1})
82
+ v1_perpetualpublic_get_time = v1PerpetualPublicGetTime = Entry('time', ['v1', 'perpetualPublic'], 'GET', {'cost': 1})
83
+ v1_perpetualpublic_get_market_list = v1PerpetualPublicGetMarketList = Entry('market/list', ['v1', 'perpetualPublic'], 'GET', {'cost': 1})
84
+ v1_perpetualpublic_get_market_limit_config = v1PerpetualPublicGetMarketLimitConfig = Entry('market/limit_config', ['v1', 'perpetualPublic'], 'GET', {'cost': 1})
85
+ v1_perpetualpublic_get_market_ticker = v1PerpetualPublicGetMarketTicker = Entry('market/ticker', ['v1', 'perpetualPublic'], 'GET', {'cost': 1})
86
+ v1_perpetualpublic_get_market_ticker_all = v1PerpetualPublicGetMarketTickerAll = Entry('market/ticker/all', ['v1', 'perpetualPublic'], 'GET', {'cost': 1})
87
+ v1_perpetualpublic_get_market_depth = v1PerpetualPublicGetMarketDepth = Entry('market/depth', ['v1', 'perpetualPublic'], 'GET', {'cost': 1})
88
+ v1_perpetualpublic_get_market_deals = v1PerpetualPublicGetMarketDeals = Entry('market/deals', ['v1', 'perpetualPublic'], 'GET', {'cost': 1})
89
+ v1_perpetualpublic_get_market_funding_history = v1PerpetualPublicGetMarketFundingHistory = Entry('market/funding_history', ['v1', 'perpetualPublic'], 'GET', {'cost': 1})
90
+ v1_perpetualpublic_get_market_kline = v1PerpetualPublicGetMarketKline = Entry('market/kline', ['v1', 'perpetualPublic'], 'GET', {'cost': 1})
91
+ v1_perpetualprivate_get_market_user_deals = v1PerpetualPrivateGetMarketUserDeals = Entry('market/user_deals', ['v1', 'perpetualPrivate'], 'GET', {'cost': 1})
92
+ v1_perpetualprivate_get_asset_query = v1PerpetualPrivateGetAssetQuery = Entry('asset/query', ['v1', 'perpetualPrivate'], 'GET', {'cost': 40})
93
+ v1_perpetualprivate_get_order_pending = v1PerpetualPrivateGetOrderPending = Entry('order/pending', ['v1', 'perpetualPrivate'], 'GET', {'cost': 8})
94
+ v1_perpetualprivate_get_order_finished = v1PerpetualPrivateGetOrderFinished = Entry('order/finished', ['v1', 'perpetualPrivate'], 'GET', {'cost': 40})
95
+ v1_perpetualprivate_get_order_stop_finished = v1PerpetualPrivateGetOrderStopFinished = Entry('order/stop_finished', ['v1', 'perpetualPrivate'], 'GET', {'cost': 40})
96
+ v1_perpetualprivate_get_order_stop_pending = v1PerpetualPrivateGetOrderStopPending = Entry('order/stop_pending', ['v1', 'perpetualPrivate'], 'GET', {'cost': 8})
97
+ v1_perpetualprivate_get_order_status = v1PerpetualPrivateGetOrderStatus = Entry('order/status', ['v1', 'perpetualPrivate'], 'GET', {'cost': 8})
98
+ v1_perpetualprivate_get_order_stop_status = v1PerpetualPrivateGetOrderStopStatus = Entry('order/stop_status', ['v1', 'perpetualPrivate'], 'GET', {'cost': 8})
99
+ v1_perpetualprivate_get_position_finished = v1PerpetualPrivateGetPositionFinished = Entry('position/finished', ['v1', 'perpetualPrivate'], 'GET', {'cost': 40})
100
+ v1_perpetualprivate_get_position_pending = v1PerpetualPrivateGetPositionPending = Entry('position/pending', ['v1', 'perpetualPrivate'], 'GET', {'cost': 40})
101
+ v1_perpetualprivate_get_position_funding = v1PerpetualPrivateGetPositionFunding = Entry('position/funding', ['v1', 'perpetualPrivate'], 'GET', {'cost': 40})
102
+ v1_perpetualprivate_get_position_adl_history = v1PerpetualPrivateGetPositionAdlHistory = Entry('position/adl_history', ['v1', 'perpetualPrivate'], 'GET', {'cost': 40})
103
+ v1_perpetualprivate_get_market_preference = v1PerpetualPrivateGetMarketPreference = Entry('market/preference', ['v1', 'perpetualPrivate'], 'GET', {'cost': 40})
104
+ v1_perpetualprivate_get_position_margin_history = v1PerpetualPrivateGetPositionMarginHistory = Entry('position/margin_history', ['v1', 'perpetualPrivate'], 'GET', {'cost': 40})
105
+ v1_perpetualprivate_get_position_settle_history = v1PerpetualPrivateGetPositionSettleHistory = Entry('position/settle_history', ['v1', 'perpetualPrivate'], 'GET', {'cost': 40})
106
+ v1_perpetualprivate_post_market_adjust_leverage = v1PerpetualPrivatePostMarketAdjustLeverage = Entry('market/adjust_leverage', ['v1', 'perpetualPrivate'], 'POST', {'cost': 1})
107
+ v1_perpetualprivate_post_market_position_expect = v1PerpetualPrivatePostMarketPositionExpect = Entry('market/position_expect', ['v1', 'perpetualPrivate'], 'POST', {'cost': 1})
108
+ v1_perpetualprivate_post_order_put_limit = v1PerpetualPrivatePostOrderPutLimit = Entry('order/put_limit', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
109
+ v1_perpetualprivate_post_order_put_market = v1PerpetualPrivatePostOrderPutMarket = Entry('order/put_market', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
110
+ v1_perpetualprivate_post_order_put_stop_limit = v1PerpetualPrivatePostOrderPutStopLimit = Entry('order/put_stop_limit', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
111
+ v1_perpetualprivate_post_order_put_stop_market = v1PerpetualPrivatePostOrderPutStopMarket = Entry('order/put_stop_market', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
112
+ v1_perpetualprivate_post_order_modify = v1PerpetualPrivatePostOrderModify = Entry('order/modify', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
113
+ v1_perpetualprivate_post_order_modify_stop = v1PerpetualPrivatePostOrderModifyStop = Entry('order/modify_stop', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
114
+ v1_perpetualprivate_post_order_cancel = v1PerpetualPrivatePostOrderCancel = Entry('order/cancel', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
115
+ v1_perpetualprivate_post_order_cancel_all = v1PerpetualPrivatePostOrderCancelAll = Entry('order/cancel_all', ['v1', 'perpetualPrivate'], 'POST', {'cost': 40})
116
+ v1_perpetualprivate_post_order_cancel_batch = v1PerpetualPrivatePostOrderCancelBatch = Entry('order/cancel_batch', ['v1', 'perpetualPrivate'], 'POST', {'cost': 40})
117
+ v1_perpetualprivate_post_order_cancel_stop = v1PerpetualPrivatePostOrderCancelStop = Entry('order/cancel_stop', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
118
+ v1_perpetualprivate_post_order_cancel_stop_all = v1PerpetualPrivatePostOrderCancelStopAll = Entry('order/cancel_stop_all', ['v1', 'perpetualPrivate'], 'POST', {'cost': 40})
119
+ v1_perpetualprivate_post_order_close_limit = v1PerpetualPrivatePostOrderCloseLimit = Entry('order/close_limit', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
120
+ v1_perpetualprivate_post_order_close_market = v1PerpetualPrivatePostOrderCloseMarket = Entry('order/close_market', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
121
+ v1_perpetualprivate_post_position_adjust_margin = v1PerpetualPrivatePostPositionAdjustMargin = Entry('position/adjust_margin', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
122
+ v1_perpetualprivate_post_position_stop_loss = v1PerpetualPrivatePostPositionStopLoss = Entry('position/stop_loss', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
123
+ v1_perpetualprivate_post_position_take_profit = v1PerpetualPrivatePostPositionTakeProfit = Entry('position/take_profit', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
124
+ v1_perpetualprivate_post_position_market_close = v1PerpetualPrivatePostPositionMarketClose = Entry('position/market_close', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
125
+ v1_perpetualprivate_post_order_cancel_by_client_id = v1PerpetualPrivatePostOrderCancelByClientId = Entry('order/cancel/by_client_id', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
126
+ v1_perpetualprivate_post_order_cancel_stop_by_client_id = v1PerpetualPrivatePostOrderCancelStopByClientId = Entry('order/cancel_stop/by_client_id', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
127
+ v1_perpetualprivate_post_market_preference = v1PerpetualPrivatePostMarketPreference = Entry('market/preference', ['v1', 'perpetualPrivate'], 'POST', {'cost': 20})
128
+ v2_public_get_maintain_info = v2PublicGetMaintainInfo = Entry('maintain-info', ['v2', 'public'], 'GET', {'cost': 1})
129
+ v2_public_get_ping = v2PublicGetPing = Entry('ping', ['v2', 'public'], 'GET', {'cost': 1})
130
+ v2_public_get_time = v2PublicGetTime = Entry('time', ['v2', 'public'], 'GET', {'cost': 1})
131
+ v2_public_get_spot_market = v2PublicGetSpotMarket = Entry('spot/market', ['v2', 'public'], 'GET', {'cost': 1})
132
+ v2_public_get_spot_ticker = v2PublicGetSpotTicker = Entry('spot/ticker', ['v2', 'public'], 'GET', {'cost': 1})
133
+ v2_public_get_spot_depth = v2PublicGetSpotDepth = Entry('spot/depth', ['v2', 'public'], 'GET', {'cost': 1})
134
+ v2_public_get_spot_deals = v2PublicGetSpotDeals = Entry('spot/deals', ['v2', 'public'], 'GET', {'cost': 1})
135
+ v2_public_get_spot_kline = v2PublicGetSpotKline = Entry('spot/kline', ['v2', 'public'], 'GET', {'cost': 1})
136
+ v2_public_get_spot_index = v2PublicGetSpotIndex = Entry('spot/index', ['v2', 'public'], 'GET', {'cost': 1})
137
+ v2_public_get_futures_market = v2PublicGetFuturesMarket = Entry('futures/market', ['v2', 'public'], 'GET', {'cost': 1})
138
+ v2_public_get_futures_ticker = v2PublicGetFuturesTicker = Entry('futures/ticker', ['v2', 'public'], 'GET', {'cost': 1})
139
+ v2_public_get_futures_depth = v2PublicGetFuturesDepth = Entry('futures/depth', ['v2', 'public'], 'GET', {'cost': 1})
140
+ v2_public_get_futures_deals = v2PublicGetFuturesDeals = Entry('futures/deals', ['v2', 'public'], 'GET', {'cost': 1})
141
+ v2_public_get_futures_kline = v2PublicGetFuturesKline = Entry('futures/kline', ['v2', 'public'], 'GET', {'cost': 1})
142
+ v2_public_get_futures_index = v2PublicGetFuturesIndex = Entry('futures/index', ['v2', 'public'], 'GET', {'cost': 1})
143
+ v2_public_get_futures_funding_rate = v2PublicGetFuturesFundingRate = Entry('futures/funding-rate', ['v2', 'public'], 'GET', {'cost': 1})
144
+ v2_public_get_futures_funding_rate_history = v2PublicGetFuturesFundingRateHistory = Entry('futures/funding-rate-history', ['v2', 'public'], 'GET', {'cost': 1})
145
+ v2_public_get_futures_position_level = v2PublicGetFuturesPositionLevel = Entry('futures/position-level', ['v2', 'public'], 'GET', {'cost': 1})
146
+ v2_public_get_futures_liquidation_history = v2PublicGetFuturesLiquidationHistory = Entry('futures/liquidation-history', ['v2', 'public'], 'GET', {'cost': 1})
147
+ v2_public_get_futures_basis_history = v2PublicGetFuturesBasisHistory = Entry('futures/basis-history', ['v2', 'public'], 'GET', {'cost': 1})
148
+ v2_private_get_account_subs = v2PrivateGetAccountSubs = Entry('account/subs', ['v2', 'private'], 'GET', {'cost': 1})
149
+ v2_private_get_account_subs_api_detail = v2PrivateGetAccountSubsApiDetail = Entry('account/subs/api-detail', ['v2', 'private'], 'GET', {'cost': 40})
150
+ v2_private_get_account_subs_info = v2PrivateGetAccountSubsInfo = Entry('account/subs/info', ['v2', 'private'], 'GET', {'cost': 1})
151
+ v2_private_get_account_subs_api = v2PrivateGetAccountSubsApi = Entry('account/subs/api', ['v2', 'private'], 'GET', {'cost': 40})
152
+ v2_private_get_account_subs_transfer_history = v2PrivateGetAccountSubsTransferHistory = Entry('account/subs/transfer-history', ['v2', 'private'], 'GET', {'cost': 40})
153
+ v2_private_get_account_subs_spot_balance = v2PrivateGetAccountSubsSpotBalance = Entry('account/subs/spot-balance', ['v2', 'private'], 'GET', {'cost': 1})
154
+ v2_private_get_account_trade_fee_rate = v2PrivateGetAccountTradeFeeRate = Entry('account/trade-fee-rate', ['v2', 'private'], 'GET', {'cost': 40})
155
+ v2_private_get_assets_spot_balance = v2PrivateGetAssetsSpotBalance = Entry('assets/spot/balance', ['v2', 'private'], 'GET', {'cost': 40})
156
+ v2_private_get_assets_futures_balance = v2PrivateGetAssetsFuturesBalance = Entry('assets/futures/balance', ['v2', 'private'], 'GET', {'cost': 40})
157
+ v2_private_get_assets_margin_balance = v2PrivateGetAssetsMarginBalance = Entry('assets/margin/balance', ['v2', 'private'], 'GET', {'cost': 1})
158
+ v2_private_get_assets_financial_balance = v2PrivateGetAssetsFinancialBalance = Entry('assets/financial/balance', ['v2', 'private'], 'GET', {'cost': 40})
159
+ v2_private_get_assets_amm_liquidity = v2PrivateGetAssetsAmmLiquidity = Entry('assets/amm/liquidity', ['v2', 'private'], 'GET', {'cost': 40})
160
+ v2_private_get_assets_credit_info = v2PrivateGetAssetsCreditInfo = Entry('assets/credit/info', ['v2', 'private'], 'GET', {'cost': 40})
161
+ v2_private_get_assets_margin_borrow_history = v2PrivateGetAssetsMarginBorrowHistory = Entry('assets/margin/borrow-history', ['v2', 'private'], 'GET', {'cost': 40})
162
+ v2_private_get_assets_margin_interest_limit = v2PrivateGetAssetsMarginInterestLimit = Entry('assets/margin/interest-limit', ['v2', 'private'], 'GET', {'cost': 1})
163
+ v2_private_get_assets_deposit_address = v2PrivateGetAssetsDepositAddress = Entry('assets/deposit-address', ['v2', 'private'], 'GET', {'cost': 40})
164
+ v2_private_get_assets_deposit_history = v2PrivateGetAssetsDepositHistory = Entry('assets/deposit-history', ['v2', 'private'], 'GET', {'cost': 40})
165
+ v2_private_get_assets_withdraw = v2PrivateGetAssetsWithdraw = Entry('assets/withdraw', ['v2', 'private'], 'GET', {'cost': 40})
166
+ v2_private_get_assets_deposit_withdraw_config = v2PrivateGetAssetsDepositWithdrawConfig = Entry('assets/deposit-withdraw-config', ['v2', 'private'], 'GET', {'cost': 1})
167
+ v2_private_get_assets_transfer_history = v2PrivateGetAssetsTransferHistory = Entry('assets/transfer-history', ['v2', 'private'], 'GET', {'cost': 40})
168
+ v2_private_get_spot_order_status = v2PrivateGetSpotOrderStatus = Entry('spot/order-status', ['v2', 'private'], 'GET', {'cost': 8})
169
+ v2_private_get_spot_batch_order_status = v2PrivateGetSpotBatchOrderStatus = Entry('spot/batch-order-status', ['v2', 'private'], 'GET', {'cost': 8})
170
+ v2_private_get_spot_pending_order = v2PrivateGetSpotPendingOrder = Entry('spot/pending-order', ['v2', 'private'], 'GET', {'cost': 8})
171
+ v2_private_get_spot_finished_order = v2PrivateGetSpotFinishedOrder = Entry('spot/finished-order', ['v2', 'private'], 'GET', {'cost': 40})
172
+ v2_private_get_spot_pending_stop_order = v2PrivateGetSpotPendingStopOrder = Entry('spot/pending-stop-order', ['v2', 'private'], 'GET', {'cost': 8})
173
+ v2_private_get_spot_finished_stop_order = v2PrivateGetSpotFinishedStopOrder = Entry('spot/finished-stop-order', ['v2', 'private'], 'GET', {'cost': 40})
174
+ v2_private_get_spot_user_deals = v2PrivateGetSpotUserDeals = Entry('spot/user-deals', ['v2', 'private'], 'GET', {'cost': 40})
175
+ v2_private_get_spot_order_deals = v2PrivateGetSpotOrderDeals = Entry('spot/order-deals', ['v2', 'private'], 'GET', {'cost': 40})
176
+ v2_private_get_futures_order_status = v2PrivateGetFuturesOrderStatus = Entry('futures/order-status', ['v2', 'private'], 'GET', {'cost': 8})
177
+ v2_private_get_futures_batch_order_status = v2PrivateGetFuturesBatchOrderStatus = Entry('futures/batch-order-status', ['v2', 'private'], 'GET', {'cost': 1})
178
+ v2_private_get_futures_pending_order = v2PrivateGetFuturesPendingOrder = Entry('futures/pending-order', ['v2', 'private'], 'GET', {'cost': 8})
179
+ v2_private_get_futures_finished_order = v2PrivateGetFuturesFinishedOrder = Entry('futures/finished-order', ['v2', 'private'], 'GET', {'cost': 40})
180
+ v2_private_get_futures_pending_stop_order = v2PrivateGetFuturesPendingStopOrder = Entry('futures/pending-stop-order', ['v2', 'private'], 'GET', {'cost': 8})
181
+ v2_private_get_futures_finished_stop_order = v2PrivateGetFuturesFinishedStopOrder = Entry('futures/finished-stop-order', ['v2', 'private'], 'GET', {'cost': 40})
182
+ v2_private_get_futures_user_deals = v2PrivateGetFuturesUserDeals = Entry('futures/user-deals', ['v2', 'private'], 'GET', {'cost': 1})
183
+ v2_private_get_futures_order_deals = v2PrivateGetFuturesOrderDeals = Entry('futures/order-deals', ['v2', 'private'], 'GET', {'cost': 1})
184
+ v2_private_get_futures_pending_position = v2PrivateGetFuturesPendingPosition = Entry('futures/pending-position', ['v2', 'private'], 'GET', {'cost': 40})
185
+ v2_private_get_futures_finished_position = v2PrivateGetFuturesFinishedPosition = Entry('futures/finished-position', ['v2', 'private'], 'GET', {'cost': 1})
186
+ v2_private_get_futures_position_margin_history = v2PrivateGetFuturesPositionMarginHistory = Entry('futures/position-margin-history', ['v2', 'private'], 'GET', {'cost': 1})
187
+ v2_private_get_futures_position_funding_history = v2PrivateGetFuturesPositionFundingHistory = Entry('futures/position-funding-history', ['v2', 'private'], 'GET', {'cost': 40})
188
+ v2_private_get_futures_position_adl_history = v2PrivateGetFuturesPositionAdlHistory = Entry('futures/position-adl-history', ['v2', 'private'], 'GET', {'cost': 1})
189
+ v2_private_get_futures_position_settle_history = v2PrivateGetFuturesPositionSettleHistory = Entry('futures/position-settle-history', ['v2', 'private'], 'GET', {'cost': 1})
190
+ v2_private_post_account_subs = v2PrivatePostAccountSubs = Entry('account/subs', ['v2', 'private'], 'POST', {'cost': 40})
191
+ v2_private_post_account_subs_frozen = v2PrivatePostAccountSubsFrozen = Entry('account/subs/frozen', ['v2', 'private'], 'POST', {'cost': 40})
192
+ v2_private_post_account_subs_unfrozen = v2PrivatePostAccountSubsUnfrozen = Entry('account/subs/unfrozen', ['v2', 'private'], 'POST', {'cost': 40})
193
+ v2_private_post_account_subs_api = v2PrivatePostAccountSubsApi = Entry('account/subs/api', ['v2', 'private'], 'POST', {'cost': 40})
194
+ v2_private_post_account_subs_edit_api = v2PrivatePostAccountSubsEditApi = Entry('account/subs/edit-api', ['v2', 'private'], 'POST', {'cost': 40})
195
+ v2_private_post_account_subs_delete_api = v2PrivatePostAccountSubsDeleteApi = Entry('account/subs/delete-api', ['v2', 'private'], 'POST', {'cost': 40})
196
+ v2_private_post_account_subs_transfer = v2PrivatePostAccountSubsTransfer = Entry('account/subs/transfer', ['v2', 'private'], 'POST', {'cost': 40})
197
+ v2_private_post_account_settings = v2PrivatePostAccountSettings = Entry('account/settings', ['v2', 'private'], 'POST', {'cost': 40})
198
+ v2_private_post_assets_margin_borrow = v2PrivatePostAssetsMarginBorrow = Entry('assets/margin/borrow', ['v2', 'private'], 'POST', {'cost': 40})
199
+ v2_private_post_assets_margin_repay = v2PrivatePostAssetsMarginRepay = Entry('assets/margin/repay', ['v2', 'private'], 'POST', {'cost': 40})
200
+ v2_private_post_assets_renewal_deposit_address = v2PrivatePostAssetsRenewalDepositAddress = Entry('assets/renewal-deposit-address', ['v2', 'private'], 'POST', {'cost': 40})
201
+ v2_private_post_assets_withdraw = v2PrivatePostAssetsWithdraw = Entry('assets/withdraw', ['v2', 'private'], 'POST', {'cost': 40})
202
+ v2_private_post_assets_cancel_withdraw = v2PrivatePostAssetsCancelWithdraw = Entry('assets/cancel-withdraw', ['v2', 'private'], 'POST', {'cost': 40})
203
+ v2_private_post_assets_transfer = v2PrivatePostAssetsTransfer = Entry('assets/transfer', ['v2', 'private'], 'POST', {'cost': 40})
204
+ v2_private_post_assets_amm_add_liquidity = v2PrivatePostAssetsAmmAddLiquidity = Entry('assets/amm/add-liquidity', ['v2', 'private'], 'POST', {'cost': 1})
205
+ v2_private_post_assets_amm_remove_liquidity = v2PrivatePostAssetsAmmRemoveLiquidity = Entry('assets/amm/remove-liquidity', ['v2', 'private'], 'POST', {'cost': 1})
206
+ v2_private_post_spot_order = v2PrivatePostSpotOrder = Entry('spot/order', ['v2', 'private'], 'POST', {'cost': 13.334})
207
+ v2_private_post_spot_stop_order = v2PrivatePostSpotStopOrder = Entry('spot/stop-order', ['v2', 'private'], 'POST', {'cost': 13.334})
208
+ v2_private_post_spot_batch_order = v2PrivatePostSpotBatchOrder = Entry('spot/batch-order', ['v2', 'private'], 'POST', {'cost': 40})
209
+ v2_private_post_spot_batch_stop_order = v2PrivatePostSpotBatchStopOrder = Entry('spot/batch-stop-order', ['v2', 'private'], 'POST', {'cost': 1})
210
+ v2_private_post_spot_modify_order = v2PrivatePostSpotModifyOrder = Entry('spot/modify-order', ['v2', 'private'], 'POST', {'cost': 13.334})
211
+ v2_private_post_spot_modify_stop_order = v2PrivatePostSpotModifyStopOrder = Entry('spot/modify-stop-order', ['v2', 'private'], 'POST', {'cost': 13.334})
212
+ v2_private_post_spot_cancel_all_order = v2PrivatePostSpotCancelAllOrder = Entry('spot/cancel-all-order', ['v2', 'private'], 'POST', {'cost': 1})
213
+ v2_private_post_spot_cancel_order = v2PrivatePostSpotCancelOrder = Entry('spot/cancel-order', ['v2', 'private'], 'POST', {'cost': 6.667})
214
+ v2_private_post_spot_cancel_stop_order = v2PrivatePostSpotCancelStopOrder = Entry('spot/cancel-stop-order', ['v2', 'private'], 'POST', {'cost': 6.667})
215
+ v2_private_post_spot_cancel_batch_order = v2PrivatePostSpotCancelBatchOrder = Entry('spot/cancel-batch-order', ['v2', 'private'], 'POST', {'cost': 10})
216
+ v2_private_post_spot_cancel_batch_stop_order = v2PrivatePostSpotCancelBatchStopOrder = Entry('spot/cancel-batch-stop-order', ['v2', 'private'], 'POST', {'cost': 10})
217
+ v2_private_post_spot_cancel_order_by_client_id = v2PrivatePostSpotCancelOrderByClientId = Entry('spot/cancel-order-by-client-id', ['v2', 'private'], 'POST', {'cost': 1})
218
+ v2_private_post_spot_cancel_stop_order_by_client_id = v2PrivatePostSpotCancelStopOrderByClientId = Entry('spot/cancel-stop-order-by-client-id', ['v2', 'private'], 'POST', {'cost': 1})
219
+ v2_private_post_futures_order = v2PrivatePostFuturesOrder = Entry('futures/order', ['v2', 'private'], 'POST', {'cost': 20})
220
+ v2_private_post_futures_stop_order = v2PrivatePostFuturesStopOrder = Entry('futures/stop-order', ['v2', 'private'], 'POST', {'cost': 20})
221
+ v2_private_post_futures_batch_order = v2PrivatePostFuturesBatchOrder = Entry('futures/batch-order', ['v2', 'private'], 'POST', {'cost': 1})
222
+ v2_private_post_futures_batch_stop_order = v2PrivatePostFuturesBatchStopOrder = Entry('futures/batch-stop-order', ['v2', 'private'], 'POST', {'cost': 1})
223
+ v2_private_post_futures_modify_order = v2PrivatePostFuturesModifyOrder = Entry('futures/modify-order', ['v2', 'private'], 'POST', {'cost': 20})
224
+ v2_private_post_futures_modify_stop_order = v2PrivatePostFuturesModifyStopOrder = Entry('futures/modify-stop-order', ['v2', 'private'], 'POST', {'cost': 20})
225
+ v2_private_post_futures_cancel_all_order = v2PrivatePostFuturesCancelAllOrder = Entry('futures/cancel-all-order', ['v2', 'private'], 'POST', {'cost': 1})
226
+ v2_private_post_futures_cancel_order = v2PrivatePostFuturesCancelOrder = Entry('futures/cancel-order', ['v2', 'private'], 'POST', {'cost': 10})
227
+ v2_private_post_futures_cancel_stop_order = v2PrivatePostFuturesCancelStopOrder = Entry('futures/cancel-stop-order', ['v2', 'private'], 'POST', {'cost': 10})
228
+ v2_private_post_futures_cancel_batch_order = v2PrivatePostFuturesCancelBatchOrder = Entry('futures/cancel-batch-order', ['v2', 'private'], 'POST', {'cost': 20})
229
+ v2_private_post_futures_cancel_batch_stop_order = v2PrivatePostFuturesCancelBatchStopOrder = Entry('futures/cancel-batch-stop-order', ['v2', 'private'], 'POST', {'cost': 20})
230
+ v2_private_post_futures_cancel_order_by_client_id = v2PrivatePostFuturesCancelOrderByClientId = Entry('futures/cancel-order-by-client-id', ['v2', 'private'], 'POST', {'cost': 1})
231
+ v2_private_post_futures_cancel_stop_order_by_client_id = v2PrivatePostFuturesCancelStopOrderByClientId = Entry('futures/cancel-stop-order-by-client-id', ['v2', 'private'], 'POST', {'cost': 1})
232
+ v2_private_post_futures_close_position = v2PrivatePostFuturesClosePosition = Entry('futures/close-position', ['v2', 'private'], 'POST', {'cost': 20})
233
+ v2_private_post_futures_adjust_position_margin = v2PrivatePostFuturesAdjustPositionMargin = Entry('futures/adjust-position-margin', ['v2', 'private'], 'POST', {'cost': 20})
234
+ v2_private_post_futures_adjust_position_leverage = v2PrivatePostFuturesAdjustPositionLeverage = Entry('futures/adjust-position-leverage', ['v2', 'private'], 'POST', {'cost': 20})
235
+ v2_private_post_futures_set_position_stop_loss = v2PrivatePostFuturesSetPositionStopLoss = Entry('futures/set-position-stop-loss', ['v2', 'private'], 'POST', {'cost': 20})
236
+ v2_private_post_futures_set_position_take_profit = v2PrivatePostFuturesSetPositionTakeProfit = Entry('futures/set-position-take-profit', ['v2', 'private'], 'POST', {'cost': 20})
ccxt/ace.py CHANGED
@@ -395,7 +395,7 @@ class ace(Exchange, ImplicitAPI):
395
395
  # "status": 200
396
396
  # }
397
397
  #
398
- orderBook = self.safe_value(response, 'attachment')
398
+ orderBook = self.safe_dict(response, 'attachment')
399
399
  return self.parse_order_book(orderBook, market['symbol'], None, 'bids', 'asks')
400
400
 
401
401
  def parse_ohlcv(self, ohlcv, market: Market = None) -> list:
@@ -602,7 +602,7 @@ class ace(Exchange, ImplicitAPI):
602
602
  # "status": 200
603
603
  # }
604
604
  #
605
- data = self.safe_value(response, 'attachment')
605
+ data = self.safe_dict(response, 'attachment')
606
606
  return self.parse_order(data, market)
607
607
 
608
608
  def cancel_order(self, id: str, symbol: Str = None, params={}):
@@ -664,7 +664,7 @@ class ace(Exchange, ImplicitAPI):
664
664
  # "status": 200
665
665
  # }
666
666
  #
667
- data = self.safe_value(response, 'attachment')
667
+ data = self.safe_dict(response, 'attachment')
668
668
  return self.parse_order(data, None)
669
669
 
670
670
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
@@ -847,7 +847,7 @@ class ace(Exchange, ImplicitAPI):
847
847
  # }
848
848
  #
849
849
  data = self.safe_value(response, 'attachment')
850
- trades = self.safe_value(data, 'trades', [])
850
+ trades = self.safe_list(data, 'trades', [])
851
851
  return self.parse_trades(trades, market, since, limit)
852
852
 
853
853
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
@@ -902,7 +902,7 @@ class ace(Exchange, ImplicitAPI):
902
902
  # "status": 200
903
903
  # }
904
904
  #
905
- trades = self.safe_value(response, 'attachment', [])
905
+ trades = self.safe_list(response, 'attachment', [])
906
906
  return self.parse_trades(trades, market, since, limit)
907
907
 
908
908
  def parse_balance(self, response) -> Balances:
ccxt/ascendex.py CHANGED
@@ -1011,7 +1011,7 @@ class ascendex(Exchange, ImplicitAPI):
1011
1011
  # }
1012
1012
  # }
1013
1013
  #
1014
- data = self.safe_value(response, 'data', {})
1014
+ data = self.safe_dict(response, 'data', {})
1015
1015
  return self.parse_ticker(data, market)
1016
1016
 
1017
1017
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
@@ -1138,7 +1138,7 @@ class ascendex(Exchange, ImplicitAPI):
1138
1138
  # ]
1139
1139
  # }
1140
1140
  #
1141
- data = self.safe_value(response, 'data', [])
1141
+ data = self.safe_list(response, 'data', [])
1142
1142
  return self.parse_ohlcvs(data, market, timeframe, since, limit)
1143
1143
 
1144
1144
  def parse_trade(self, trade, market: Market = None) -> Trade:
@@ -1208,7 +1208,7 @@ class ascendex(Exchange, ImplicitAPI):
1208
1208
  # }
1209
1209
  #
1210
1210
  records = self.safe_value(response, 'data', [])
1211
- trades = self.safe_value(records, 'data', [])
1211
+ trades = self.safe_list(records, 'data', [])
1212
1212
  return self.parse_trades(trades, market, since, limit)
1213
1213
 
1214
1214
  def parse_order_status(self, status):
@@ -1691,7 +1691,7 @@ class ascendex(Exchange, ImplicitAPI):
1691
1691
  # }
1692
1692
  #
1693
1693
  data = self.safe_value(response, 'data', {})
1694
- info = self.safe_value(data, 'info', [])
1694
+ info = self.safe_list(data, 'info', [])
1695
1695
  return self.parse_orders(info, market)
1696
1696
 
1697
1697
  def fetch_order(self, id: str, symbol: Str = None, params={}):
@@ -1793,7 +1793,7 @@ class ascendex(Exchange, ImplicitAPI):
1793
1793
  # }
1794
1794
  # }
1795
1795
  #
1796
- data = self.safe_value(response, 'data', {})
1796
+ data = self.safe_dict(response, 'data', {})
1797
1797
  return self.parse_order(data, market)
1798
1798
 
1799
1799
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
@@ -2433,7 +2433,7 @@ class ascendex(Exchange, ImplicitAPI):
2433
2433
  # }
2434
2434
  #
2435
2435
  data = self.safe_value(response, 'data', {})
2436
- transactions = self.safe_value(data, 'data', [])
2436
+ transactions = self.safe_list(data, 'data', [])
2437
2437
  return self.parse_transactions(transactions, currency, since, limit)
2438
2438
 
2439
2439
  def parse_transaction_status(self, status):
@@ -2962,7 +2962,7 @@ class ascendex(Exchange, ImplicitAPI):
2962
2962
  """
2963
2963
  self.load_markets()
2964
2964
  response = self.v2PublicGetAssets(params)
2965
- data = self.safe_value(response, 'data')
2965
+ data = self.safe_list(response, 'data')
2966
2966
  return self.parse_deposit_withdraw_fees(data, codes, 'assetCode')
2967
2967
 
2968
2968
  def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
@@ -3078,7 +3078,7 @@ class ascendex(Exchange, ImplicitAPI):
3078
3078
  # }
3079
3079
  #
3080
3080
  data = self.safe_value(response, 'data', {})
3081
- rows = self.safe_value(data, 'data', [])
3081
+ rows = self.safe_list(data, 'data', [])
3082
3082
  return self.parse_incomes(rows, market, since, limit)
3083
3083
 
3084
3084
  def parse_income(self, income, market: Market = None):
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.2.84'
7
+ __version__ = '4.2.86'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10