gate-io-api 0.0.97__py3-none-any.whl → 0.0.99__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 gate-io-api might be problematic. Click here for more details.
- gate/ccxt/__init__.py +1 -1
- gate/ccxt/abstract/gate.py +62 -18
- gate/ccxt/async_support/__init__.py +1 -1
- gate/ccxt/async_support/base/exchange.py +1 -1
- gate/ccxt/async_support/gate.py +97 -45
- gate/ccxt/base/exchange.py +1 -1
- gate/ccxt/gate.py +97 -45
- gate/ccxt/pro/__init__.py +1 -1
- {gate_io_api-0.0.97.dist-info → gate_io_api-0.0.99.dist-info}/METADATA +63 -19
- {gate_io_api-0.0.97.dist-info → gate_io_api-0.0.99.dist-info}/RECORD +11 -11
- {gate_io_api-0.0.97.dist-info → gate_io_api-0.0.99.dist-info}/WHEEL +0 -0
gate/ccxt/__init__.py
CHANGED
|
@@ -26,7 +26,7 @@ sys.modules['ccxt'] = ccxt_module
|
|
|
26
26
|
|
|
27
27
|
# ----------------------------------------------------------------------------
|
|
28
28
|
|
|
29
|
-
__version__ = '4.5.
|
|
29
|
+
__version__ = '4.5.14'
|
|
30
30
|
|
|
31
31
|
# ----------------------------------------------------------------------------
|
|
32
32
|
|
gate/ccxt/abstract/gate.py
CHANGED
|
@@ -3,6 +3,8 @@ from ccxt.base.types import Entry
|
|
|
3
3
|
|
|
4
4
|
class ImplicitAPI:
|
|
5
5
|
public_wallet_get_currency_chains = publicWalletGetCurrencyChains = Entry('currency_chains', ['public', 'wallet'], 'GET', {'cost': 1})
|
|
6
|
+
public_unified_get_currencies = publicUnifiedGetCurrencies = Entry('currencies', ['public', 'unified'], 'GET', {'cost': 1})
|
|
7
|
+
public_unified_get_history_loan_rate = publicUnifiedGetHistoryLoanRate = Entry('history_loan_rate', ['public', 'unified'], 'GET', {'cost': 1})
|
|
6
8
|
public_spot_get_currencies = publicSpotGetCurrencies = Entry('currencies', ['public', 'spot'], 'GET', {'cost': 1})
|
|
7
9
|
public_spot_get_currencies_currency = publicSpotGetCurrenciesCurrency = Entry('currencies/{currency}', ['public', 'spot'], 'GET', {'cost': 1})
|
|
8
10
|
public_spot_get_currency_pairs = publicSpotGetCurrencyPairs = Entry('currency_pairs', ['public', 'spot'], 'GET', {'cost': 1})
|
|
@@ -12,13 +14,16 @@ class ImplicitAPI:
|
|
|
12
14
|
public_spot_get_trades = publicSpotGetTrades = Entry('trades', ['public', 'spot'], 'GET', {'cost': 1})
|
|
13
15
|
public_spot_get_candlesticks = publicSpotGetCandlesticks = Entry('candlesticks', ['public', 'spot'], 'GET', {'cost': 1})
|
|
14
16
|
public_spot_get_time = publicSpotGetTime = Entry('time', ['public', 'spot'], 'GET', {'cost': 1})
|
|
17
|
+
public_spot_get_insurance_history = publicSpotGetInsuranceHistory = Entry('insurance_history', ['public', 'spot'], 'GET', {'cost': 1})
|
|
18
|
+
public_margin_get_uni_currency_pairs = publicMarginGetUniCurrencyPairs = Entry('uni/currency_pairs', ['public', 'margin'], 'GET', {'cost': 1})
|
|
19
|
+
public_margin_get_uni_currency_pairs_currency_pair = publicMarginGetUniCurrencyPairsCurrencyPair = Entry('uni/currency_pairs/{currency_pair}', ['public', 'margin'], 'GET', {'cost': 1})
|
|
20
|
+
public_margin_get_loan_margin_tiers = publicMarginGetLoanMarginTiers = Entry('loan_margin_tiers', ['public', 'margin'], 'GET', {'cost': 1})
|
|
15
21
|
public_margin_get_currency_pairs = publicMarginGetCurrencyPairs = Entry('currency_pairs', ['public', 'margin'], 'GET', {'cost': 1})
|
|
16
22
|
public_margin_get_currency_pairs_currency_pair = publicMarginGetCurrencyPairsCurrencyPair = Entry('currency_pairs/{currency_pair}', ['public', 'margin'], 'GET', {'cost': 1})
|
|
17
23
|
public_margin_get_funding_book = publicMarginGetFundingBook = Entry('funding_book', ['public', 'margin'], 'GET', {'cost': 1})
|
|
18
24
|
public_margin_get_cross_currencies = publicMarginGetCrossCurrencies = Entry('cross/currencies', ['public', 'margin'], 'GET', {'cost': 1})
|
|
19
25
|
public_margin_get_cross_currencies_currency = publicMarginGetCrossCurrenciesCurrency = Entry('cross/currencies/{currency}', ['public', 'margin'], 'GET', {'cost': 1})
|
|
20
|
-
|
|
21
|
-
public_margin_get_uni_currency_pairs_currency_pair = publicMarginGetUniCurrencyPairsCurrencyPair = Entry('uni/currency_pairs/{currency_pair}', ['public', 'margin'], 'GET', {'cost': 1})
|
|
26
|
+
public_flash_swap_get_currency_pairs = publicFlash_swapGetCurrencyPairs = Entry('currency_pairs', ['public', 'flash_swap'], 'GET', {'cost': 1})
|
|
22
27
|
public_flash_swap_get_currencies = publicFlash_swapGetCurrencies = Entry('currencies', ['public', 'flash_swap'], 'GET', {'cost': 1})
|
|
23
28
|
public_futures_get_settle_contracts = publicFuturesGetSettleContracts = Entry('{settle}/contracts', ['public', 'futures'], 'GET', {'cost': 1})
|
|
24
29
|
public_futures_get_settle_contracts_contract = publicFuturesGetSettleContractsContract = Entry('{settle}/contracts/{contract}', ['public', 'futures'], 'GET', {'cost': 1})
|
|
@@ -40,6 +45,7 @@ class ImplicitAPI:
|
|
|
40
45
|
public_delivery_get_settle_candlesticks = publicDeliveryGetSettleCandlesticks = Entry('{settle}/candlesticks', ['public', 'delivery'], 'GET', {'cost': 1})
|
|
41
46
|
public_delivery_get_settle_tickers = publicDeliveryGetSettleTickers = Entry('{settle}/tickers', ['public', 'delivery'], 'GET', {'cost': 1})
|
|
42
47
|
public_delivery_get_settle_insurance = publicDeliveryGetSettleInsurance = Entry('{settle}/insurance', ['public', 'delivery'], 'GET', {'cost': 1})
|
|
48
|
+
public_delivery_get_settle_risk_limit_tiers = publicDeliveryGetSettleRiskLimitTiers = Entry('{settle}/risk_limit_tiers', ['public', 'delivery'], 'GET', {'cost': 1})
|
|
43
49
|
public_options_get_underlyings = publicOptionsGetUnderlyings = Entry('underlyings', ['public', 'options'], 'GET', {'cost': 1})
|
|
44
50
|
public_options_get_expirations = publicOptionsGetExpirations = Entry('expirations', ['public', 'options'], 'GET', {'cost': 1})
|
|
45
51
|
public_options_get_contracts = publicOptionsGetContracts = Entry('contracts', ['public', 'options'], 'GET', {'cost': 1})
|
|
@@ -54,6 +60,13 @@ class ImplicitAPI:
|
|
|
54
60
|
public_options_get_trades = publicOptionsGetTrades = Entry('trades', ['public', 'options'], 'GET', {'cost': 1})
|
|
55
61
|
public_earn_get_uni_currencies = publicEarnGetUniCurrencies = Entry('uni/currencies', ['public', 'earn'], 'GET', {'cost': 1})
|
|
56
62
|
public_earn_get_uni_currencies_currency = publicEarnGetUniCurrenciesCurrency = Entry('uni/currencies/{currency}', ['public', 'earn'], 'GET', {'cost': 1})
|
|
63
|
+
public_earn_get_dual_investment_plan = publicEarnGetDualInvestmentPlan = Entry('dual/investment_plan', ['public', 'earn'], 'GET', {'cost': 1})
|
|
64
|
+
public_earn_get_structured_products = publicEarnGetStructuredProducts = Entry('structured/products', ['public', 'earn'], 'GET', {'cost': 1})
|
|
65
|
+
public_loan_get_collateral_currencies = publicLoanGetCollateralCurrencies = Entry('collateral/currencies', ['public', 'loan'], 'GET', {'cost': 1})
|
|
66
|
+
public_loan_get_multi_collateral_currencies = publicLoanGetMultiCollateralCurrencies = Entry('multi_collateral/currencies', ['public', 'loan'], 'GET', {'cost': 1})
|
|
67
|
+
public_loan_get_multi_collateral_ltv = publicLoanGetMultiCollateralLtv = Entry('multi_collateral/ltv', ['public', 'loan'], 'GET', {'cost': 1})
|
|
68
|
+
public_loan_get_multi_collateral_fixed_rate = publicLoanGetMultiCollateralFixedRate = Entry('multi_collateral/fixed_rate', ['public', 'loan'], 'GET', {'cost': 1})
|
|
69
|
+
public_loan_get_multi_collateral_current_rate = publicLoanGetMultiCollateralCurrentRate = Entry('multi_collateral/current_rate', ['public', 'loan'], 'GET', {'cost': 1})
|
|
57
70
|
private_withdrawals_post_withdrawals = privateWithdrawalsPostWithdrawals = Entry('withdrawals', ['private', 'withdrawals'], 'POST', {'cost': 20})
|
|
58
71
|
private_withdrawals_post_push = privateWithdrawalsPostPush = Entry('push', ['private', 'withdrawals'], 'POST', {'cost': 1})
|
|
59
72
|
private_withdrawals_delete_withdrawals_withdrawal_id = privateWithdrawalsDeleteWithdrawalsWithdrawalId = Entry('withdrawals/{withdrawal_id}', ['private', 'withdrawals'], 'DELETE', {'cost': 1})
|
|
@@ -88,23 +101,26 @@ class ImplicitAPI:
|
|
|
88
101
|
private_subaccounts_put_sub_accounts_user_id_keys_key = privateSubAccountsPutSubAccountsUserIdKeysKey = Entry('sub_accounts/{user_id}/keys/{key}', ['private', 'subAccounts'], 'PUT', {'cost': 2.5})
|
|
89
102
|
private_subaccounts_delete_sub_accounts_user_id_keys_key = privateSubAccountsDeleteSubAccountsUserIdKeysKey = Entry('sub_accounts/{user_id}/keys/{key}', ['private', 'subAccounts'], 'DELETE', {'cost': 2.5})
|
|
90
103
|
private_unified_get_accounts = privateUnifiedGetAccounts = Entry('accounts', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
91
|
-
private_unified_get_account_mode = privateUnifiedGetAccountMode = Entry('account_mode', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
92
104
|
private_unified_get_borrowable = privateUnifiedGetBorrowable = Entry('borrowable', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
93
105
|
private_unified_get_transferable = privateUnifiedGetTransferable = Entry('transferable', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
106
|
+
private_unified_get_transferables = privateUnifiedGetTransferables = Entry('transferables', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
107
|
+
private_unified_get_batch_borrowable = privateUnifiedGetBatchBorrowable = Entry('batch_borrowable', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
94
108
|
private_unified_get_loans = privateUnifiedGetLoans = Entry('loans', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
95
109
|
private_unified_get_loan_records = privateUnifiedGetLoanRecords = Entry('loan_records', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
96
110
|
private_unified_get_interest_records = privateUnifiedGetInterestRecords = Entry('interest_records', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
97
|
-
private_unified_get_estimate_rate = privateUnifiedGetEstimateRate = Entry('estimate_rate', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
98
|
-
private_unified_get_currency_discount_tiers = privateUnifiedGetCurrencyDiscountTiers = Entry('currency_discount_tiers', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
99
111
|
private_unified_get_risk_units = privateUnifiedGetRiskUnits = Entry('risk_units', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
100
112
|
private_unified_get_unified_mode = privateUnifiedGetUnifiedMode = Entry('unified_mode', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
113
|
+
private_unified_get_estimate_rate = privateUnifiedGetEstimateRate = Entry('estimate_rate', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
114
|
+
private_unified_get_currency_discount_tiers = privateUnifiedGetCurrencyDiscountTiers = Entry('currency_discount_tiers', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
101
115
|
private_unified_get_loan_margin_tiers = privateUnifiedGetLoanMarginTiers = Entry('loan_margin_tiers', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
102
116
|
private_unified_get_leverage_user_currency_config = privateUnifiedGetLeverageUserCurrencyConfig = Entry('leverage/user_currency_config', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
103
117
|
private_unified_get_leverage_user_currency_setting = privateUnifiedGetLeverageUserCurrencySetting = Entry('leverage/user_currency_setting', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
104
|
-
|
|
118
|
+
private_unified_get_account_mode = privateUnifiedGetAccountMode = Entry('account_mode', ['private', 'unified'], 'GET', {'cost': 1.3333333333333333})
|
|
105
119
|
private_unified_post_loans = privateUnifiedPostLoans = Entry('loans', ['private', 'unified'], 'POST', {'cost': 13.333333333333334})
|
|
106
120
|
private_unified_post_portfolio_calculator = privateUnifiedPostPortfolioCalculator = Entry('portfolio_calculator', ['private', 'unified'], 'POST', {'cost': 1.3333333333333333})
|
|
107
121
|
private_unified_post_leverage_user_currency_setting = privateUnifiedPostLeverageUserCurrencySetting = Entry('leverage/user_currency_setting', ['private', 'unified'], 'POST', {'cost': 1.3333333333333333})
|
|
122
|
+
private_unified_post_collateral_currencies = privateUnifiedPostCollateralCurrencies = Entry('collateral_currencies', ['private', 'unified'], 'POST', {'cost': 1.3333333333333333})
|
|
123
|
+
private_unified_post_account_mode = privateUnifiedPostAccountMode = Entry('account_mode', ['private', 'unified'], 'POST', {'cost': 1.3333333333333333})
|
|
108
124
|
private_unified_put_unified_mode = privateUnifiedPutUnifiedMode = Entry('unified_mode', ['private', 'unified'], 'PUT', {'cost': 1.3333333333333333})
|
|
109
125
|
private_spot_get_fee = privateSpotGetFee = Entry('fee', ['private', 'spot'], 'GET', {'cost': 1})
|
|
110
126
|
private_spot_get_batch_fee = privateSpotGetBatchFee = Entry('batch_fee', ['private', 'spot'], 'GET', {'cost': 1})
|
|
@@ -133,6 +149,13 @@ class ImplicitAPI:
|
|
|
133
149
|
private_margin_get_funding_accounts = privateMarginGetFundingAccounts = Entry('funding_accounts', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
134
150
|
private_margin_get_auto_repay = privateMarginGetAutoRepay = Entry('auto_repay', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
135
151
|
private_margin_get_transferable = privateMarginGetTransferable = Entry('transferable', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
152
|
+
private_margin_get_uni_estimate_rate = privateMarginGetUniEstimateRate = Entry('uni/estimate_rate', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
153
|
+
private_margin_get_uni_loans = privateMarginGetUniLoans = Entry('uni/loans', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
154
|
+
private_margin_get_uni_loan_records = privateMarginGetUniLoanRecords = Entry('uni/loan_records', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
155
|
+
private_margin_get_uni_interest_records = privateMarginGetUniInterestRecords = Entry('uni/interest_records', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
156
|
+
private_margin_get_uni_borrowable = privateMarginGetUniBorrowable = Entry('uni/borrowable', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
157
|
+
private_margin_get_user_loan_margin_tiers = privateMarginGetUserLoanMarginTiers = Entry('user/loan_margin_tiers', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
158
|
+
private_margin_get_user_account = privateMarginGetUserAccount = Entry('user/account', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
136
159
|
private_margin_get_loans = privateMarginGetLoans = Entry('loans', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
137
160
|
private_margin_get_loans_loan_id = privateMarginGetLoansLoanId = Entry('loans/{loan_id}', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
138
161
|
private_margin_get_loans_loan_id_repayment = privateMarginGetLoansLoanIdRepayment = Entry('loans/{loan_id}/repayment', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
@@ -148,23 +171,17 @@ class ImplicitAPI:
|
|
|
148
171
|
private_margin_get_cross_transferable = privateMarginGetCrossTransferable = Entry('cross/transferable', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
149
172
|
private_margin_get_cross_estimate_rate = privateMarginGetCrossEstimateRate = Entry('cross/estimate_rate', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
150
173
|
private_margin_get_cross_borrowable = privateMarginGetCrossBorrowable = Entry('cross/borrowable', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
151
|
-
private_margin_get_uni_estimate_rate = privateMarginGetUniEstimateRate = Entry('uni/estimate_rate', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
152
|
-
private_margin_get_uni_loans = privateMarginGetUniLoans = Entry('uni/loans', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
153
|
-
private_margin_get_uni_loan_records = privateMarginGetUniLoanRecords = Entry('uni/loan_records', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
154
|
-
private_margin_get_uni_interest_records = privateMarginGetUniInterestRecords = Entry('uni/interest_records', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
155
|
-
private_margin_get_uni_borrowable = privateMarginGetUniBorrowable = Entry('uni/borrowable', ['private', 'margin'], 'GET', {'cost': 1.3333333333333333})
|
|
156
174
|
private_margin_post_auto_repay = privateMarginPostAutoRepay = Entry('auto_repay', ['private', 'margin'], 'POST', {'cost': 1.3333333333333333})
|
|
175
|
+
private_margin_post_uni_loans = privateMarginPostUniLoans = Entry('uni/loans', ['private', 'margin'], 'POST', {'cost': 1.3333333333333333})
|
|
176
|
+
private_margin_post_leverage_user_market_setting = privateMarginPostLeverageUserMarketSetting = Entry('leverage/user_market_setting', ['private', 'margin'], 'POST', {'cost': 1.3333333333333333})
|
|
157
177
|
private_margin_post_loans = privateMarginPostLoans = Entry('loans', ['private', 'margin'], 'POST', {'cost': 1.3333333333333333})
|
|
158
178
|
private_margin_post_merged_loans = privateMarginPostMergedLoans = Entry('merged_loans', ['private', 'margin'], 'POST', {'cost': 1.3333333333333333})
|
|
159
179
|
private_margin_post_loans_loan_id_repayment = privateMarginPostLoansLoanIdRepayment = Entry('loans/{loan_id}/repayment', ['private', 'margin'], 'POST', {'cost': 1.3333333333333333})
|
|
160
180
|
private_margin_post_cross_loans = privateMarginPostCrossLoans = Entry('cross/loans', ['private', 'margin'], 'POST', {'cost': 1.3333333333333333})
|
|
161
181
|
private_margin_post_cross_repayments = privateMarginPostCrossRepayments = Entry('cross/repayments', ['private', 'margin'], 'POST', {'cost': 1.3333333333333333})
|
|
162
|
-
private_margin_post_uni_loans = privateMarginPostUniLoans = Entry('uni/loans', ['private', 'margin'], 'POST', {'cost': 1.3333333333333333})
|
|
163
182
|
private_margin_patch_loans_loan_id = privateMarginPatchLoansLoanId = Entry('loans/{loan_id}', ['private', 'margin'], 'PATCH', {'cost': 1.3333333333333333})
|
|
164
183
|
private_margin_patch_loan_records_loan_record_id = privateMarginPatchLoanRecordsLoanRecordId = Entry('loan_records/{loan_record_id}', ['private', 'margin'], 'PATCH', {'cost': 1.3333333333333333})
|
|
165
184
|
private_margin_delete_loans_loan_id = privateMarginDeleteLoansLoanId = Entry('loans/{loan_id}', ['private', 'margin'], 'DELETE', {'cost': 1.3333333333333333})
|
|
166
|
-
private_flash_swap_get_currencies = privateFlash_swapGetCurrencies = Entry('currencies', ['private', 'flash_swap'], 'GET', {'cost': 1})
|
|
167
|
-
private_flash_swap_get_currency_pairs = privateFlash_swapGetCurrencyPairs = Entry('currency_pairs', ['private', 'flash_swap'], 'GET', {'cost': 1})
|
|
168
185
|
private_flash_swap_get_orders = privateFlash_swapGetOrders = Entry('orders', ['private', 'flash_swap'], 'GET', {'cost': 1})
|
|
169
186
|
private_flash_swap_get_orders_order_id = privateFlash_swapGetOrdersOrderId = Entry('orders/{order_id}', ['private', 'flash_swap'], 'GET', {'cost': 1})
|
|
170
187
|
private_flash_swap_post_orders = privateFlash_swapPostOrders = Entry('orders', ['private', 'flash_swap'], 'POST', {'cost': 1})
|
|
@@ -183,12 +200,14 @@ class ImplicitAPI:
|
|
|
183
200
|
private_futures_get_settle_liquidates = privateFuturesGetSettleLiquidates = Entry('{settle}/liquidates', ['private', 'futures'], 'GET', {'cost': 1})
|
|
184
201
|
private_futures_get_settle_auto_deleverages = privateFuturesGetSettleAutoDeleverages = Entry('{settle}/auto_deleverages', ['private', 'futures'], 'GET', {'cost': 1})
|
|
185
202
|
private_futures_get_settle_fee = privateFuturesGetSettleFee = Entry('{settle}/fee', ['private', 'futures'], 'GET', {'cost': 1})
|
|
186
|
-
|
|
203
|
+
private_futures_get_settle_risk_limit_table = privateFuturesGetSettleRiskLimitTable = Entry('{settle}/risk_limit_table', ['private', 'futures'], 'GET', {'cost': 1})
|
|
187
204
|
private_futures_get_settle_price_orders = privateFuturesGetSettlePriceOrders = Entry('{settle}/price_orders', ['private', 'futures'], 'GET', {'cost': 1})
|
|
188
205
|
private_futures_get_settle_price_orders_order_id = privateFuturesGetSettlePriceOrdersOrderId = Entry('{settle}/price_orders/{order_id}', ['private', 'futures'], 'GET', {'cost': 1})
|
|
189
206
|
private_futures_post_settle_positions_contract_margin = privateFuturesPostSettlePositionsContractMargin = Entry('{settle}/positions/{contract}/margin', ['private', 'futures'], 'POST', {'cost': 1})
|
|
190
207
|
private_futures_post_settle_positions_contract_leverage = privateFuturesPostSettlePositionsContractLeverage = Entry('{settle}/positions/{contract}/leverage', ['private', 'futures'], 'POST', {'cost': 1})
|
|
191
208
|
private_futures_post_settle_positions_contract_risk_limit = privateFuturesPostSettlePositionsContractRiskLimit = Entry('{settle}/positions/{contract}/risk_limit', ['private', 'futures'], 'POST', {'cost': 1})
|
|
209
|
+
private_futures_post_settle_positions_cross_mode = privateFuturesPostSettlePositionsCrossMode = Entry('{settle}/positions/cross_mode', ['private', 'futures'], 'POST', {'cost': 1})
|
|
210
|
+
private_futures_post_settle_dual_comp_positions_cross_mode = privateFuturesPostSettleDualCompPositionsCrossMode = Entry('{settle}/dual_comp/positions/cross_mode', ['private', 'futures'], 'POST', {'cost': 1})
|
|
192
211
|
private_futures_post_settle_dual_mode = privateFuturesPostSettleDualMode = Entry('{settle}/dual_mode', ['private', 'futures'], 'POST', {'cost': 1})
|
|
193
212
|
private_futures_post_settle_dual_comp_positions_contract_margin = privateFuturesPostSettleDualCompPositionsContractMargin = Entry('{settle}/dual_comp/positions/{contract}/margin', ['private', 'futures'], 'POST', {'cost': 1})
|
|
194
213
|
private_futures_post_settle_dual_comp_positions_contract_leverage = privateFuturesPostSettleDualCompPositionsContractLeverage = Entry('{settle}/dual_comp/positions/{contract}/leverage', ['private', 'futures'], 'POST', {'cost': 1})
|
|
@@ -197,6 +216,8 @@ class ImplicitAPI:
|
|
|
197
216
|
private_futures_post_settle_batch_orders = privateFuturesPostSettleBatchOrders = Entry('{settle}/batch_orders', ['private', 'futures'], 'POST', {'cost': 0.4})
|
|
198
217
|
private_futures_post_settle_countdown_cancel_all = privateFuturesPostSettleCountdownCancelAll = Entry('{settle}/countdown_cancel_all', ['private', 'futures'], 'POST', {'cost': 0.4})
|
|
199
218
|
private_futures_post_settle_batch_cancel_orders = privateFuturesPostSettleBatchCancelOrders = Entry('{settle}/batch_cancel_orders', ['private', 'futures'], 'POST', {'cost': 0.4})
|
|
219
|
+
private_futures_post_settle_batch_amend_orders = privateFuturesPostSettleBatchAmendOrders = Entry('{settle}/batch_amend_orders', ['private', 'futures'], 'POST', {'cost': 0.4})
|
|
220
|
+
private_futures_post_settle_bbo_orders = privateFuturesPostSettleBboOrders = Entry('{settle}/bbo_orders', ['private', 'futures'], 'POST', {'cost': 0.4})
|
|
200
221
|
private_futures_post_settle_price_orders = privateFuturesPostSettlePriceOrders = Entry('{settle}/price_orders', ['private', 'futures'], 'POST', {'cost': 0.4})
|
|
201
222
|
private_futures_put_settle_orders_order_id = privateFuturesPutSettleOrdersOrderId = Entry('{settle}/orders/{order_id}', ['private', 'futures'], 'PUT', {'cost': 1})
|
|
202
223
|
private_futures_delete_settle_orders = privateFuturesDeleteSettleOrders = Entry('{settle}/orders', ['private', 'futures'], 'DELETE', {'cost': 0.26666666666666666})
|
|
@@ -240,14 +261,27 @@ class ImplicitAPI:
|
|
|
240
261
|
private_options_post_mmp_reset = privateOptionsPostMmpReset = Entry('mmp/reset', ['private', 'options'], 'POST', {'cost': 1.3333333333333333})
|
|
241
262
|
private_options_delete_orders = privateOptionsDeleteOrders = Entry('orders', ['private', 'options'], 'DELETE', {'cost': 1.3333333333333333})
|
|
242
263
|
private_options_delete_orders_order_id = privateOptionsDeleteOrdersOrderId = Entry('orders/{order_id}', ['private', 'options'], 'DELETE', {'cost': 1.3333333333333333})
|
|
243
|
-
private_earn_get_uni_currencies = privateEarnGetUniCurrencies = Entry('uni/currencies', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
244
|
-
private_earn_get_uni_currencies_currency = privateEarnGetUniCurrenciesCurrency = Entry('uni/currencies/{currency}', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
245
264
|
private_earn_get_uni_lends = privateEarnGetUniLends = Entry('uni/lends', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
246
265
|
private_earn_get_uni_lend_records = privateEarnGetUniLendRecords = Entry('uni/lend_records', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
247
266
|
private_earn_get_uni_interests_currency = privateEarnGetUniInterestsCurrency = Entry('uni/interests/{currency}', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
248
267
|
private_earn_get_uni_interest_records = privateEarnGetUniInterestRecords = Entry('uni/interest_records', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
249
268
|
private_earn_get_uni_interest_status_currency = privateEarnGetUniInterestStatusCurrency = Entry('uni/interest_status/{currency}', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
269
|
+
private_earn_get_uni_chart = privateEarnGetUniChart = Entry('uni/chart', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
270
|
+
private_earn_get_uni_rate = privateEarnGetUniRate = Entry('uni/rate', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
271
|
+
private_earn_get_staking_eth2_rate_records = privateEarnGetStakingEth2RateRecords = Entry('staking/eth2/rate_records', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
272
|
+
private_earn_get_dual_orders = privateEarnGetDualOrders = Entry('dual/orders', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
273
|
+
private_earn_get_structured_orders = privateEarnGetStructuredOrders = Entry('structured/orders', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
274
|
+
private_earn_get_staking_coins = privateEarnGetStakingCoins = Entry('staking/coins', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
275
|
+
private_earn_get_staking_order_list = privateEarnGetStakingOrderList = Entry('staking/order_list', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
276
|
+
private_earn_get_staking_award_list = privateEarnGetStakingAwardList = Entry('staking/award_list', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
277
|
+
private_earn_get_staking_assets = privateEarnGetStakingAssets = Entry('staking/assets', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
278
|
+
private_earn_get_uni_currencies = privateEarnGetUniCurrencies = Entry('uni/currencies', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
279
|
+
private_earn_get_uni_currencies_currency = privateEarnGetUniCurrenciesCurrency = Entry('uni/currencies/{currency}', ['private', 'earn'], 'GET', {'cost': 1.3333333333333333})
|
|
250
280
|
private_earn_post_uni_lends = privateEarnPostUniLends = Entry('uni/lends', ['private', 'earn'], 'POST', {'cost': 1.3333333333333333})
|
|
281
|
+
private_earn_post_staking_eth2_swap = privateEarnPostStakingEth2Swap = Entry('staking/eth2/swap', ['private', 'earn'], 'POST', {'cost': 1.3333333333333333})
|
|
282
|
+
private_earn_post_dual_orders = privateEarnPostDualOrders = Entry('dual/orders', ['private', 'earn'], 'POST', {'cost': 1.3333333333333333})
|
|
283
|
+
private_earn_post_structured_orders = privateEarnPostStructuredOrders = Entry('structured/orders', ['private', 'earn'], 'POST', {'cost': 1.3333333333333333})
|
|
284
|
+
private_earn_post_staking_swap = privateEarnPostStakingSwap = Entry('staking/swap', ['private', 'earn'], 'POST', {'cost': 1.3333333333333333})
|
|
251
285
|
private_earn_put_uni_interest_reinvest = privateEarnPutUniInterestReinvest = Entry('uni/interest_reinvest', ['private', 'earn'], 'PUT', {'cost': 1.3333333333333333})
|
|
252
286
|
private_earn_patch_uni_lends = privateEarnPatchUniLends = Entry('uni/lends', ['private', 'earn'], 'PATCH', {'cost': 1.3333333333333333})
|
|
253
287
|
private_loan_get_collateral_orders = privateLoanGetCollateralOrders = Entry('collateral/orders', ['private', 'loan'], 'GET', {'cost': 1.3333333333333333})
|
|
@@ -256,12 +290,12 @@ class ImplicitAPI:
|
|
|
256
290
|
private_loan_get_collateral_collaterals = privateLoanGetCollateralCollaterals = Entry('collateral/collaterals', ['private', 'loan'], 'GET', {'cost': 1.3333333333333333})
|
|
257
291
|
private_loan_get_collateral_total_amount = privateLoanGetCollateralTotalAmount = Entry('collateral/total_amount', ['private', 'loan'], 'GET', {'cost': 1.3333333333333333})
|
|
258
292
|
private_loan_get_collateral_ltv = privateLoanGetCollateralLtv = Entry('collateral/ltv', ['private', 'loan'], 'GET', {'cost': 1.3333333333333333})
|
|
259
|
-
private_loan_get_collateral_currencies = privateLoanGetCollateralCurrencies = Entry('collateral/currencies', ['private', 'loan'], 'GET', {'cost': 1.3333333333333333})
|
|
260
293
|
private_loan_get_multi_collateral_orders = privateLoanGetMultiCollateralOrders = Entry('multi_collateral/orders', ['private', 'loan'], 'GET', {'cost': 1.3333333333333333})
|
|
261
294
|
private_loan_get_multi_collateral_orders_order_id = privateLoanGetMultiCollateralOrdersOrderId = Entry('multi_collateral/orders/{order_id}', ['private', 'loan'], 'GET', {'cost': 1.3333333333333333})
|
|
262
295
|
private_loan_get_multi_collateral_repay = privateLoanGetMultiCollateralRepay = Entry('multi_collateral/repay', ['private', 'loan'], 'GET', {'cost': 1.3333333333333333})
|
|
263
296
|
private_loan_get_multi_collateral_mortgage = privateLoanGetMultiCollateralMortgage = Entry('multi_collateral/mortgage', ['private', 'loan'], 'GET', {'cost': 1.3333333333333333})
|
|
264
297
|
private_loan_get_multi_collateral_currency_quota = privateLoanGetMultiCollateralCurrencyQuota = Entry('multi_collateral/currency_quota', ['private', 'loan'], 'GET', {'cost': 1.3333333333333333})
|
|
298
|
+
private_loan_get_collateral_currencies = privateLoanGetCollateralCurrencies = Entry('collateral/currencies', ['private', 'loan'], 'GET', {'cost': 1.3333333333333333})
|
|
265
299
|
private_loan_get_multi_collateral_currencies = privateLoanGetMultiCollateralCurrencies = Entry('multi_collateral/currencies', ['private', 'loan'], 'GET', {'cost': 1.3333333333333333})
|
|
266
300
|
private_loan_get_multi_collateral_ltv = privateLoanGetMultiCollateralLtv = Entry('multi_collateral/ltv', ['private', 'loan'], 'GET', {'cost': 1.3333333333333333})
|
|
267
301
|
private_loan_get_multi_collateral_fixed_rate = privateLoanGetMultiCollateralFixedRate = Entry('multi_collateral/fixed_rate', ['private', 'loan'], 'GET', {'cost': 1.3333333333333333})
|
|
@@ -273,12 +307,22 @@ class ImplicitAPI:
|
|
|
273
307
|
private_loan_post_multi_collateral_repay = privateLoanPostMultiCollateralRepay = Entry('multi_collateral/repay', ['private', 'loan'], 'POST', {'cost': 1.3333333333333333})
|
|
274
308
|
private_loan_post_multi_collateral_mortgage = privateLoanPostMultiCollateralMortgage = Entry('multi_collateral/mortgage', ['private', 'loan'], 'POST', {'cost': 1.3333333333333333})
|
|
275
309
|
private_account_get_detail = privateAccountGetDetail = Entry('detail', ['private', 'account'], 'GET', {'cost': 1.3333333333333333})
|
|
310
|
+
private_account_get_main_keys = privateAccountGetMainKeys = Entry('main_keys', ['private', 'account'], 'GET', {'cost': 1.3333333333333333})
|
|
276
311
|
private_account_get_rate_limit = privateAccountGetRateLimit = Entry('rate_limit', ['private', 'account'], 'GET', {'cost': 1.3333333333333333})
|
|
277
312
|
private_account_get_stp_groups = privateAccountGetStpGroups = Entry('stp_groups', ['private', 'account'], 'GET', {'cost': 1.3333333333333333})
|
|
278
313
|
private_account_get_stp_groups_stp_id_users = privateAccountGetStpGroupsStpIdUsers = Entry('stp_groups/{stp_id}/users', ['private', 'account'], 'GET', {'cost': 1.3333333333333333})
|
|
279
314
|
private_account_get_stp_groups_debit_fee = privateAccountGetStpGroupsDebitFee = Entry('stp_groups/debit_fee', ['private', 'account'], 'GET', {'cost': 1.3333333333333333})
|
|
315
|
+
private_account_get_debit_fee = privateAccountGetDebitFee = Entry('debit_fee', ['private', 'account'], 'GET', {'cost': 1.3333333333333333})
|
|
280
316
|
private_account_post_stp_groups = privateAccountPostStpGroups = Entry('stp_groups', ['private', 'account'], 'POST', {'cost': 1.3333333333333333})
|
|
281
317
|
private_account_post_stp_groups_stp_id_users = privateAccountPostStpGroupsStpIdUsers = Entry('stp_groups/{stp_id}/users', ['private', 'account'], 'POST', {'cost': 1.3333333333333333})
|
|
318
|
+
private_account_post_debit_fee = privateAccountPostDebitFee = Entry('debit_fee', ['private', 'account'], 'POST', {'cost': 1.3333333333333333})
|
|
282
319
|
private_account_delete_stp_groups_stp_id_users = privateAccountDeleteStpGroupsStpIdUsers = Entry('stp_groups/{stp_id}/users', ['private', 'account'], 'DELETE', {'cost': 1.3333333333333333})
|
|
283
320
|
private_rebate_get_agency_transaction_history = privateRebateGetAgencyTransactionHistory = Entry('agency/transaction_history', ['private', 'rebate'], 'GET', {'cost': 1.3333333333333333})
|
|
284
321
|
private_rebate_get_agency_commission_history = privateRebateGetAgencyCommissionHistory = Entry('agency/commission_history', ['private', 'rebate'], 'GET', {'cost': 1.3333333333333333})
|
|
322
|
+
private_rebate_get_partner_transaction_history = privateRebateGetPartnerTransactionHistory = Entry('partner/transaction_history', ['private', 'rebate'], 'GET', {'cost': 1.3333333333333333})
|
|
323
|
+
private_rebate_get_partner_commission_history = privateRebateGetPartnerCommissionHistory = Entry('partner/commission_history', ['private', 'rebate'], 'GET', {'cost': 1.3333333333333333})
|
|
324
|
+
private_rebate_get_partner_sub_list = privateRebateGetPartnerSubList = Entry('partner/sub_list', ['private', 'rebate'], 'GET', {'cost': 1.3333333333333333})
|
|
325
|
+
private_rebate_get_broker_commission_history = privateRebateGetBrokerCommissionHistory = Entry('broker/commission_history', ['private', 'rebate'], 'GET', {'cost': 1.3333333333333333})
|
|
326
|
+
private_rebate_get_broker_transaction_history = privateRebateGetBrokerTransactionHistory = Entry('broker/transaction_history', ['private', 'rebate'], 'GET', {'cost': 1.3333333333333333})
|
|
327
|
+
private_rebate_get_user_info = privateRebateGetUserInfo = Entry('user/info', ['private', 'rebate'], 'GET', {'cost': 1.3333333333333333})
|
|
328
|
+
private_rebate_get_user_sub_relation = privateRebateGetUserSubRelation = Entry('user/sub_relation', ['private', 'rebate'], 'GET', {'cost': 1.3333333333333333})
|
gate/ccxt/async_support/gate.py
CHANGED
|
@@ -206,6 +206,12 @@ class gate(Exchange, ImplicitAPI):
|
|
|
206
206
|
'currency_chains': 1,
|
|
207
207
|
},
|
|
208
208
|
},
|
|
209
|
+
'unified': {
|
|
210
|
+
'get': {
|
|
211
|
+
'currencies': 1,
|
|
212
|
+
'history_loan_rate': 1,
|
|
213
|
+
},
|
|
214
|
+
},
|
|
209
215
|
'spot': {
|
|
210
216
|
'get': {
|
|
211
217
|
'currencies': 1,
|
|
@@ -217,22 +223,25 @@ class gate(Exchange, ImplicitAPI):
|
|
|
217
223
|
'trades': 1,
|
|
218
224
|
'candlesticks': 1,
|
|
219
225
|
'time': 1,
|
|
226
|
+
'insurance_history': 1,
|
|
220
227
|
},
|
|
221
228
|
},
|
|
222
229
|
'margin': {
|
|
223
230
|
'get': {
|
|
224
|
-
'currency_pairs': 1,
|
|
225
|
-
'currency_pairs/{currency_pair}': 1,
|
|
226
|
-
'funding_book': 1,
|
|
227
|
-
'cross/currencies': 1,
|
|
228
|
-
'cross/currencies/{currency}': 1,
|
|
229
231
|
'uni/currency_pairs': 1,
|
|
230
232
|
'uni/currency_pairs/{currency_pair}': 1,
|
|
233
|
+
'loan_margin_tiers': 1,
|
|
234
|
+
'currency_pairs': 1, # deprecated
|
|
235
|
+
'currency_pairs/{currency_pair}': 1, # deprecated
|
|
236
|
+
'funding_book': 1, # deprecated
|
|
237
|
+
'cross/currencies': 1, # deprecated
|
|
238
|
+
'cross/currencies/{currency}': 1, # deprecated
|
|
231
239
|
},
|
|
232
240
|
},
|
|
233
241
|
'flash_swap': {
|
|
234
242
|
'get': {
|
|
235
|
-
'
|
|
243
|
+
'currency_pairs': 1,
|
|
244
|
+
'currencies': 1, # deprecated
|
|
236
245
|
},
|
|
237
246
|
},
|
|
238
247
|
'futures': {
|
|
@@ -261,6 +270,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
261
270
|
'{settle}/candlesticks': 1,
|
|
262
271
|
'{settle}/tickers': 1,
|
|
263
272
|
'{settle}/insurance': 1,
|
|
273
|
+
'{settle}/risk_limit_tiers': 1,
|
|
264
274
|
},
|
|
265
275
|
},
|
|
266
276
|
'options': {
|
|
@@ -283,6 +293,17 @@ class gate(Exchange, ImplicitAPI):
|
|
|
283
293
|
'get': {
|
|
284
294
|
'uni/currencies': 1,
|
|
285
295
|
'uni/currencies/{currency}': 1,
|
|
296
|
+
'dual/investment_plan': 1,
|
|
297
|
+
'structured/products': 1,
|
|
298
|
+
},
|
|
299
|
+
},
|
|
300
|
+
'loan': {
|
|
301
|
+
'get': {
|
|
302
|
+
'collateral/currencies': 1,
|
|
303
|
+
'multi_collateral/currencies': 1,
|
|
304
|
+
'multi_collateral/ltv': 1,
|
|
305
|
+
'multi_collateral/fixed_rate': 1,
|
|
306
|
+
'multi_collateral/current_rate': 1,
|
|
286
307
|
},
|
|
287
308
|
},
|
|
288
309
|
},
|
|
@@ -346,25 +367,28 @@ class gate(Exchange, ImplicitAPI):
|
|
|
346
367
|
'unified': {
|
|
347
368
|
'get': {
|
|
348
369
|
'accounts': 20 / 15,
|
|
349
|
-
'account_mode': 20 / 15,
|
|
350
370
|
'borrowable': 20 / 15,
|
|
351
371
|
'transferable': 20 / 15,
|
|
372
|
+
'transferables': 20 / 15,
|
|
373
|
+
'batch_borrowable': 20 / 15,
|
|
352
374
|
'loans': 20 / 15,
|
|
353
375
|
'loan_records': 20 / 15,
|
|
354
376
|
'interest_records': 20 / 15,
|
|
355
|
-
'estimate_rate': 20 / 15,
|
|
356
|
-
'currency_discount_tiers': 20 / 15,
|
|
357
377
|
'risk_units': 20 / 15,
|
|
358
378
|
'unified_mode': 20 / 15,
|
|
379
|
+
'estimate_rate': 20 / 15,
|
|
380
|
+
'currency_discount_tiers': 20 / 15,
|
|
359
381
|
'loan_margin_tiers': 20 / 15,
|
|
360
382
|
'leverage/user_currency_config': 20 / 15,
|
|
361
383
|
'leverage/user_currency_setting': 20 / 15,
|
|
384
|
+
'account_mode': 20 / 15, # deprecated
|
|
362
385
|
},
|
|
363
386
|
'post': {
|
|
364
|
-
'account_mode': 20 / 15,
|
|
365
387
|
'loans': 200 / 15, # 15r/10s cost = 20 / 1.5 = 13.33
|
|
366
388
|
'portfolio_calculator': 20 / 15,
|
|
367
389
|
'leverage/user_currency_setting': 20 / 15,
|
|
390
|
+
'collateral_currencies': 20 / 15,
|
|
391
|
+
'account_mode': 20 / 15, # deprecated
|
|
368
392
|
},
|
|
369
393
|
'put': {
|
|
370
394
|
'unified_mode': 20 / 15,
|
|
@@ -410,48 +434,49 @@ class gate(Exchange, ImplicitAPI):
|
|
|
410
434
|
'funding_accounts': 20 / 15,
|
|
411
435
|
'auto_repay': 20 / 15,
|
|
412
436
|
'transferable': 20 / 15,
|
|
413
|
-
'loans': 20 / 15,
|
|
414
|
-
'loans/{loan_id}': 20 / 15,
|
|
415
|
-
'loans/{loan_id}/repayment': 20 / 15,
|
|
416
|
-
'loan_records': 20 / 15,
|
|
417
|
-
'loan_records/{loan_record_id}': 20 / 15,
|
|
418
|
-
'borrowable': 20 / 15,
|
|
419
|
-
'cross/accounts': 20 / 15,
|
|
420
|
-
'cross/account_book': 20 / 15,
|
|
421
|
-
'cross/loans': 20 / 15,
|
|
422
|
-
'cross/loans/{loan_id}': 20 / 15,
|
|
423
|
-
'cross/repayments': 20 / 15,
|
|
424
|
-
'cross/interest_records': 20 / 15,
|
|
425
|
-
'cross/transferable': 20 / 15,
|
|
426
|
-
'cross/estimate_rate': 20 / 15,
|
|
427
|
-
'cross/borrowable': 20 / 15,
|
|
428
437
|
'uni/estimate_rate': 20 / 15,
|
|
429
438
|
'uni/loans': 20 / 15,
|
|
430
439
|
'uni/loan_records': 20 / 15,
|
|
431
440
|
'uni/interest_records': 20 / 15,
|
|
432
441
|
'uni/borrowable': 20 / 15,
|
|
442
|
+
'user/loan_margin_tiers': 20 / 15,
|
|
443
|
+
'user/account': 20 / 15,
|
|
444
|
+
'loans': 20 / 15, # deprecated
|
|
445
|
+
'loans/{loan_id}': 20 / 15, # deprecated
|
|
446
|
+
'loans/{loan_id}/repayment': 20 / 15, # deprecated
|
|
447
|
+
'loan_records': 20 / 15, # deprecated
|
|
448
|
+
'loan_records/{loan_record_id}': 20 / 15, # deprecated
|
|
449
|
+
'borrowable': 20 / 15, # deprecated
|
|
450
|
+
'cross/accounts': 20 / 15, # deprecated
|
|
451
|
+
'cross/account_book': 20 / 15, # deprecated
|
|
452
|
+
'cross/loans': 20 / 15, # deprecated
|
|
453
|
+
'cross/loans/{loan_id}': 20 / 15, # deprecated
|
|
454
|
+
'cross/repayments': 20 / 15, # deprecated
|
|
455
|
+
'cross/interest_records': 20 / 15, # deprecated
|
|
456
|
+
'cross/transferable': 20 / 15, # deprecated
|
|
457
|
+
'cross/estimate_rate': 20 / 15, # deprecated
|
|
458
|
+
'cross/borrowable': 20 / 15, # deprecated
|
|
433
459
|
},
|
|
434
460
|
'post': {
|
|
435
461
|
'auto_repay': 20 / 15,
|
|
436
|
-
'loans': 20 / 15,
|
|
437
|
-
'merged_loans': 20 / 15,
|
|
438
|
-
'loans/{loan_id}/repayment': 20 / 15,
|
|
439
|
-
'cross/loans': 20 / 15,
|
|
440
|
-
'cross/repayments': 20 / 15,
|
|
441
462
|
'uni/loans': 20 / 15,
|
|
463
|
+
'leverage/user_market_setting': 20 / 15,
|
|
464
|
+
'loans': 20 / 15, # deprecated
|
|
465
|
+
'merged_loans': 20 / 15, # deprecated
|
|
466
|
+
'loans/{loan_id}/repayment': 20 / 15, # deprecated
|
|
467
|
+
'cross/loans': 20 / 15, # deprecated
|
|
468
|
+
'cross/repayments': 20 / 15, # deprecated
|
|
442
469
|
},
|
|
443
470
|
'patch': {
|
|
444
|
-
'loans/{loan_id}': 20 / 15,
|
|
445
|
-
'loan_records/{loan_record_id}': 20 / 15,
|
|
471
|
+
'loans/{loan_id}': 20 / 15, # deprecated
|
|
472
|
+
'loan_records/{loan_record_id}': 20 / 15, # deprecated
|
|
446
473
|
},
|
|
447
474
|
'delete': {
|
|
448
|
-
'loans/{loan_id}': 20 / 15,
|
|
475
|
+
'loans/{loan_id}': 20 / 15, # deprecated
|
|
449
476
|
},
|
|
450
477
|
},
|
|
451
478
|
'flash_swap': {
|
|
452
479
|
'get': {
|
|
453
|
-
'currencies': 1,
|
|
454
|
-
'currency_pairs': 1,
|
|
455
480
|
'orders': 1,
|
|
456
481
|
'orders/{order_id}': 1,
|
|
457
482
|
},
|
|
@@ -476,7 +501,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
476
501
|
'{settle}/liquidates': 1,
|
|
477
502
|
'{settle}/auto_deleverages': 1,
|
|
478
503
|
'{settle}/fee': 1,
|
|
479
|
-
'{settle}/
|
|
504
|
+
'{settle}/risk_limit_table': 1,
|
|
480
505
|
'{settle}/price_orders': 1,
|
|
481
506
|
'{settle}/price_orders/{order_id}': 1,
|
|
482
507
|
},
|
|
@@ -484,6 +509,8 @@ class gate(Exchange, ImplicitAPI):
|
|
|
484
509
|
'{settle}/positions/{contract}/margin': 1,
|
|
485
510
|
'{settle}/positions/{contract}/leverage': 1,
|
|
486
511
|
'{settle}/positions/{contract}/risk_limit': 1,
|
|
512
|
+
'{settle}/positions/cross_mode': 1,
|
|
513
|
+
'{settle}/dual_comp/positions/cross_mode': 1,
|
|
487
514
|
'{settle}/dual_mode': 1,
|
|
488
515
|
'{settle}/dual_comp/positions/{contract}/margin': 1,
|
|
489
516
|
'{settle}/dual_comp/positions/{contract}/leverage': 1,
|
|
@@ -492,6 +519,8 @@ class gate(Exchange, ImplicitAPI):
|
|
|
492
519
|
'{settle}/batch_orders': 0.4,
|
|
493
520
|
'{settle}/countdown_cancel_all': 0.4,
|
|
494
521
|
'{settle}/batch_cancel_orders': 0.4,
|
|
522
|
+
'{settle}/batch_amend_orders': 0.4,
|
|
523
|
+
'{settle}/bbo_orders': 0.4,
|
|
495
524
|
'{settle}/price_orders': 0.4,
|
|
496
525
|
},
|
|
497
526
|
'put': {
|
|
@@ -559,19 +588,32 @@ class gate(Exchange, ImplicitAPI):
|
|
|
559
588
|
},
|
|
560
589
|
'earn': {
|
|
561
590
|
'get': {
|
|
562
|
-
'uni/currencies': 20 / 15,
|
|
563
|
-
'uni/currencies/{currency}': 20 / 15,
|
|
564
591
|
'uni/lends': 20 / 15,
|
|
565
592
|
'uni/lend_records': 20 / 15,
|
|
566
593
|
'uni/interests/{currency}': 20 / 15,
|
|
567
594
|
'uni/interest_records': 20 / 15,
|
|
568
595
|
'uni/interest_status/{currency}': 20 / 15,
|
|
596
|
+
'uni/chart': 20 / 15,
|
|
597
|
+
'uni/rate': 20 / 15,
|
|
598
|
+
'staking/eth2/rate_records': 20 / 15,
|
|
599
|
+
'dual/orders': 20 / 15,
|
|
600
|
+
'structured/orders': 20 / 15,
|
|
601
|
+
'staking/coins': 20 / 15,
|
|
602
|
+
'staking/order_list': 20 / 15,
|
|
603
|
+
'staking/award_list': 20 / 15,
|
|
604
|
+
'staking/assets': 20 / 15,
|
|
605
|
+
'uni/currencies': 20 / 15, # deprecated
|
|
606
|
+
'uni/currencies/{currency}': 20 / 15, # deprecated
|
|
569
607
|
},
|
|
570
608
|
'post': {
|
|
571
609
|
'uni/lends': 20 / 15,
|
|
610
|
+
'staking/eth2/swap': 20 / 15,
|
|
611
|
+
'dual/orders': 20 / 15,
|
|
612
|
+
'structured/orders': 20 / 15,
|
|
613
|
+
'staking/swap': 20 / 15,
|
|
572
614
|
},
|
|
573
615
|
'put': {
|
|
574
|
-
'uni/interest_reinvest': 20 / 15,
|
|
616
|
+
'uni/interest_reinvest': 20 / 15, # deprecated
|
|
575
617
|
},
|
|
576
618
|
'patch': {
|
|
577
619
|
'uni/lends': 20 / 15,
|
|
@@ -585,16 +627,16 @@ class gate(Exchange, ImplicitAPI):
|
|
|
585
627
|
'collateral/collaterals': 20 / 15,
|
|
586
628
|
'collateral/total_amount': 20 / 15,
|
|
587
629
|
'collateral/ltv': 20 / 15,
|
|
588
|
-
'collateral/currencies': 20 / 15,
|
|
589
630
|
'multi_collateral/orders': 20 / 15,
|
|
590
631
|
'multi_collateral/orders/{order_id}': 20 / 15,
|
|
591
632
|
'multi_collateral/repay': 20 / 15,
|
|
592
633
|
'multi_collateral/mortgage': 20 / 15,
|
|
593
634
|
'multi_collateral/currency_quota': 20 / 15,
|
|
594
|
-
'
|
|
595
|
-
'multi_collateral/
|
|
596
|
-
'multi_collateral/
|
|
597
|
-
'multi_collateral/
|
|
635
|
+
'collateral/currencies': 20 / 15, # deprecated
|
|
636
|
+
'multi_collateral/currencies': 20 / 15, # deprecated
|
|
637
|
+
'multi_collateral/ltv': 20 / 15, # deprecated
|
|
638
|
+
'multi_collateral/fixed_rate': 20 / 15, # deprecated
|
|
639
|
+
'multi_collateral/current_rate': 20 / 15, # deprecated
|
|
598
640
|
},
|
|
599
641
|
'post': {
|
|
600
642
|
'collateral/orders': 20 / 15,
|
|
@@ -608,14 +650,17 @@ class gate(Exchange, ImplicitAPI):
|
|
|
608
650
|
'account': {
|
|
609
651
|
'get': {
|
|
610
652
|
'detail': 20 / 15,
|
|
653
|
+
'main_keys': 20 / 15,
|
|
611
654
|
'rate_limit': 20 / 15,
|
|
612
655
|
'stp_groups': 20 / 15,
|
|
613
656
|
'stp_groups/{stp_id}/users': 20 / 15,
|
|
614
657
|
'stp_groups/debit_fee': 20 / 15,
|
|
658
|
+
'debit_fee': 20 / 15,
|
|
615
659
|
},
|
|
616
660
|
'post': {
|
|
617
661
|
'stp_groups': 20 / 15,
|
|
618
662
|
'stp_groups/{stp_id}/users': 20 / 15,
|
|
663
|
+
'debit_fee': 20 / 15,
|
|
619
664
|
},
|
|
620
665
|
'delete': {
|
|
621
666
|
'stp_groups/{stp_id}/users': 20 / 15,
|
|
@@ -625,6 +670,13 @@ class gate(Exchange, ImplicitAPI):
|
|
|
625
670
|
'get': {
|
|
626
671
|
'agency/transaction_history': 20 / 15,
|
|
627
672
|
'agency/commission_history': 20 / 15,
|
|
673
|
+
'partner/transaction_history': 20 / 15,
|
|
674
|
+
'partner/commission_history': 20 / 15,
|
|
675
|
+
'partner/sub_list': 20 / 15,
|
|
676
|
+
'broker/commission_history': 20 / 15,
|
|
677
|
+
'broker/transaction_history': 20 / 15,
|
|
678
|
+
'user/info': 20 / 15,
|
|
679
|
+
'user/sub_relation': 20 / 15,
|
|
628
680
|
},
|
|
629
681
|
},
|
|
630
682
|
},
|
|
@@ -6014,7 +6066,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
6014
6066
|
request, requestParams = self.prepare_request(market, type, query)
|
|
6015
6067
|
if type != 'future' and type != 'swap':
|
|
6016
6068
|
raise BadRequest(self.id + ' fetchMarketLeverageTiers only supports swap and future')
|
|
6017
|
-
response = await self.
|
|
6069
|
+
response = await self.publicFuturesGetSettleRiskLimitTiers(self.extend(request, requestParams))
|
|
6018
6070
|
#
|
|
6019
6071
|
# [
|
|
6020
6072
|
# {
|
gate/ccxt/base/exchange.py
CHANGED
gate/ccxt/gate.py
CHANGED
|
@@ -205,6 +205,12 @@ class gate(Exchange, ImplicitAPI):
|
|
|
205
205
|
'currency_chains': 1,
|
|
206
206
|
},
|
|
207
207
|
},
|
|
208
|
+
'unified': {
|
|
209
|
+
'get': {
|
|
210
|
+
'currencies': 1,
|
|
211
|
+
'history_loan_rate': 1,
|
|
212
|
+
},
|
|
213
|
+
},
|
|
208
214
|
'spot': {
|
|
209
215
|
'get': {
|
|
210
216
|
'currencies': 1,
|
|
@@ -216,22 +222,25 @@ class gate(Exchange, ImplicitAPI):
|
|
|
216
222
|
'trades': 1,
|
|
217
223
|
'candlesticks': 1,
|
|
218
224
|
'time': 1,
|
|
225
|
+
'insurance_history': 1,
|
|
219
226
|
},
|
|
220
227
|
},
|
|
221
228
|
'margin': {
|
|
222
229
|
'get': {
|
|
223
|
-
'currency_pairs': 1,
|
|
224
|
-
'currency_pairs/{currency_pair}': 1,
|
|
225
|
-
'funding_book': 1,
|
|
226
|
-
'cross/currencies': 1,
|
|
227
|
-
'cross/currencies/{currency}': 1,
|
|
228
230
|
'uni/currency_pairs': 1,
|
|
229
231
|
'uni/currency_pairs/{currency_pair}': 1,
|
|
232
|
+
'loan_margin_tiers': 1,
|
|
233
|
+
'currency_pairs': 1, # deprecated
|
|
234
|
+
'currency_pairs/{currency_pair}': 1, # deprecated
|
|
235
|
+
'funding_book': 1, # deprecated
|
|
236
|
+
'cross/currencies': 1, # deprecated
|
|
237
|
+
'cross/currencies/{currency}': 1, # deprecated
|
|
230
238
|
},
|
|
231
239
|
},
|
|
232
240
|
'flash_swap': {
|
|
233
241
|
'get': {
|
|
234
|
-
'
|
|
242
|
+
'currency_pairs': 1,
|
|
243
|
+
'currencies': 1, # deprecated
|
|
235
244
|
},
|
|
236
245
|
},
|
|
237
246
|
'futures': {
|
|
@@ -260,6 +269,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
260
269
|
'{settle}/candlesticks': 1,
|
|
261
270
|
'{settle}/tickers': 1,
|
|
262
271
|
'{settle}/insurance': 1,
|
|
272
|
+
'{settle}/risk_limit_tiers': 1,
|
|
263
273
|
},
|
|
264
274
|
},
|
|
265
275
|
'options': {
|
|
@@ -282,6 +292,17 @@ class gate(Exchange, ImplicitAPI):
|
|
|
282
292
|
'get': {
|
|
283
293
|
'uni/currencies': 1,
|
|
284
294
|
'uni/currencies/{currency}': 1,
|
|
295
|
+
'dual/investment_plan': 1,
|
|
296
|
+
'structured/products': 1,
|
|
297
|
+
},
|
|
298
|
+
},
|
|
299
|
+
'loan': {
|
|
300
|
+
'get': {
|
|
301
|
+
'collateral/currencies': 1,
|
|
302
|
+
'multi_collateral/currencies': 1,
|
|
303
|
+
'multi_collateral/ltv': 1,
|
|
304
|
+
'multi_collateral/fixed_rate': 1,
|
|
305
|
+
'multi_collateral/current_rate': 1,
|
|
285
306
|
},
|
|
286
307
|
},
|
|
287
308
|
},
|
|
@@ -345,25 +366,28 @@ class gate(Exchange, ImplicitAPI):
|
|
|
345
366
|
'unified': {
|
|
346
367
|
'get': {
|
|
347
368
|
'accounts': 20 / 15,
|
|
348
|
-
'account_mode': 20 / 15,
|
|
349
369
|
'borrowable': 20 / 15,
|
|
350
370
|
'transferable': 20 / 15,
|
|
371
|
+
'transferables': 20 / 15,
|
|
372
|
+
'batch_borrowable': 20 / 15,
|
|
351
373
|
'loans': 20 / 15,
|
|
352
374
|
'loan_records': 20 / 15,
|
|
353
375
|
'interest_records': 20 / 15,
|
|
354
|
-
'estimate_rate': 20 / 15,
|
|
355
|
-
'currency_discount_tiers': 20 / 15,
|
|
356
376
|
'risk_units': 20 / 15,
|
|
357
377
|
'unified_mode': 20 / 15,
|
|
378
|
+
'estimate_rate': 20 / 15,
|
|
379
|
+
'currency_discount_tiers': 20 / 15,
|
|
358
380
|
'loan_margin_tiers': 20 / 15,
|
|
359
381
|
'leverage/user_currency_config': 20 / 15,
|
|
360
382
|
'leverage/user_currency_setting': 20 / 15,
|
|
383
|
+
'account_mode': 20 / 15, # deprecated
|
|
361
384
|
},
|
|
362
385
|
'post': {
|
|
363
|
-
'account_mode': 20 / 15,
|
|
364
386
|
'loans': 200 / 15, # 15r/10s cost = 20 / 1.5 = 13.33
|
|
365
387
|
'portfolio_calculator': 20 / 15,
|
|
366
388
|
'leverage/user_currency_setting': 20 / 15,
|
|
389
|
+
'collateral_currencies': 20 / 15,
|
|
390
|
+
'account_mode': 20 / 15, # deprecated
|
|
367
391
|
},
|
|
368
392
|
'put': {
|
|
369
393
|
'unified_mode': 20 / 15,
|
|
@@ -409,48 +433,49 @@ class gate(Exchange, ImplicitAPI):
|
|
|
409
433
|
'funding_accounts': 20 / 15,
|
|
410
434
|
'auto_repay': 20 / 15,
|
|
411
435
|
'transferable': 20 / 15,
|
|
412
|
-
'loans': 20 / 15,
|
|
413
|
-
'loans/{loan_id}': 20 / 15,
|
|
414
|
-
'loans/{loan_id}/repayment': 20 / 15,
|
|
415
|
-
'loan_records': 20 / 15,
|
|
416
|
-
'loan_records/{loan_record_id}': 20 / 15,
|
|
417
|
-
'borrowable': 20 / 15,
|
|
418
|
-
'cross/accounts': 20 / 15,
|
|
419
|
-
'cross/account_book': 20 / 15,
|
|
420
|
-
'cross/loans': 20 / 15,
|
|
421
|
-
'cross/loans/{loan_id}': 20 / 15,
|
|
422
|
-
'cross/repayments': 20 / 15,
|
|
423
|
-
'cross/interest_records': 20 / 15,
|
|
424
|
-
'cross/transferable': 20 / 15,
|
|
425
|
-
'cross/estimate_rate': 20 / 15,
|
|
426
|
-
'cross/borrowable': 20 / 15,
|
|
427
436
|
'uni/estimate_rate': 20 / 15,
|
|
428
437
|
'uni/loans': 20 / 15,
|
|
429
438
|
'uni/loan_records': 20 / 15,
|
|
430
439
|
'uni/interest_records': 20 / 15,
|
|
431
440
|
'uni/borrowable': 20 / 15,
|
|
441
|
+
'user/loan_margin_tiers': 20 / 15,
|
|
442
|
+
'user/account': 20 / 15,
|
|
443
|
+
'loans': 20 / 15, # deprecated
|
|
444
|
+
'loans/{loan_id}': 20 / 15, # deprecated
|
|
445
|
+
'loans/{loan_id}/repayment': 20 / 15, # deprecated
|
|
446
|
+
'loan_records': 20 / 15, # deprecated
|
|
447
|
+
'loan_records/{loan_record_id}': 20 / 15, # deprecated
|
|
448
|
+
'borrowable': 20 / 15, # deprecated
|
|
449
|
+
'cross/accounts': 20 / 15, # deprecated
|
|
450
|
+
'cross/account_book': 20 / 15, # deprecated
|
|
451
|
+
'cross/loans': 20 / 15, # deprecated
|
|
452
|
+
'cross/loans/{loan_id}': 20 / 15, # deprecated
|
|
453
|
+
'cross/repayments': 20 / 15, # deprecated
|
|
454
|
+
'cross/interest_records': 20 / 15, # deprecated
|
|
455
|
+
'cross/transferable': 20 / 15, # deprecated
|
|
456
|
+
'cross/estimate_rate': 20 / 15, # deprecated
|
|
457
|
+
'cross/borrowable': 20 / 15, # deprecated
|
|
432
458
|
},
|
|
433
459
|
'post': {
|
|
434
460
|
'auto_repay': 20 / 15,
|
|
435
|
-
'loans': 20 / 15,
|
|
436
|
-
'merged_loans': 20 / 15,
|
|
437
|
-
'loans/{loan_id}/repayment': 20 / 15,
|
|
438
|
-
'cross/loans': 20 / 15,
|
|
439
|
-
'cross/repayments': 20 / 15,
|
|
440
461
|
'uni/loans': 20 / 15,
|
|
462
|
+
'leverage/user_market_setting': 20 / 15,
|
|
463
|
+
'loans': 20 / 15, # deprecated
|
|
464
|
+
'merged_loans': 20 / 15, # deprecated
|
|
465
|
+
'loans/{loan_id}/repayment': 20 / 15, # deprecated
|
|
466
|
+
'cross/loans': 20 / 15, # deprecated
|
|
467
|
+
'cross/repayments': 20 / 15, # deprecated
|
|
441
468
|
},
|
|
442
469
|
'patch': {
|
|
443
|
-
'loans/{loan_id}': 20 / 15,
|
|
444
|
-
'loan_records/{loan_record_id}': 20 / 15,
|
|
470
|
+
'loans/{loan_id}': 20 / 15, # deprecated
|
|
471
|
+
'loan_records/{loan_record_id}': 20 / 15, # deprecated
|
|
445
472
|
},
|
|
446
473
|
'delete': {
|
|
447
|
-
'loans/{loan_id}': 20 / 15,
|
|
474
|
+
'loans/{loan_id}': 20 / 15, # deprecated
|
|
448
475
|
},
|
|
449
476
|
},
|
|
450
477
|
'flash_swap': {
|
|
451
478
|
'get': {
|
|
452
|
-
'currencies': 1,
|
|
453
|
-
'currency_pairs': 1,
|
|
454
479
|
'orders': 1,
|
|
455
480
|
'orders/{order_id}': 1,
|
|
456
481
|
},
|
|
@@ -475,7 +500,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
475
500
|
'{settle}/liquidates': 1,
|
|
476
501
|
'{settle}/auto_deleverages': 1,
|
|
477
502
|
'{settle}/fee': 1,
|
|
478
|
-
'{settle}/
|
|
503
|
+
'{settle}/risk_limit_table': 1,
|
|
479
504
|
'{settle}/price_orders': 1,
|
|
480
505
|
'{settle}/price_orders/{order_id}': 1,
|
|
481
506
|
},
|
|
@@ -483,6 +508,8 @@ class gate(Exchange, ImplicitAPI):
|
|
|
483
508
|
'{settle}/positions/{contract}/margin': 1,
|
|
484
509
|
'{settle}/positions/{contract}/leverage': 1,
|
|
485
510
|
'{settle}/positions/{contract}/risk_limit': 1,
|
|
511
|
+
'{settle}/positions/cross_mode': 1,
|
|
512
|
+
'{settle}/dual_comp/positions/cross_mode': 1,
|
|
486
513
|
'{settle}/dual_mode': 1,
|
|
487
514
|
'{settle}/dual_comp/positions/{contract}/margin': 1,
|
|
488
515
|
'{settle}/dual_comp/positions/{contract}/leverage': 1,
|
|
@@ -491,6 +518,8 @@ class gate(Exchange, ImplicitAPI):
|
|
|
491
518
|
'{settle}/batch_orders': 0.4,
|
|
492
519
|
'{settle}/countdown_cancel_all': 0.4,
|
|
493
520
|
'{settle}/batch_cancel_orders': 0.4,
|
|
521
|
+
'{settle}/batch_amend_orders': 0.4,
|
|
522
|
+
'{settle}/bbo_orders': 0.4,
|
|
494
523
|
'{settle}/price_orders': 0.4,
|
|
495
524
|
},
|
|
496
525
|
'put': {
|
|
@@ -558,19 +587,32 @@ class gate(Exchange, ImplicitAPI):
|
|
|
558
587
|
},
|
|
559
588
|
'earn': {
|
|
560
589
|
'get': {
|
|
561
|
-
'uni/currencies': 20 / 15,
|
|
562
|
-
'uni/currencies/{currency}': 20 / 15,
|
|
563
590
|
'uni/lends': 20 / 15,
|
|
564
591
|
'uni/lend_records': 20 / 15,
|
|
565
592
|
'uni/interests/{currency}': 20 / 15,
|
|
566
593
|
'uni/interest_records': 20 / 15,
|
|
567
594
|
'uni/interest_status/{currency}': 20 / 15,
|
|
595
|
+
'uni/chart': 20 / 15,
|
|
596
|
+
'uni/rate': 20 / 15,
|
|
597
|
+
'staking/eth2/rate_records': 20 / 15,
|
|
598
|
+
'dual/orders': 20 / 15,
|
|
599
|
+
'structured/orders': 20 / 15,
|
|
600
|
+
'staking/coins': 20 / 15,
|
|
601
|
+
'staking/order_list': 20 / 15,
|
|
602
|
+
'staking/award_list': 20 / 15,
|
|
603
|
+
'staking/assets': 20 / 15,
|
|
604
|
+
'uni/currencies': 20 / 15, # deprecated
|
|
605
|
+
'uni/currencies/{currency}': 20 / 15, # deprecated
|
|
568
606
|
},
|
|
569
607
|
'post': {
|
|
570
608
|
'uni/lends': 20 / 15,
|
|
609
|
+
'staking/eth2/swap': 20 / 15,
|
|
610
|
+
'dual/orders': 20 / 15,
|
|
611
|
+
'structured/orders': 20 / 15,
|
|
612
|
+
'staking/swap': 20 / 15,
|
|
571
613
|
},
|
|
572
614
|
'put': {
|
|
573
|
-
'uni/interest_reinvest': 20 / 15,
|
|
615
|
+
'uni/interest_reinvest': 20 / 15, # deprecated
|
|
574
616
|
},
|
|
575
617
|
'patch': {
|
|
576
618
|
'uni/lends': 20 / 15,
|
|
@@ -584,16 +626,16 @@ class gate(Exchange, ImplicitAPI):
|
|
|
584
626
|
'collateral/collaterals': 20 / 15,
|
|
585
627
|
'collateral/total_amount': 20 / 15,
|
|
586
628
|
'collateral/ltv': 20 / 15,
|
|
587
|
-
'collateral/currencies': 20 / 15,
|
|
588
629
|
'multi_collateral/orders': 20 / 15,
|
|
589
630
|
'multi_collateral/orders/{order_id}': 20 / 15,
|
|
590
631
|
'multi_collateral/repay': 20 / 15,
|
|
591
632
|
'multi_collateral/mortgage': 20 / 15,
|
|
592
633
|
'multi_collateral/currency_quota': 20 / 15,
|
|
593
|
-
'
|
|
594
|
-
'multi_collateral/
|
|
595
|
-
'multi_collateral/
|
|
596
|
-
'multi_collateral/
|
|
634
|
+
'collateral/currencies': 20 / 15, # deprecated
|
|
635
|
+
'multi_collateral/currencies': 20 / 15, # deprecated
|
|
636
|
+
'multi_collateral/ltv': 20 / 15, # deprecated
|
|
637
|
+
'multi_collateral/fixed_rate': 20 / 15, # deprecated
|
|
638
|
+
'multi_collateral/current_rate': 20 / 15, # deprecated
|
|
597
639
|
},
|
|
598
640
|
'post': {
|
|
599
641
|
'collateral/orders': 20 / 15,
|
|
@@ -607,14 +649,17 @@ class gate(Exchange, ImplicitAPI):
|
|
|
607
649
|
'account': {
|
|
608
650
|
'get': {
|
|
609
651
|
'detail': 20 / 15,
|
|
652
|
+
'main_keys': 20 / 15,
|
|
610
653
|
'rate_limit': 20 / 15,
|
|
611
654
|
'stp_groups': 20 / 15,
|
|
612
655
|
'stp_groups/{stp_id}/users': 20 / 15,
|
|
613
656
|
'stp_groups/debit_fee': 20 / 15,
|
|
657
|
+
'debit_fee': 20 / 15,
|
|
614
658
|
},
|
|
615
659
|
'post': {
|
|
616
660
|
'stp_groups': 20 / 15,
|
|
617
661
|
'stp_groups/{stp_id}/users': 20 / 15,
|
|
662
|
+
'debit_fee': 20 / 15,
|
|
618
663
|
},
|
|
619
664
|
'delete': {
|
|
620
665
|
'stp_groups/{stp_id}/users': 20 / 15,
|
|
@@ -624,6 +669,13 @@ class gate(Exchange, ImplicitAPI):
|
|
|
624
669
|
'get': {
|
|
625
670
|
'agency/transaction_history': 20 / 15,
|
|
626
671
|
'agency/commission_history': 20 / 15,
|
|
672
|
+
'partner/transaction_history': 20 / 15,
|
|
673
|
+
'partner/commission_history': 20 / 15,
|
|
674
|
+
'partner/sub_list': 20 / 15,
|
|
675
|
+
'broker/commission_history': 20 / 15,
|
|
676
|
+
'broker/transaction_history': 20 / 15,
|
|
677
|
+
'user/info': 20 / 15,
|
|
678
|
+
'user/sub_relation': 20 / 15,
|
|
627
679
|
},
|
|
628
680
|
},
|
|
629
681
|
},
|
|
@@ -6013,7 +6065,7 @@ class gate(Exchange, ImplicitAPI):
|
|
|
6013
6065
|
request, requestParams = self.prepare_request(market, type, query)
|
|
6014
6066
|
if type != 'future' and type != 'swap':
|
|
6015
6067
|
raise BadRequest(self.id + ' fetchMarketLeverageTiers only supports swap and future')
|
|
6016
|
-
response = self.
|
|
6068
|
+
response = self.publicFuturesGetSettleRiskLimitTiers(self.extend(request, requestParams))
|
|
6017
6069
|
#
|
|
6018
6070
|
# [
|
|
6019
6071
|
# {
|
gate/ccxt/pro/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gate-io-api
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.99
|
|
4
4
|
Summary: gate crypto exchange api client
|
|
5
5
|
Project-URL: Homepage, https://github.com/ccxt/ccxt
|
|
6
6
|
Project-URL: Issues, https://github.com/ccxt/ccxt
|
|
@@ -218,6 +218,8 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
218
218
|
### REST Raw
|
|
219
219
|
|
|
220
220
|
- `public_wallet_get_currency_chains(request)`
|
|
221
|
+
- `public_unified_get_currencies(request)`
|
|
222
|
+
- `public_unified_get_history_loan_rate(request)`
|
|
221
223
|
- `public_spot_get_currencies(request)`
|
|
222
224
|
- `public_spot_get_currencies_currency(request)`
|
|
223
225
|
- `public_spot_get_currency_pairs(request)`
|
|
@@ -227,13 +229,16 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
227
229
|
- `public_spot_get_trades(request)`
|
|
228
230
|
- `public_spot_get_candlesticks(request)`
|
|
229
231
|
- `public_spot_get_time(request)`
|
|
232
|
+
- `public_spot_get_insurance_history(request)`
|
|
233
|
+
- `public_margin_get_uni_currency_pairs(request)`
|
|
234
|
+
- `public_margin_get_uni_currency_pairs_currency_pair(request)`
|
|
235
|
+
- `public_margin_get_loan_margin_tiers(request)`
|
|
230
236
|
- `public_margin_get_currency_pairs(request)`
|
|
231
237
|
- `public_margin_get_currency_pairs_currency_pair(request)`
|
|
232
238
|
- `public_margin_get_funding_book(request)`
|
|
233
239
|
- `public_margin_get_cross_currencies(request)`
|
|
234
240
|
- `public_margin_get_cross_currencies_currency(request)`
|
|
235
|
-
- `
|
|
236
|
-
- `public_margin_get_uni_currency_pairs_currency_pair(request)`
|
|
241
|
+
- `public_flash_swap_get_currency_pairs(request)`
|
|
237
242
|
- `public_flash_swap_get_currencies(request)`
|
|
238
243
|
- `public_futures_get_settle_contracts(request)`
|
|
239
244
|
- `public_futures_get_settle_contracts_contract(request)`
|
|
@@ -255,6 +260,7 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
255
260
|
- `public_delivery_get_settle_candlesticks(request)`
|
|
256
261
|
- `public_delivery_get_settle_tickers(request)`
|
|
257
262
|
- `public_delivery_get_settle_insurance(request)`
|
|
263
|
+
- `public_delivery_get_settle_risk_limit_tiers(request)`
|
|
258
264
|
- `public_options_get_underlyings(request)`
|
|
259
265
|
- `public_options_get_expirations(request)`
|
|
260
266
|
- `public_options_get_contracts(request)`
|
|
@@ -269,6 +275,13 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
269
275
|
- `public_options_get_trades(request)`
|
|
270
276
|
- `public_earn_get_uni_currencies(request)`
|
|
271
277
|
- `public_earn_get_uni_currencies_currency(request)`
|
|
278
|
+
- `public_earn_get_dual_investment_plan(request)`
|
|
279
|
+
- `public_earn_get_structured_products(request)`
|
|
280
|
+
- `public_loan_get_collateral_currencies(request)`
|
|
281
|
+
- `public_loan_get_multi_collateral_currencies(request)`
|
|
282
|
+
- `public_loan_get_multi_collateral_ltv(request)`
|
|
283
|
+
- `public_loan_get_multi_collateral_fixed_rate(request)`
|
|
284
|
+
- `public_loan_get_multi_collateral_current_rate(request)`
|
|
272
285
|
- `private_withdrawals_post_withdrawals(request)`
|
|
273
286
|
- `private_withdrawals_post_push(request)`
|
|
274
287
|
- `private_withdrawals_delete_withdrawals_withdrawal_id(request)`
|
|
@@ -303,23 +316,26 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
303
316
|
- `private_subaccounts_put_sub_accounts_user_id_keys_key(request)`
|
|
304
317
|
- `private_subaccounts_delete_sub_accounts_user_id_keys_key(request)`
|
|
305
318
|
- `private_unified_get_accounts(request)`
|
|
306
|
-
- `private_unified_get_account_mode(request)`
|
|
307
319
|
- `private_unified_get_borrowable(request)`
|
|
308
320
|
- `private_unified_get_transferable(request)`
|
|
321
|
+
- `private_unified_get_transferables(request)`
|
|
322
|
+
- `private_unified_get_batch_borrowable(request)`
|
|
309
323
|
- `private_unified_get_loans(request)`
|
|
310
324
|
- `private_unified_get_loan_records(request)`
|
|
311
325
|
- `private_unified_get_interest_records(request)`
|
|
312
|
-
- `private_unified_get_estimate_rate(request)`
|
|
313
|
-
- `private_unified_get_currency_discount_tiers(request)`
|
|
314
326
|
- `private_unified_get_risk_units(request)`
|
|
315
327
|
- `private_unified_get_unified_mode(request)`
|
|
328
|
+
- `private_unified_get_estimate_rate(request)`
|
|
329
|
+
- `private_unified_get_currency_discount_tiers(request)`
|
|
316
330
|
- `private_unified_get_loan_margin_tiers(request)`
|
|
317
331
|
- `private_unified_get_leverage_user_currency_config(request)`
|
|
318
332
|
- `private_unified_get_leverage_user_currency_setting(request)`
|
|
319
|
-
- `
|
|
333
|
+
- `private_unified_get_account_mode(request)`
|
|
320
334
|
- `private_unified_post_loans(request)`
|
|
321
335
|
- `private_unified_post_portfolio_calculator(request)`
|
|
322
336
|
- `private_unified_post_leverage_user_currency_setting(request)`
|
|
337
|
+
- `private_unified_post_collateral_currencies(request)`
|
|
338
|
+
- `private_unified_post_account_mode(request)`
|
|
323
339
|
- `private_unified_put_unified_mode(request)`
|
|
324
340
|
- `private_spot_get_fee(request)`
|
|
325
341
|
- `private_spot_get_batch_fee(request)`
|
|
@@ -348,6 +364,13 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
348
364
|
- `private_margin_get_funding_accounts(request)`
|
|
349
365
|
- `private_margin_get_auto_repay(request)`
|
|
350
366
|
- `private_margin_get_transferable(request)`
|
|
367
|
+
- `private_margin_get_uni_estimate_rate(request)`
|
|
368
|
+
- `private_margin_get_uni_loans(request)`
|
|
369
|
+
- `private_margin_get_uni_loan_records(request)`
|
|
370
|
+
- `private_margin_get_uni_interest_records(request)`
|
|
371
|
+
- `private_margin_get_uni_borrowable(request)`
|
|
372
|
+
- `private_margin_get_user_loan_margin_tiers(request)`
|
|
373
|
+
- `private_margin_get_user_account(request)`
|
|
351
374
|
- `private_margin_get_loans(request)`
|
|
352
375
|
- `private_margin_get_loans_loan_id(request)`
|
|
353
376
|
- `private_margin_get_loans_loan_id_repayment(request)`
|
|
@@ -363,23 +386,17 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
363
386
|
- `private_margin_get_cross_transferable(request)`
|
|
364
387
|
- `private_margin_get_cross_estimate_rate(request)`
|
|
365
388
|
- `private_margin_get_cross_borrowable(request)`
|
|
366
|
-
- `private_margin_get_uni_estimate_rate(request)`
|
|
367
|
-
- `private_margin_get_uni_loans(request)`
|
|
368
|
-
- `private_margin_get_uni_loan_records(request)`
|
|
369
|
-
- `private_margin_get_uni_interest_records(request)`
|
|
370
|
-
- `private_margin_get_uni_borrowable(request)`
|
|
371
389
|
- `private_margin_post_auto_repay(request)`
|
|
390
|
+
- `private_margin_post_uni_loans(request)`
|
|
391
|
+
- `private_margin_post_leverage_user_market_setting(request)`
|
|
372
392
|
- `private_margin_post_loans(request)`
|
|
373
393
|
- `private_margin_post_merged_loans(request)`
|
|
374
394
|
- `private_margin_post_loans_loan_id_repayment(request)`
|
|
375
395
|
- `private_margin_post_cross_loans(request)`
|
|
376
396
|
- `private_margin_post_cross_repayments(request)`
|
|
377
|
-
- `private_margin_post_uni_loans(request)`
|
|
378
397
|
- `private_margin_patch_loans_loan_id(request)`
|
|
379
398
|
- `private_margin_patch_loan_records_loan_record_id(request)`
|
|
380
399
|
- `private_margin_delete_loans_loan_id(request)`
|
|
381
|
-
- `private_flash_swap_get_currencies(request)`
|
|
382
|
-
- `private_flash_swap_get_currency_pairs(request)`
|
|
383
400
|
- `private_flash_swap_get_orders(request)`
|
|
384
401
|
- `private_flash_swap_get_orders_order_id(request)`
|
|
385
402
|
- `private_flash_swap_post_orders(request)`
|
|
@@ -398,12 +415,14 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
398
415
|
- `private_futures_get_settle_liquidates(request)`
|
|
399
416
|
- `private_futures_get_settle_auto_deleverages(request)`
|
|
400
417
|
- `private_futures_get_settle_fee(request)`
|
|
401
|
-
- `
|
|
418
|
+
- `private_futures_get_settle_risk_limit_table(request)`
|
|
402
419
|
- `private_futures_get_settle_price_orders(request)`
|
|
403
420
|
- `private_futures_get_settle_price_orders_order_id(request)`
|
|
404
421
|
- `private_futures_post_settle_positions_contract_margin(request)`
|
|
405
422
|
- `private_futures_post_settle_positions_contract_leverage(request)`
|
|
406
423
|
- `private_futures_post_settle_positions_contract_risk_limit(request)`
|
|
424
|
+
- `private_futures_post_settle_positions_cross_mode(request)`
|
|
425
|
+
- `private_futures_post_settle_dual_comp_positions_cross_mode(request)`
|
|
407
426
|
- `private_futures_post_settle_dual_mode(request)`
|
|
408
427
|
- `private_futures_post_settle_dual_comp_positions_contract_margin(request)`
|
|
409
428
|
- `private_futures_post_settle_dual_comp_positions_contract_leverage(request)`
|
|
@@ -412,6 +431,8 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
412
431
|
- `private_futures_post_settle_batch_orders(request)`
|
|
413
432
|
- `private_futures_post_settle_countdown_cancel_all(request)`
|
|
414
433
|
- `private_futures_post_settle_batch_cancel_orders(request)`
|
|
434
|
+
- `private_futures_post_settle_batch_amend_orders(request)`
|
|
435
|
+
- `private_futures_post_settle_bbo_orders(request)`
|
|
415
436
|
- `private_futures_post_settle_price_orders(request)`
|
|
416
437
|
- `private_futures_put_settle_orders_order_id(request)`
|
|
417
438
|
- `private_futures_delete_settle_orders(request)`
|
|
@@ -455,14 +476,27 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
455
476
|
- `private_options_post_mmp_reset(request)`
|
|
456
477
|
- `private_options_delete_orders(request)`
|
|
457
478
|
- `private_options_delete_orders_order_id(request)`
|
|
458
|
-
- `private_earn_get_uni_currencies(request)`
|
|
459
|
-
- `private_earn_get_uni_currencies_currency(request)`
|
|
460
479
|
- `private_earn_get_uni_lends(request)`
|
|
461
480
|
- `private_earn_get_uni_lend_records(request)`
|
|
462
481
|
- `private_earn_get_uni_interests_currency(request)`
|
|
463
482
|
- `private_earn_get_uni_interest_records(request)`
|
|
464
483
|
- `private_earn_get_uni_interest_status_currency(request)`
|
|
484
|
+
- `private_earn_get_uni_chart(request)`
|
|
485
|
+
- `private_earn_get_uni_rate(request)`
|
|
486
|
+
- `private_earn_get_staking_eth2_rate_records(request)`
|
|
487
|
+
- `private_earn_get_dual_orders(request)`
|
|
488
|
+
- `private_earn_get_structured_orders(request)`
|
|
489
|
+
- `private_earn_get_staking_coins(request)`
|
|
490
|
+
- `private_earn_get_staking_order_list(request)`
|
|
491
|
+
- `private_earn_get_staking_award_list(request)`
|
|
492
|
+
- `private_earn_get_staking_assets(request)`
|
|
493
|
+
- `private_earn_get_uni_currencies(request)`
|
|
494
|
+
- `private_earn_get_uni_currencies_currency(request)`
|
|
465
495
|
- `private_earn_post_uni_lends(request)`
|
|
496
|
+
- `private_earn_post_staking_eth2_swap(request)`
|
|
497
|
+
- `private_earn_post_dual_orders(request)`
|
|
498
|
+
- `private_earn_post_structured_orders(request)`
|
|
499
|
+
- `private_earn_post_staking_swap(request)`
|
|
466
500
|
- `private_earn_put_uni_interest_reinvest(request)`
|
|
467
501
|
- `private_earn_patch_uni_lends(request)`
|
|
468
502
|
- `private_loan_get_collateral_orders(request)`
|
|
@@ -471,12 +505,12 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
471
505
|
- `private_loan_get_collateral_collaterals(request)`
|
|
472
506
|
- `private_loan_get_collateral_total_amount(request)`
|
|
473
507
|
- `private_loan_get_collateral_ltv(request)`
|
|
474
|
-
- `private_loan_get_collateral_currencies(request)`
|
|
475
508
|
- `private_loan_get_multi_collateral_orders(request)`
|
|
476
509
|
- `private_loan_get_multi_collateral_orders_order_id(request)`
|
|
477
510
|
- `private_loan_get_multi_collateral_repay(request)`
|
|
478
511
|
- `private_loan_get_multi_collateral_mortgage(request)`
|
|
479
512
|
- `private_loan_get_multi_collateral_currency_quota(request)`
|
|
513
|
+
- `private_loan_get_collateral_currencies(request)`
|
|
480
514
|
- `private_loan_get_multi_collateral_currencies(request)`
|
|
481
515
|
- `private_loan_get_multi_collateral_ltv(request)`
|
|
482
516
|
- `private_loan_get_multi_collateral_fixed_rate(request)`
|
|
@@ -488,15 +522,25 @@ You can also construct custom requests to available "implicit" endpoints
|
|
|
488
522
|
- `private_loan_post_multi_collateral_repay(request)`
|
|
489
523
|
- `private_loan_post_multi_collateral_mortgage(request)`
|
|
490
524
|
- `private_account_get_detail(request)`
|
|
525
|
+
- `private_account_get_main_keys(request)`
|
|
491
526
|
- `private_account_get_rate_limit(request)`
|
|
492
527
|
- `private_account_get_stp_groups(request)`
|
|
493
528
|
- `private_account_get_stp_groups_stp_id_users(request)`
|
|
494
529
|
- `private_account_get_stp_groups_debit_fee(request)`
|
|
530
|
+
- `private_account_get_debit_fee(request)`
|
|
495
531
|
- `private_account_post_stp_groups(request)`
|
|
496
532
|
- `private_account_post_stp_groups_stp_id_users(request)`
|
|
533
|
+
- `private_account_post_debit_fee(request)`
|
|
497
534
|
- `private_account_delete_stp_groups_stp_id_users(request)`
|
|
498
535
|
- `private_rebate_get_agency_transaction_history(request)`
|
|
499
536
|
- `private_rebate_get_agency_commission_history(request)`
|
|
537
|
+
- `private_rebate_get_partner_transaction_history(request)`
|
|
538
|
+
- `private_rebate_get_partner_commission_history(request)`
|
|
539
|
+
- `private_rebate_get_partner_sub_list(request)`
|
|
540
|
+
- `private_rebate_get_broker_commission_history(request)`
|
|
541
|
+
- `private_rebate_get_broker_transaction_history(request)`
|
|
542
|
+
- `private_rebate_get_user_info(request)`
|
|
543
|
+
- `private_rebate_get_user_sub_relation(request)`
|
|
500
544
|
|
|
501
545
|
### WS Unified
|
|
502
546
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
gate/__init__.py,sha256=rmRavmagjlyk7Z5zGWWJiY8tfYIPsk04hRzC4SYJOzA,222
|
|
2
|
-
gate/ccxt/__init__.py,sha256=
|
|
3
|
-
gate/ccxt/gate.py,sha256=
|
|
4
|
-
gate/ccxt/abstract/gate.py,sha256=
|
|
5
|
-
gate/ccxt/async_support/__init__.py,sha256=
|
|
6
|
-
gate/ccxt/async_support/gate.py,sha256=
|
|
2
|
+
gate/ccxt/__init__.py,sha256=gxCy3x7EkqEjqxdEBKzTZwHvER3grX5n-dJzYVOOu2E,6127
|
|
3
|
+
gate/ccxt/gate.py,sha256=wYt3LxcsYEx5UOpR_lJeklfgrw9C6XkhGpnqtuVhQ34,357610
|
|
4
|
+
gate/ccxt/abstract/gate.py,sha256=BqKAEgATjdn7tcjVr2WkCZ9vitp1a4g7Y5I678_v2KU,52137
|
|
5
|
+
gate/ccxt/async_support/__init__.py,sha256=ke0HHNvvq2vSDTr4lBe8VdGVrdBcjV0GmYCCvrOHFyg,4860
|
|
6
|
+
gate/ccxt/async_support/gate.py,sha256=UsIxdQbXZeP59JyqgVMxp9Vf6FzHS5pE0g35FvMkQjk,359575
|
|
7
7
|
gate/ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
|
|
8
|
-
gate/ccxt/async_support/base/exchange.py,sha256=
|
|
8
|
+
gate/ccxt/async_support/base/exchange.py,sha256=ir3rylgHTEu2MuD1Ew8zqnKl0XthCQMSqCkLf7lKZ4Y,126383
|
|
9
9
|
gate/ccxt/async_support/base/throttler.py,sha256=SR1JdHbXgkkRps_YBP7QxVREHsBN1Gbpm5gx_YuMa5g,1841
|
|
10
10
|
gate/ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
|
|
11
11
|
gate/ccxt/async_support/base/ws/cache.py,sha256=xf2VOtfUwloxSlIQ39M1RGZHWQzyS9IGhB5NX6cDcAc,8370
|
|
@@ -17,10 +17,10 @@ gate/ccxt/async_support/base/ws/order_book_side.py,sha256=GhnGUt78pJ-AYL_Dq9prod
|
|
|
17
17
|
gate/ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
|
|
18
18
|
gate/ccxt/base/decimal_to_precision.py,sha256=3XI30u9YudHbTA438397u5rkdlXa3atxwZEfUus3C4k,6803
|
|
19
19
|
gate/ccxt/base/errors.py,sha256=LdTTHPmxpeFHJze93mGl7I3maqTgN0y_1mJ6coWkXmA,4734
|
|
20
|
-
gate/ccxt/base/exchange.py,sha256=
|
|
20
|
+
gate/ccxt/base/exchange.py,sha256=KgtfvGePpSQ5vs1B1EQGHDrBoERC2XcL-lQ2h6OEdVs,349705
|
|
21
21
|
gate/ccxt/base/precise.py,sha256=koce64Yrp6vFbGijJtUt-QQ6XhJgeGTCksZ871FPp_A,8886
|
|
22
22
|
gate/ccxt/base/types.py,sha256=Gvbogh9i7pPH7Z18xesYeDPribqqwq8uKpOv-YODFBs,11505
|
|
23
|
-
gate/ccxt/pro/__init__.py,sha256=
|
|
23
|
+
gate/ccxt/pro/__init__.py,sha256=fxuP8zpmM7-bl2nASwTxbyU0xu-r4c2OOfUavCfsgbM,4174
|
|
24
24
|
gate/ccxt/pro/gate.py,sha256=fN9delh8YwosmOlTEL2swSCr7wsJUc1DYxz2JbZF_q0,89835
|
|
25
25
|
gate/ccxt/static_dependencies/README.md,sha256=3TCvhhn09_Cqf9BDDpao1V7EfKHDpQ6k9oWRsLFixpU,18
|
|
26
26
|
gate/ccxt/static_dependencies/__init__.py,sha256=tzFje8cloqmiIE6kola3EaYC0SnD1izWnri69hzHsSw,168
|
|
@@ -281,6 +281,6 @@ gate/ccxt/static_dependencies/toolz/curried/exceptions.py,sha256=gKFOHDIayAWnX2u
|
|
|
281
281
|
gate/ccxt/static_dependencies/toolz/curried/operator.py,sha256=ML92mknkAwzBl2NCm-4werSUmJEtSHNY9NSzhseNM9s,525
|
|
282
282
|
gate/ccxt/static_dependencies/typing_inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
283
283
|
gate/ccxt/static_dependencies/typing_inspect/typing_inspect.py,sha256=5gIWomLPfuDpgd3gX1GlnX0MuXM3VorR4j2W2qXORiQ,28269
|
|
284
|
-
gate_io_api-0.0.
|
|
285
|
-
gate_io_api-0.0.
|
|
286
|
-
gate_io_api-0.0.
|
|
284
|
+
gate_io_api-0.0.99.dist-info/METADATA,sha256=KsGVW55_F7HPstksdRVWhjo7CiALNUDdktUSslF8Vlk,29077
|
|
285
|
+
gate_io_api-0.0.99.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
286
|
+
gate_io_api-0.0.99.dist-info/RECORD,,
|
|
File without changes
|