Skip to content

Commit 9bd5f12

Browse files
author
gateio
committed
update to v6.91.0
1 parent ebe812b commit 9bd5f12

24 files changed

+189
-310
lines changed

Diff for: README.md

+19-20
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ APIv4 provides spot, margin and futures trading operations. There are public API
55

66
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
77

8-
- API version: 4.90.0
9-
- Package version: 4.90.0
8+
- API version: 4.91.0
9+
- Package version: 6.91.0
1010
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1111
For more information, please visit [https://www.gate.io/page/contacts](https://www.gate.io/page/contacts)
1212

@@ -142,15 +142,15 @@ Class | Method | HTTP request | Description
142142
*UnifiedApi* | [**create_unified_loan**](docs/UnifiedApi.md#create_unified_loan) | **POST** /unified/loans | Borrow or repay
143143
*UnifiedApi* | [**list_unified_loan_records**](docs/UnifiedApi.md#list_unified_loan_records) | **GET** /unified/loan_records | Get load records
144144
*UnifiedApi* | [**list_unified_loan_interest_records**](docs/UnifiedApi.md#list_unified_loan_interest_records) | **GET** /unified/interest_records | List interest records
145-
*UnifiedApi* | [**get_unified_risk_units**](docs/UnifiedApi.md#get_unified_risk_units) | **GET** /unified/risk_units | Retrieve user risk unit details, only valid in portfolio margin mode
145+
*UnifiedApi* | [**get_unified_risk_units**](docs/UnifiedApi.md#get_unified_risk_units) | **GET** /unified/risk_units | Get user risk unit details
146146
*UnifiedApi* | [**get_unified_mode**](docs/UnifiedApi.md#get_unified_mode) | **GET** /unified/unified_mode | Query mode of the unified account
147147
*UnifiedApi* | [**set_unified_mode**](docs/UnifiedApi.md#set_unified_mode) | **PUT** /unified/unified_mode | Set mode of the unified account
148148
*UnifiedApi* | [**get_unified_estimate_rate**](docs/UnifiedApi.md#get_unified_estimate_rate) | **GET** /unified/estimate_rate | Get unified estimate rate
149149
*UnifiedApi* | [**list_currency_discount_tiers**](docs/UnifiedApi.md#list_currency_discount_tiers) | **GET** /unified/currency_discount_tiers | List currency discount tiers
150150
*UnifiedApi* | [**list_loan_margin_tiers**](docs/UnifiedApi.md#list_loan_margin_tiers) | **GET** /unified/loan_margin_tiers | List loan margin tiers
151151
*UnifiedApi* | [**calculate_portfolio_margin**](docs/UnifiedApi.md#calculate_portfolio_margin) | **POST** /unified/portfolio_calculator | Portfolio margin calculator
152152
*UnifiedApi* | [**get_user_leverage_currency_config**](docs/UnifiedApi.md#get_user_leverage_currency_config) | **GET** /unified/leverage/user_currency_config | Minimum currency leverage that can be set
153-
*UnifiedApi* | [**get_user_leverage_currency_setting**](docs/UnifiedApi.md#get_user_leverage_currency_setting) | **GET** /unified/leverage/user_currency_setting | Get the user's currency leverage. If currency is not passed, query all currencies.
153+
*UnifiedApi* | [**get_user_leverage_currency_setting**](docs/UnifiedApi.md#get_user_leverage_currency_setting) | **GET** /unified/leverage/user_currency_setting | Get the leverage multiple of the user currency
154154
*UnifiedApi* | [**set_user_leverage_currency_setting**](docs/UnifiedApi.md#set_user_leverage_currency_setting) | **POST** /unified/leverage/user_currency_setting | Set the loan currency leverage
155155
*UnifiedApi* | [**get_history_loan_rate**](docs/UnifiedApi.md#get_history_loan_rate) | **GET** /unified/history_loan_rate | get historical lending rates
156156
*AccountApi* | [**get_account_detail**](docs/AccountApi.md#get_account_detail) | **GET** /account/detail | Get account detail
@@ -266,19 +266,19 @@ Class | Method | HTTP request | Description
266266
*MarginApi* | [**get_auto_repay_status**](docs/MarginApi.md#get_auto_repay_status) | **GET** /margin/auto_repay | Retrieve user auto repayment setting
267267
*MarginApi* | [**set_auto_repay**](docs/MarginApi.md#set_auto_repay) | **POST** /margin/auto_repay | Update user's auto repayment setting
268268
*MarginApi* | [**get_margin_transferable**](docs/MarginApi.md#get_margin_transferable) | **GET** /margin/transferable | Get the max transferable amount for a specific margin currency
269-
*MarginApi* | [**list_cross_margin_currencies**](docs/MarginApi.md#list_cross_margin_currencies) | **GET** /margin/cross/currencies | Currencies supported by cross margin.
270-
*MarginApi* | [**get_cross_margin_currency**](docs/MarginApi.md#get_cross_margin_currency) | **GET** /margin/cross/currencies/{currency} | Retrieve detail of one single currency supported by cross margin
271-
*MarginApi* | [**get_cross_margin_account**](docs/MarginApi.md#get_cross_margin_account) | **GET** /margin/cross/accounts | Retrieve cross margin account
272-
*MarginApi* | [**list_cross_margin_account_book**](docs/MarginApi.md#list_cross_margin_account_book) | **GET** /margin/cross/account_book | Retrieve cross margin account change history
273-
*MarginApi* | [**list_cross_margin_loans**](docs/MarginApi.md#list_cross_margin_loans) | **GET** /margin/cross/loans | List cross margin borrow history
274-
*MarginApi* | [**create_cross_margin_loan**](docs/MarginApi.md#create_cross_margin_loan) | **POST** /margin/cross/loans | Create a cross margin borrow loan
275-
*MarginApi* | [**get_cross_margin_loan**](docs/MarginApi.md#get_cross_margin_loan) | **GET** /margin/cross/loans/{loan_id} | Retrieve single borrow loan detail
276-
*MarginApi* | [**list_cross_margin_repayments**](docs/MarginApi.md#list_cross_margin_repayments) | **GET** /margin/cross/repayments | Retrieve cross margin repayments
277-
*MarginApi* | [**repay_cross_margin_loan**](docs/MarginApi.md#repay_cross_margin_loan) | **POST** /margin/cross/repayments | Cross margin repayments
278-
*MarginApi* | [**get_cross_margin_interest_records**](docs/MarginApi.md#get_cross_margin_interest_records) | **GET** /margin/cross/interest_records | Interest records for the cross margin account
279-
*MarginApi* | [**get_cross_margin_transferable**](docs/MarginApi.md#get_cross_margin_transferable) | **GET** /margin/cross/transferable | Get the max transferable amount for a specific cross margin currency
280-
*MarginApi* | [**get_cross_margin_estimate_rate**](docs/MarginApi.md#get_cross_margin_estimate_rate) | **GET** /margin/cross/estimate_rate | Estimated interest rates
281-
*MarginApi* | [**get_cross_margin_borrowable**](docs/MarginApi.md#get_cross_margin_borrowable) | **GET** /margin/cross/borrowable | Get the max borrowable amount for a specific cross margin currency
269+
*MarginApi* | [**list_cross_margin_currencies**](docs/MarginApi.md#list_cross_margin_currencies) | **GET** /margin/cross/currencies | Currencies supported by cross margin.(deprecated)
270+
*MarginApi* | [**get_cross_margin_currency**](docs/MarginApi.md#get_cross_margin_currency) | **GET** /margin/cross/currencies/{currency} | Retrieve detail of one single currency supported by cross margin. (deprecated)
271+
*MarginApi* | [**get_cross_margin_account**](docs/MarginApi.md#get_cross_margin_account) | **GET** /margin/cross/accounts | Retrieve cross margin account. (deprecated)
272+
*MarginApi* | [**list_cross_margin_account_book**](docs/MarginApi.md#list_cross_margin_account_book) | **GET** /margin/cross/account_book | Retrieve cross margin account change history. (deprecated)
273+
*MarginApi* | [**list_cross_margin_loans**](docs/MarginApi.md#list_cross_margin_loans) | **GET** /margin/cross/loans | List cross margin borrow history. (deprecated)
274+
*MarginApi* | [**create_cross_margin_loan**](docs/MarginApi.md#create_cross_margin_loan) | **POST** /margin/cross/loans | Create a cross margin borrow loan. (deprecated)
275+
*MarginApi* | [**get_cross_margin_loan**](docs/MarginApi.md#get_cross_margin_loan) | **GET** /margin/cross/loans/{loan_id} | Retrieve single borrow loan detail. (deprecated)
276+
*MarginApi* | [**list_cross_margin_repayments**](docs/MarginApi.md#list_cross_margin_repayments) | **GET** /margin/cross/repayments | Retrieve cross margin repayments. (deprecated)
277+
*MarginApi* | [**repay_cross_margin_loan**](docs/MarginApi.md#repay_cross_margin_loan) | **POST** /margin/cross/repayments | Cross margin repayments. (deprecated)
278+
*MarginApi* | [**get_cross_margin_interest_records**](docs/MarginApi.md#get_cross_margin_interest_records) | **GET** /margin/cross/interest_records | Interest records for the cross margin account. (deprecated)
279+
*MarginApi* | [**get_cross_margin_transferable**](docs/MarginApi.md#get_cross_margin_transferable) | **GET** /margin/cross/transferable | Get the max transferable amount for a specific cross margin currency. (deprecated)
280+
*MarginApi* | [**get_cross_margin_estimate_rate**](docs/MarginApi.md#get_cross_margin_estimate_rate) | **GET** /margin/cross/estimate_rate | Estimated interest rates. (deprecated)
281+
*MarginApi* | [**get_cross_margin_borrowable**](docs/MarginApi.md#get_cross_margin_borrowable) | **GET** /margin/cross/borrowable | Get the max borrowable amount for a specific cross margin currency. (deprecated)
282282
*MultiCollateralLoanApi* | [**list_multi_collateral_orders**](docs/MultiCollateralLoanApi.md#list_multi_collateral_orders) | **GET** /loan/multi_collateral/orders | List Multi-Collateral Orders
283283
*MultiCollateralLoanApi* | [**create_multi_collateral**](docs/MultiCollateralLoanApi.md#create_multi_collateral) | **POST** /loan/multi_collateral/orders | Create Multi-Collateral Order
284284
*MultiCollateralLoanApi* | [**get_multi_collateral_order_detail**](docs/MultiCollateralLoanApi.md#get_multi_collateral_order_detail) | **GET** /loan/multi_collateral/orders/{order_id} | Get Multi-Collateral Order Detail
@@ -443,6 +443,7 @@ Class | Method | HTTP request | Description
443443
- [CurrencyChain](docs/CurrencyChain.md)
444444
- [CurrencyPair](docs/CurrencyPair.md)
445445
- [CurrencyQuota](docs/CurrencyQuota.md)
446+
- [DebitFee](docs/DebitFee.md)
446447
- [DeliveryCandlestick](docs/DeliveryCandlestick.md)
447448
- [DeliveryContract](docs/DeliveryContract.md)
448449
- [DeliverySettlement](docs/DeliverySettlement.md)
@@ -480,9 +481,6 @@ Class | Method | HTTP request | Description
480481
- [FuturesTicker](docs/FuturesTicker.md)
481482
- [FuturesTrade](docs/FuturesTrade.md)
482483
- [IndexConstituent](docs/IndexConstituent.md)
483-
- [InlineObject](docs/InlineObject.md)
484-
- [InlineResponse200](docs/InlineResponse200.md)
485-
- [InlineResponse2001](docs/InlineResponse2001.md)
486484
- [InsuranceRecord](docs/InsuranceRecord.md)
487485
- [LedgerRecord](docs/LedgerRecord.md)
488486
- [LiquidateOrder](docs/LiquidateOrder.md)
@@ -588,6 +586,7 @@ Class | Method | HTTP request | Description
588586
- [TradeFee](docs/TradeFee.md)
589587
- [TransactionID](docs/TransactionID.md)
590588
- [Transfer](docs/Transfer.md)
589+
- [TransferOrderStatus](docs/TransferOrderStatus.md)
591590
- [TriggerOrderResponse](docs/TriggerOrderResponse.md)
592591
- [TriggerTime](docs/TriggerTime.md)
593592
- [UidPushOrder](docs/UidPushOrder.md)

Diff for: docs/AccountApi.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ Name | Type | Description | Notes
491491
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
492492

493493
# **get_debit_fee**
494-
> InlineResponse2001 get_debit_fee()
494+
> DebitFee get_debit_fee()
495495
496496
Query GT deduction configuration.
497497

@@ -537,7 +537,7 @@ This endpoint does not need any parameter.
537537

538538
### Return type
539539

540-
[**InlineResponse2001**](InlineResponse2001.md)
540+
[**DebitFee**](DebitFee.md)
541541

542542
### Authorization
543543

@@ -556,7 +556,7 @@ This endpoint does not need any parameter.
556556
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
557557

558558
# **set_debit_fee**
559-
> set_debit_fee(inline_object)
559+
> set_debit_fee(debit_fee)
560560
561561
Set GT deduction.
562562

@@ -586,11 +586,11 @@ configuration = gate_api.Configuration(
586586
api_client = gate_api.ApiClient(configuration)
587587
# Create an instance of the API class
588588
api_instance = gate_api.AccountApi(api_client)
589-
inline_object = gate_api.InlineObject() # InlineObject |
589+
debit_fee = gate_api.DebitFee() # DebitFee |
590590

591591
try:
592592
# Set GT deduction.
593-
api_instance.set_debit_fee(inline_object)
593+
api_instance.set_debit_fee(debit_fee)
594594
except GateApiException as ex:
595595
print("Gate api exception, label: %s, message: %s\n" % (ex.label, ex.message))
596596
except ApiException as e:
@@ -601,7 +601,7 @@ except ApiException as e:
601601

602602
Name | Type | Description | Notes
603603
------------- | ------------- | ------------- | -------------
604-
**inline_object** | [**InlineObject**](InlineObject.md)| |
604+
**debit_fee** | [**DebitFee**](DebitFee.md)| |
605605

606606
### Return type
607607

Diff for: docs/InlineObject.md renamed to docs/DebitFee.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# InlineObject
1+
# DebitFee
22

33
## Properties
44
Name | Type | Description | Notes

Diff for: docs/FuturesTicker.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
1717
**volume_24h_settle** | **str** | Trade volume in recent 24h, in settle currency | [optional]
1818
**mark_price** | **str** | Recent mark price | [optional]
1919
**funding_rate** | **str** | Funding rate | [optional]
20-
**funding_rate_indicative** | **str** | Indicative Funding rate in next period | [optional]
20+
**funding_rate_indicative** | **str** | Indicative Funding rate in next period. (deprecated. use `funding_rate`) | [optional]
2121
**index_price** | **str** | Index price | [optional]
2222
**quanto_base_rate** | **str** | Exchange rate of base currency and settlement currency in Quanto contract. Does not exists in contracts of other types | [optional]
2323
**basis_rate** | **str** | Basis rate | [optional]

Diff for: docs/InlineResponse2001.md

-10
This file was deleted.

0 commit comments

Comments
 (0)