Skip to content

Commit 8d8f29d

Browse files
author
gateio
committed
update to v6.100.0
1 parent 1419b55 commit 8d8f29d

File tree

312 files changed

+6954
-1139
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

312 files changed

+6954
-1139
lines changed

README.md

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ Welcome to Gate API
33

44
APIv4 provides spot, margin and futures trading operations. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf.
55

6+
67
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
78

8-
- API version: 4.99.0
9-
- Package version: 6.99.0
9+
- API version: 4.100.0
10+
- Package version: 6.100.0
1011
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1112
For more information, please visit [https://www.gate.io/page/contacts](https://www.gate.io/page/contacts)
1213

@@ -118,13 +119,13 @@ Class | Method | HTTP request | Description
118119
*EarnUniApi* | [**list_uni_chart**](docs/EarnUniApi.md#list_uni_chart) | **GET** /earn/uni/chart | UniLoan currency annualized trend chart
119120
*EarnUniApi* | [**list_uni_rate**](docs/EarnUniApi.md#list_uni_rate) | **GET** /earn/uni/rate | Currency estimate annualized interest rate
120121
*MarginUniApi* | [**list_uni_currency_pairs**](docs/MarginUniApi.md#list_uni_currency_pairs) | **GET** /margin/uni/currency_pairs | List lending markets
121-
*MarginUniApi* | [**list_uni_loans**](docs/MarginUniApi.md#list_uni_loans) | **GET** /margin/uni/loans | List loans
122-
*MarginUniApi* | [**create_uni_loan**](docs/MarginUniApi.md#create_uni_loan) | **POST** /margin/uni/loans | Borrow or repay
123-
*MarginUniApi* | [**get_uni_borrowable**](docs/MarginUniApi.md#get_uni_borrowable) | **GET** /margin/uni/borrowable | Get maximum borrowable
124122
*MarginUniApi* | [**get_uni_currency_pair**](docs/MarginUniApi.md#get_uni_currency_pair) | **GET** /margin/uni/currency_pairs/{currency_pair} | Get detail of lending market
125123
*MarginUniApi* | [**get_margin_uni_estimate_rate**](docs/MarginUniApi.md#get_margin_uni_estimate_rate) | **GET** /margin/uni/estimate_rate | Estimate interest Rate
124+
*MarginUniApi* | [**list_uni_loans**](docs/MarginUniApi.md#list_uni_loans) | **GET** /margin/uni/loans | List loans
125+
*MarginUniApi* | [**create_uni_loan**](docs/MarginUniApi.md#create_uni_loan) | **POST** /margin/uni/loans | Borrow or repay
126126
*MarginUniApi* | [**list_uni_loan_records**](docs/MarginUniApi.md#list_uni_loan_records) | **GET** /margin/uni/loan_records | Get load records
127127
*MarginUniApi* | [**list_uni_loan_interest_records**](docs/MarginUniApi.md#list_uni_loan_interest_records) | **GET** /margin/uni/interest_records | List interest records
128+
*MarginUniApi* | [**get_uni_borrowable**](docs/MarginUniApi.md#get_uni_borrowable) | **GET** /margin/uni/borrowable | Get maximum borrowable
128129
*SubAccountApi* | [**list_sub_accounts**](docs/SubAccountApi.md#list_sub_accounts) | **GET** /sub_accounts | List sub-accounts
129130
*SubAccountApi* | [**create_sub_accounts**](docs/SubAccountApi.md#create_sub_accounts) | **POST** /sub_accounts | Create a new sub-account
130131
*SubAccountApi* | [**get_sub_account**](docs/SubAccountApi.md#get_sub_account) | **GET** /sub_accounts/{user_id} | Get the sub-account
@@ -166,6 +167,14 @@ Class | Method | HTTP request | Description
166167
*AccountApi* | [**delete_stp_group_users**](docs/AccountApi.md#delete_stp_group_users) | **DELETE** /account/stp_groups/{stp_id}/users | Delete the user in the STP group
167168
*AccountApi* | [**get_debit_fee**](docs/AccountApi.md#get_debit_fee) | **GET** /account/debit_fee | Query GT deduction configuration.
168169
*AccountApi* | [**set_debit_fee**](docs/AccountApi.md#set_debit_fee) | **POST** /account/debit_fee | Set GT deduction.
170+
*AlphaApi* | [**list_alpha_accounts**](docs/AlphaApi.md#list_alpha_accounts) | **GET** /alpha/accounts | API for Alpha Accounts
171+
*AlphaApi* | [**list_alpha_account_book**](docs/AlphaApi.md#list_alpha_account_book) | **GET** /alpha/account_book | Alpha Asset Transaction API
172+
*AlphaApi* | [**quote_alpha_order**](docs/AlphaApi.md#quote_alpha_order) | **POST** /alpha/quote | Alpha Quotation API
173+
*AlphaApi* | [**list_alpha_order**](docs/AlphaApi.md#list_alpha_order) | **GET** /alpha/orders | Alpha 查询订单列表接口
174+
*AlphaApi* | [**place_alpha_order**](docs/AlphaApi.md#place_alpha_order) | **POST** /alpha/orders | Alpha Order Placement API
175+
*AlphaApi* | [**get_alpha_order**](docs/AlphaApi.md#get_alpha_order) | **GET** /alpha/order | Alpha 查询单个订单接口
176+
*AlphaApi* | [**list_alpha_currencies**](docs/AlphaApi.md#list_alpha_currencies) | **GET** /alpha/currencies | 查询币种信息
177+
*AlphaApi* | [**list_alpha_tickers**](docs/AlphaApi.md#list_alpha_tickers) | **GET** /alpha/tickers | 查询币种ticker
169178
*CollateralLoanApi* | [**list_collateral_loan_orders**](docs/CollateralLoanApi.md#list_collateral_loan_orders) | **GET** /loan/collateral/orders | List Orders
170179
*CollateralLoanApi* | [**create_collateral_loan**](docs/CollateralLoanApi.md#create_collateral_loan) | **POST** /loan/collateral/orders | Place order
171180
*CollateralLoanApi* | [**get_collateral_loan_order_detail**](docs/CollateralLoanApi.md#get_collateral_loan_order_detail) | **GET** /loan/collateral/orders/{order_id} | Get a single order
@@ -213,6 +222,8 @@ Class | Method | HTTP request | Description
213222
*EarnApi* | [**list_structured_products**](docs/EarnApi.md#list_structured_products) | **GET** /earn/structured/products | Structured Product List
214223
*EarnApi* | [**list_structured_orders**](docs/EarnApi.md#list_structured_orders) | **GET** /earn/structured/orders | Structured Product Order List
215224
*EarnApi* | [**place_structured_order**](docs/EarnApi.md#place_structured_order) | **POST** /earn/structured/orders | Place Structured Product Order
225+
*EarnApi* | [**find_coin**](docs/EarnApi.md#find_coin) | **GET** /earn/staking/coins | 链上赚币币种
226+
*EarnApi* | [**swap_staking_coin**](docs/EarnApi.md#swap_staking_coin) | **POST** /earn/staking/swap | On-chain Token Swap for Earned Coins
216227
*FlashSwapApi* | [**list_flash_swap_currency_pair**](docs/FlashSwapApi.md#list_flash_swap_currency_pair) | **GET** /flash_swap/currency_pairs | List All Supported Currency Pairs In Flash Swap
217228
*FlashSwapApi* | [**list_flash_swap_orders**](docs/FlashSwapApi.md#list_flash_swap_orders) | **GET** /flash_swap/orders | List all flash swap orders
218229
*FlashSwapApi* | [**create_flash_swap_order**](docs/FlashSwapApi.md#create_flash_swap_order) | **POST** /flash_swap/orders | Create a flash swap order
@@ -267,15 +278,15 @@ Class | Method | HTTP request | Description
267278
*FuturesApi* | [**get_price_triggered_order**](docs/FuturesApi.md#get_price_triggered_order) | **GET** /futures/{settle}/price_orders/{order_id} | Get a price-triggered order
268279
*FuturesApi* | [**cancel_price_triggered_order**](docs/FuturesApi.md#cancel_price_triggered_order) | **DELETE** /futures/{settle}/price_orders/{order_id} | cancel a price-triggered order
269280
*MarginApi* | [**list_margin_accounts**](docs/MarginApi.md#list_margin_accounts) | **GET** /margin/accounts | Margin account list
270-
*MarginApi* | [**get_user_margin_tier**](docs/MarginApi.md#get_user_margin_tier) | **GET** /margin/user/loan_margin_tiers | Check the user's own leverage lending gradient in the current market
271-
*MarginApi* | [**get_market_margin_tier**](docs/MarginApi.md#get_market_margin_tier) | **GET** /margin/loan_margin_tiers | Query the current market leverage lending gradient
272-
*MarginApi* | [**set_user_market_leverage**](docs/MarginApi.md#set_user_market_leverage) | **POST** /margin/leverage/user_market_setting | Set the user market leverage multiple
273-
*MarginApi* | [**list_margin_user_account**](docs/MarginApi.md#list_margin_user_account) | **GET** /margin/user/account | Query the user's leverage account list
274281
*MarginApi* | [**list_margin_account_book**](docs/MarginApi.md#list_margin_account_book) | **GET** /margin/account_book | List margin account balance change history
275282
*MarginApi* | [**list_funding_accounts**](docs/MarginApi.md#list_funding_accounts) | **GET** /margin/funding_accounts | Funding account list
276283
*MarginApi* | [**get_auto_repay_status**](docs/MarginApi.md#get_auto_repay_status) | **GET** /margin/auto_repay | Retrieve user auto repayment setting
277284
*MarginApi* | [**set_auto_repay**](docs/MarginApi.md#set_auto_repay) | **POST** /margin/auto_repay | Update user's auto repayment setting
278285
*MarginApi* | [**get_margin_transferable**](docs/MarginApi.md#get_margin_transferable) | **GET** /margin/transferable | Get the max transferable amount for a specific margin currency
286+
*MarginApi* | [**get_user_margin_tier**](docs/MarginApi.md#get_user_margin_tier) | **GET** /margin/user/loan_margin_tiers | Check the user's own leverage lending gradient in the current market
287+
*MarginApi* | [**get_market_margin_tier**](docs/MarginApi.md#get_market_margin_tier) | **GET** /margin/loan_margin_tiers | Query the current market leverage lending gradient
288+
*MarginApi* | [**set_user_market_leverage**](docs/MarginApi.md#set_user_market_leverage) | **POST** /margin/leverage/user_market_setting | Set the user market leverage multiple
289+
*MarginApi* | [**list_margin_user_account**](docs/MarginApi.md#list_margin_user_account) | **GET** /margin/user/account | Query the user's leverage account list
279290
*MarginApi* | [**list_cross_margin_loans**](docs/MarginApi.md#list_cross_margin_loans) | **GET** /margin/cross/loans | List cross margin borrow history. (deprecated)
280291
*MarginApi* | [**list_cross_margin_repayments**](docs/MarginApi.md#list_cross_margin_repayments) | **GET** /margin/cross/repayments | Retrieve cross margin repayments. (deprecated)
281292
*MultiCollateralLoanApi* | [**list_multi_collateral_orders**](docs/MultiCollateralLoanApi.md#list_multi_collateral_orders) | **GET** /loan/multi_collateral/orders | List Multi-Collateral Orders
@@ -388,9 +399,11 @@ Class | Method | HTTP request | Description
388399
## Documentation For Models
389400

390401
- [AccountBalance](docs/AccountBalance.md)
402+
- [AccountBookResponse](docs/AccountBookResponse.md)
391403
- [AccountDetail](docs/AccountDetail.md)
392404
- [AccountDetailKey](docs/AccountDetailKey.md)
393405
- [AccountRateLimit](docs/AccountRateLimit.md)
406+
- [AccountsResponse](docs/AccountsResponse.md)
394407
- [AgencyCommission](docs/AgencyCommission.md)
395408
- [AgencyCommissionHistory](docs/AgencyCommissionHistory.md)
396409
- [AgencyTransaction](docs/AgencyTransaction.md)
@@ -403,6 +416,7 @@ Class | Method | HTTP request | Description
403416
- [BorrowCurrencyInfo](docs/BorrowCurrencyInfo.md)
404417
- [BrokerCommission](docs/BrokerCommission.md)
405418
- [BrokerCommission1](docs/BrokerCommission1.md)
419+
- [BrokerCommissionSubBrokerInfo](docs/BrokerCommissionSubBrokerInfo.md)
406420
- [BrokerTransaction](docs/BrokerTransaction.md)
407421
- [BrokerTransaction1](docs/BrokerTransaction1.md)
408422
- [CancelBatchOrder](docs/CancelBatchOrder.md)
@@ -433,6 +447,7 @@ Class | Method | HTTP request | Description
433447
- [CrossMarginLoan](docs/CrossMarginLoan.md)
434448
- [CrossMarginRepayment](docs/CrossMarginRepayment.md)
435449
- [Currency](docs/Currency.md)
450+
- [Currency2](docs/Currency2.md)
436451
- [CurrencyChain](docs/CurrencyChain.md)
437452
- [CurrencyPair](docs/CurrencyPair.md)
438453
- [CurrencyQuota](docs/CurrencyQuota.md)
@@ -447,6 +462,7 @@ Class | Method | HTTP request | Description
447462
- [DualGetPlans](docs/DualGetPlans.md)
448463
- [Eth2RateList](docs/Eth2RateList.md)
449464
- [Eth2Swap](docs/Eth2Swap.md)
465+
- [FindCoin](docs/FindCoin.md)
450466
- [FlashSwapCurrencyPair](docs/FlashSwapCurrencyPair.md)
451467
- [FlashSwapOrder](docs/FlashSwapOrder.md)
452468
- [FlashSwapOrderPreview](docs/FlashSwapOrderPreview.md)
@@ -471,13 +487,13 @@ Class | Method | HTTP request | Description
471487
- [FuturesOrderAmendment](docs/FuturesOrderAmendment.md)
472488
- [FuturesOrderBook](docs/FuturesOrderBook.md)
473489
- [FuturesOrderBookItem](docs/FuturesOrderBookItem.md)
490+
- [FuturesPositionCrossMode](docs/FuturesPositionCrossMode.md)
474491
- [FuturesPremiumIndex](docs/FuturesPremiumIndex.md)
475492
- [FuturesPriceTrigger](docs/FuturesPriceTrigger.md)
476493
- [FuturesPriceTriggeredOrder](docs/FuturesPriceTriggeredOrder.md)
477494
- [FuturesTicker](docs/FuturesTicker.md)
478495
- [FuturesTrade](docs/FuturesTrade.md)
479496
- [IndexConstituent](docs/IndexConstituent.md)
480-
- [InlineObject](docs/InlineObject.md)
481497
- [InlineResponse200](docs/InlineResponse200.md)
482498
- [InlineResponse2001](docs/InlineResponse2001.md)
483499
- [InsuranceRecord](docs/InsuranceRecord.md)
@@ -533,16 +549,21 @@ Class | Method | HTTP request | Description
533549
- [OrderCancel](docs/OrderCancel.md)
534550
- [OrderPatch](docs/OrderPatch.md)
535551
- [OrderResp](docs/OrderResp.md)
552+
- [OrderResponse](docs/OrderResponse.md)
536553
- [PartnerCommissionHistory](docs/PartnerCommissionHistory.md)
537554
- [PartnerSub](docs/PartnerSub.md)
538555
- [PartnerSubList](docs/PartnerSubList.md)
539556
- [PartnerTransactionHistory](docs/PartnerTransactionHistory.md)
540557
- [PatchUniLend](docs/PatchUniLend.md)
541558
- [PlaceDualInvestmentOrder](docs/PlaceDualInvestmentOrder.md)
559+
- [PlaceOrderRequest](docs/PlaceOrderRequest.md)
560+
- [PlaceOrderResponse](docs/PlaceOrderResponse.md)
542561
- [Position](docs/Position.md)
543562
- [PositionClose](docs/PositionClose.md)
544563
- [PositionCloseOrder](docs/PositionCloseOrder.md)
545564
- [ProfitLossRange](docs/ProfitLossRange.md)
565+
- [QuoteRequest](docs/QuoteRequest.md)
566+
- [QuoteResponse](docs/QuoteResponse.md)
546567
- [RebateUserInfo](docs/RebateUserInfo.md)
547568
- [RepayCurrencyRes](docs/RepayCurrencyRes.md)
548569
- [RepayLoan](docs/RepayLoan.md)
@@ -579,10 +600,13 @@ Class | Method | HTTP request | Description
579600
- [SubAccountMarginBalance](docs/SubAccountMarginBalance.md)
580601
- [SubAccountToSubAccount](docs/SubAccountToSubAccount.md)
581602
- [SubAccountTransfer](docs/SubAccountTransfer.md)
603+
- [SubAccountTransferRecordItem](docs/SubAccountTransferRecordItem.md)
582604
- [SubCrossMarginAccount](docs/SubCrossMarginAccount.md)
583605
- [SubUserMode](docs/SubUserMode.md)
606+
- [SwapCoin](docs/SwapCoin.md)
584607
- [SystemTime](docs/SystemTime.md)
585608
- [Ticker](docs/Ticker.md)
609+
- [Ticker2](docs/Ticker2.md)
586610
- [TotalBalance](docs/TotalBalance.md)
587611
- [Trade](docs/Trade.md)
588612
- [TradeFee](docs/TradeFee.md)

docs/AccountBookResponse.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# AccountBookResponse
2+
3+
Quotation Response
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | **int** | Order ID | [optional]
8+
**time** | **int** | 操作时间戳 | [optional]
9+
**currency** | **str** | Currency name | [optional]
10+
**change** | **str** | Change amount | [optional]
11+
**balance** | **str** | 变更后余额 | [optional]
12+
13+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
14+
15+

docs/AccountsResponse.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# AccountsResponse
2+
3+
Quotation Response
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**currency** | **str** | Currency name | [optional]
8+
**available** | **str** | Available Balance | [optional]
9+
**locked** | **str** | 锁定余额 | [optional]
10+
**token_address** | **str** | token 地址 | [optional]
11+
**chain** | **str** | 区块链名称 | [optional]
12+
13+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
14+
15+

0 commit comments

Comments
 (0)