|
1 | 1 | # gate-api |
2 | 2 | Welcome to Gate API |
3 | | - |
4 | | -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. |
5 | | - |
| 3 | + APIv4 provides operations related to spot, margin, and contract trading, including public interfaces for querying market data and authenticated private interfaces |
| 4 | +for implementing API-based automated trading. |
6 | 5 |
|
7 | 6 | This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: |
8 | 7 |
|
9 | | -- API version: 4.100.2 |
10 | | -- Package version: 6.100.2 |
| 8 | +- API version: v4.102.0 |
| 9 | +- Package version: 6.102.0 |
11 | 10 | - Build package: org.openapitools.codegen.languages.PythonClientCodegen |
12 | | -For more information, please visit [https://www.gate.io/page/contacts](https://www.gate.io/page/contacts) |
| 11 | +For more information, please visit [https://www.gate.com/page/contacts](https://www.gate.com/page/contacts) |
13 | 12 |
|
14 | 13 | ## Versioning |
15 | 14 |
|
@@ -158,7 +157,7 @@ Class | Method | HTTP request | Description |
158 | 157 | *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 |
159 | 158 | *UnifiedApi* | [**list_unified_currencies**](docs/UnifiedApi.md#list_unified_currencies) | **GET** /unified/currencies | List of loan currencies supported by unified account |
160 | 159 | *UnifiedApi* | [**get_history_loan_rate**](docs/UnifiedApi.md#get_history_loan_rate) | **GET** /unified/history_loan_rate | get historical lending rates |
161 | | -*UnifiedApi* | [**set_unified_collateral**](docs/UnifiedApi.md#set_unified_collateral) | **POST** /unified/collateral_currencies | 设置抵押币种 |
| 160 | +*UnifiedApi* | [**set_unified_collateral**](docs/UnifiedApi.md#set_unified_collateral) | **POST** /unified/collateral_currencies | Set Collateral Currency |
162 | 161 | *AccountApi* | [**get_account_detail**](docs/AccountApi.md#get_account_detail) | **GET** /account/detail | Get account detail |
163 | 162 | *AccountApi* | [**get_account_rate_limit**](docs/AccountApi.md#get_account_rate_limit) | **GET** /account/rate_limit | Get user transaction rate limit information |
164 | 163 | *AccountApi* | [**list_stp_groups**](docs/AccountApi.md#list_stp_groups) | **GET** /account/stp_groups | List STP Groups |
@@ -215,7 +214,7 @@ Class | Method | HTTP request | Description |
215 | 214 | *EarnApi* | [**list_structured_products**](docs/EarnApi.md#list_structured_products) | **GET** /earn/structured/products | Structured Product List |
216 | 215 | *EarnApi* | [**list_structured_orders**](docs/EarnApi.md#list_structured_orders) | **GET** /earn/structured/orders | Structured Product Order List |
217 | 216 | *EarnApi* | [**place_structured_order**](docs/EarnApi.md#place_structured_order) | **POST** /earn/structured/orders | Place Structured Product Order |
218 | | -*EarnApi* | [**find_coin**](docs/EarnApi.md#find_coin) | **GET** /earn/staking/coins | 链上赚币币种 |
| 217 | +*EarnApi* | [**find_coin**](docs/EarnApi.md#find_coin) | **GET** /earn/staking/coins | Staking Coins |
219 | 218 | *EarnApi* | [**swap_staking_coin**](docs/EarnApi.md#swap_staking_coin) | **POST** /earn/staking/swap | On-chain Token Swap for Earned Coins |
220 | 219 | *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 |
221 | 220 | *FlashSwapApi* | [**list_flash_swap_orders**](docs/FlashSwapApi.md#list_flash_swap_orders) | **GET** /flash_swap/orders | List all flash swap orders |
@@ -265,6 +264,7 @@ Class | Method | HTTP request | Description |
265 | 264 | *FuturesApi* | [**get_futures_fee**](docs/FuturesApi.md#get_futures_fee) | **GET** /futures/{settle}/fee | Query user trading fee rates |
266 | 265 | *FuturesApi* | [**cancel_batch_future_orders**](docs/FuturesApi.md#cancel_batch_future_orders) | **POST** /futures/{settle}/batch_cancel_orders | Cancel a batch of orders with an ID list |
267 | 266 | *FuturesApi* | [**amend_batch_future_orders**](docs/FuturesApi.md#amend_batch_future_orders) | **POST** /futures/{settle}/batch_amend_orders | Batch modify orders with specified IDs |
| 267 | +*FuturesApi* | [**get_futures_risk_limit_table**](docs/FuturesApi.md#get_futures_risk_limit_table) | **GET** /futures/{settle}/risk_limit_table | Query risk limit table by table_id |
268 | 268 | *FuturesApi* | [**list_price_triggered_orders**](docs/FuturesApi.md#list_price_triggered_orders) | **GET** /futures/{settle}/price_orders | List All Price-triggered Orders |
269 | 269 | *FuturesApi* | [**create_price_triggered_order**](docs/FuturesApi.md#create_price_triggered_order) | **POST** /futures/{settle}/price_orders | Create a price-triggered order |
270 | 270 | *FuturesApi* | [**cancel_price_triggered_order_list**](docs/FuturesApi.md#cancel_price_triggered_order_list) | **DELETE** /futures/{settle}/price_orders | Cancel All Price-triggered Orders |
@@ -481,6 +481,7 @@ Class | Method | HTTP request | Description |
481 | 481 | - [FuturesPremiumIndex](docs/FuturesPremiumIndex.md) |
482 | 482 | - [FuturesPriceTrigger](docs/FuturesPriceTrigger.md) |
483 | 483 | - [FuturesPriceTriggeredOrder](docs/FuturesPriceTriggeredOrder.md) |
| 484 | + - [FuturesRiskLimitTier](docs/FuturesRiskLimitTier.md) |
484 | 485 | - [FuturesTicker](docs/FuturesTicker.md) |
485 | 486 | - [FuturesTrade](docs/FuturesTrade.md) |
486 | 487 | - [IndexConstituent](docs/IndexConstituent.md) |
@@ -589,6 +590,7 @@ Class | Method | HTTP request | Description |
589 | 590 | - [SubCrossMarginAccount](docs/SubCrossMarginAccount.md) |
590 | 591 | - [SubUserMode](docs/SubUserMode.md) |
591 | 592 | - [SwapCoin](docs/SwapCoin.md) |
| 593 | + - [SwapCoinStruct](docs/SwapCoinStruct.md) |
592 | 594 | - [SystemTime](docs/SystemTime.md) |
593 | 595 | - [Ticker](docs/Ticker.md) |
594 | 596 | - [TotalBalance](docs/TotalBalance.md) |
@@ -652,7 +654,7 @@ Class | Method | HTTP request | Description |
652 | 654 | Authentication with APIv4 key and secret |
653 | 655 |
|
654 | 656 | For details, refer to: |
655 | | -[APIv4 signed request requirements](https://www.gate.io/docs/apiv4/en/index.html#apiv4-signed-request-requirements) |
| 657 | +[APIv4 signed request requirements](https://www.gate.com/docs/apiv4/en/index.html#apiv4-signed-request-requirements) |
656 | 658 |
|
657 | 659 |
|
658 | 660 | ## Author |
|
0 commit comments