Skip to content

Commit dc00a57

Browse files
author
gate
committed
update to v7.2.174
1 parent 5d700b8 commit dc00a57

74 files changed

Lines changed: 934 additions & 622 deletions

Some content is hidden

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

‎README.md‎

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Gate API
44

5-
- API version: v4.106.173
6-
- SDK version: 7.2.173
5+
- API version: v4.106.174
6+
- SDK version: 7.2.174
77

88
Welcome to Gate API
99
APIv4 provides operations related to spot, margin, and contract trading, including public interfaces for querying market data and authenticated private interfaces for implementing API-based automated trading.
@@ -52,7 +52,7 @@ Add this dependency to your project's POM:
5252
<dependency>
5353
<groupId>io.gate</groupId>
5454
<artifactId>gate-api</artifactId>
55-
<version>7.2.173</version>
55+
<version>7.2.174</version>
5656
<scope>compile</scope>
5757
</dependency>
5858
```
@@ -62,7 +62,7 @@ Add this dependency to your project's POM:
6262
Add this dependency to your project's build file:
6363

6464
```groovy
65-
compile "io.gate:gate-api:7.2.173"
65+
compile "io.gate:gate-api:7.2.174"
6666
```
6767

6868
### Others
@@ -75,7 +75,7 @@ mvn clean package
7575

7676
Then manually install the following JARs:
7777

78-
* `target/gate-api-7.2.173.jar`
78+
* `target/gate-api-7.2.174.jar`
7979
* `target/lib/*.jar`
8080

8181
To install the API client library to your local Maven repository, simply execute:
@@ -177,7 +177,7 @@ Class | Method | HTTP request | Description
177177
*BotApi* | [**postAIHubFuturesGridCreate**](docs/BotApi.md#postAIHubFuturesGridCreate) | **POST** /bot/futures-grid/create | Create a contract grid
178178
*BotApi* | [**postAIHubSpotMartingaleCreate**](docs/BotApi.md#postAIHubSpotMartingaleCreate) | **POST** /bot/spot-martingale/create | Create Spot Martin
179179
*BotApi* | [**postAIHubContractMartingaleCreate**](docs/BotApi.md#postAIHubContractMartingaleCreate) | **POST** /bot/contract-martingale/create | Create contract martin
180-
*BotApi* | [**getAIHubPortfolioRunning**](docs/BotApi.md#getAIHubPortfolioRunning) | **GET** /bot/portfolio/running | Query the list of running policies
180+
*BotApi* | [**getAIHubPortfolioRunning**](docs/BotApi.md#getAIHubPortfolioRunning) | **GET** /bot/portfolio/running | List running strategies.
181181
*BotApi* | [**getAIHubPortfolioDetail**](docs/BotApi.md#getAIHubPortfolioDetail) | **GET** /bot/portfolio/detail | Query order policy details
182182
*BotApi* | [**postAIHubPortfolioStop**](docs/BotApi.md#postAIHubPortfolioStop) | **POST** /bot/portfolio/stop | Terminate a single running policy
183183
*BotApi* | [**postAIHubSmartPositionCreate**](docs/BotApi.md#postAIHubSmartPositionCreate) | **POST** /bot/smart-position/create | Create rebalance bot
@@ -223,7 +223,7 @@ Class | Method | HTTP request | Description
223223
*CrossExApi* | [**updateCrossexPositionsLeverage**](docs/CrossExApi.md#updateCrossexPositionsLeverage) | **POST** /crossex/positions/leverage | Modify Contract Trading Pair Leverage Multiplier
224224
*CrossExApi* | [**getCrossexMarginPositionsLeverage**](docs/CrossExApi.md#getCrossexMarginPositionsLeverage) | **GET** /crossex/margin_positions/leverage | Query Leveraged Trading Pair Leverage Multiplier
225225
*CrossExApi* | [**updateCrossexMarginPositionsLeverage**](docs/CrossExApi.md#updateCrossexMarginPositionsLeverage) | **POST** /crossex/margin_positions/leverage | Modify Leveraged Trading Pair Leverage Multiplier
226-
*CrossExApi* | [**closeCrossexPosition**](docs/CrossExApi.md#closeCrossexPosition) | **POST** /crossex/position | Full Close Position
226+
*CrossExApi* | [**closeCrossexPosition**](docs/CrossExApi.md#closeCrossexPosition) | **POST** /crossex/position | Close a position in full.
227227
*CrossExApi* | [**getCrossexPositionsMarginMode**](docs/CrossExApi.md#getCrossexPositionsMarginMode) | **GET** /crossex/positions/margin_mode | Get futures position margin mode
228228
*CrossExApi* | [**updateCrossexPositionsMarginMode**](docs/CrossExApi.md#updateCrossexPositionsMarginMode) | **POST** /crossex/positions/margin_mode | Update futures position margin mode
229229
*CrossExApi* | [**updateCrossexPositionsMargin**](docs/CrossExApi.md#updateCrossexPositionsMargin) | **POST** /crossex/positions/margin | Increase or decrease isolated margin
@@ -479,7 +479,7 @@ Class | Method | HTTP request | Description
479479
*OptionsApi* | [**listMyOptionsTrades**](docs/OptionsApi.md#listMyOptionsTrades) | **GET** /options/my_trades | Query personal trading records
480480
*OptionsApi* | [**getOptionsMMP**](docs/OptionsApi.md#getOptionsMMP) | **GET** /options/mmp | MMP Query.
481481
*OptionsApi* | [**setOptionsMMP**](docs/OptionsApi.md#setOptionsMMP) | **POST** /options/mmp | MMP Settings
482-
*OptionsApi* | [**resetOptionsMMP**](docs/OptionsApi.md#resetOptionsMMP) | **POST** /options/mmp/reset | MMP Reset
482+
*OptionsApi* | [**resetOptionsMMP**](docs/OptionsApi.md#resetOptionsMMP) | **POST** /options/mmp/reset | Reset MMP for the specified underlying.
483483
*OtcApi* | [**createOtcQuote**](docs/OtcApi.md#createOtcQuote) | **POST** /otc/quote | Fiat and stablecoin quote
484484
*OtcApi* | [**createOtcOrder**](docs/OtcApi.md#createOtcOrder) | **POST** /otc/order/create | Create fiat order
485485
*OtcApi* | [**createStableCoinOrder**](docs/OtcApi.md#createStableCoinOrder) | **POST** /otc/stable_coin/order/create | Create stablecoin order
@@ -544,7 +544,7 @@ Class | Method | HTTP request | Description
544544
*SpotApi* | [**createCrossLiquidateOrder**](docs/SpotApi.md#createCrossLiquidateOrder) | **POST** /spot/cross_liquidate_orders | Close position when cross-currency is disabled
545545
*SpotApi* | [**listOrders**](docs/SpotApi.md#listOrders) | **GET** /spot/orders | List orders
546546
*SpotApi* | [**createOrder**](docs/SpotApi.md#createOrder) | **POST** /spot/orders | Create order
547-
*SpotApi* | [**cancelOrders**](docs/SpotApi.md#cancelOrders) | **DELETE** /spot/orders | Cancel all &#x60;open&#x60; orders in specified currency pair
547+
*SpotApi* | [**cancelOrders**](docs/SpotApi.md#cancelOrders) | **DELETE** /spot/orders | Cancel &#x60;open&#x60; orders in bulk, optionally filtered by currency pair
548548
*SpotApi* | [**cancelBatchOrders**](docs/SpotApi.md#cancelBatchOrders) | **POST** /spot/cancel_batch_orders | Cancel batch orders by specified ID list
549549
*SpotApi* | [**getOrder**](docs/SpotApi.md#getOrder) | **GET** /spot/orders/{order_id} | Query single order details
550550
*SpotApi* | [**cancelOrder**](docs/SpotApi.md#cancelOrder) | **DELETE** /spot/orders/{order_id} | Cancel single order
@@ -560,7 +560,7 @@ Class | Method | HTTP request | Description
560560
*SpotApi* | [**getSpotPriceTriggeredOrder**](docs/SpotApi.md#getSpotPriceTriggeredOrder) | **GET** /spot/price_orders/{order_id} | Query single auto order details
561561
*SpotApi* | [**cancelSpotPriceTriggeredOrder**](docs/SpotApi.md#cancelSpotPriceTriggeredOrder) | **DELETE** /spot/price_orders/{order_id} | Cancel single auto order
562562
*SpotApi* | [**listSpotPovOrders**](docs/SpotApi.md#listSpotPovOrders) | **GET** /spot/pov_orders | List Spot POV orders
563-
*SpotApi* | [**createSpotPovOrder**](docs/SpotApi.md#createSpotPovOrder) | **POST** /spot/pov_orders | Create a Spot POV order
563+
*SpotApi* | [**createSpotPovOrder**](docs/SpotApi.md#createSpotPovOrder) | **POST** /spot/pov_orders | Create a spot percentage-of-volume (POV) strategy order
564564
*SpotApi* | [**cancelSpotPovOrders**](docs/SpotApi.md#cancelSpotPovOrders) | **DELETE** /spot/pov_orders | Cancel Spot POV orders
565565
*SpotApi* | [**getSpotPovOrder**](docs/SpotApi.md#getSpotPovOrder) | **GET** /spot/pov_orders/{order_id} | Query Spot POV order details
566566
*SpotApi* | [**cancelSpotPovOrder**](docs/SpotApi.md#cancelSpotPovOrder) | **DELETE** /spot/pov_orders/{order_id} | Cancel a Spot POV order
@@ -596,7 +596,7 @@ Class | Method | HTTP request | Description
596596
*UnifiedApi* | [**listUnifiedAccounts**](docs/UnifiedApi.md#listUnifiedAccounts) | **GET** /unified/accounts | Get unified account information
597597
*UnifiedApi* | [**getUnifiedBorrowable**](docs/UnifiedApi.md#getUnifiedBorrowable) | **GET** /unified/borrowable | Query maximum borrowable amount for unified account
598598
*UnifiedApi* | [**getUnifiedTransferable**](docs/UnifiedApi.md#getUnifiedTransferable) | **GET** /unified/transferable | Query maximum transferable amount for unified account
599-
*UnifiedApi* | [**getUnifiedTransferables**](docs/UnifiedApi.md#getUnifiedTransferables) | **GET** /unified/transferables | Batch query maximum transferable amount for unified accounts. Each currency shows the maximum value. After user withdrawal, the transferable amount for all currencies will change
599+
*UnifiedApi* | [**getUnifiedTransferables**](docs/UnifiedApi.md#getUnifiedTransferables) | **GET** /unified/transferables | Get maximum transferable amounts for multiple unified-account currencies
600600
*UnifiedApi* | [**getUnifiedBorrowableList**](docs/UnifiedApi.md#getUnifiedBorrowableList) | **GET** /unified/batch_borrowable | Batch query unified account maximum borrowable amount
601601
*UnifiedApi* | [**listUnifiedLoans**](docs/UnifiedApi.md#listUnifiedLoans) | **GET** /unified/loans | Query loans
602602
*UnifiedApi* | [**createUnifiedLoan**](docs/UnifiedApi.md#createUnifiedLoan) | **POST** /unified/loans | Borrow or repay
@@ -606,7 +606,7 @@ Class | Method | HTTP request | Description
606606
*UnifiedApi* | [**getUnifiedMode**](docs/UnifiedApi.md#getUnifiedMode) | **GET** /unified/unified_mode | Query mode of the unified account
607607
*UnifiedApi* | [**setUnifiedMode**](docs/UnifiedApi.md#setUnifiedMode) | **PUT** /unified/unified_mode | Set unified account mode
608608
*UnifiedApi* | [**getUnifiedEstimateRate**](docs/UnifiedApi.md#getUnifiedEstimateRate) | **GET** /unified/estimate_rate | Query unified account estimated interest rate
609-
*UnifiedApi* | [**listCurrencyDiscountTiers**](docs/UnifiedApi.md#listCurrencyDiscountTiers) | **GET** /unified/currency_discount_tiers | Query unified account tiered
609+
*UnifiedApi* | [**listCurrencyDiscountTiers**](docs/UnifiedApi.md#listCurrencyDiscountTiers) | **GET** /unified/currency_discount_tiers | Get currency margin discount tiers for unified accounts
610610
*UnifiedApi* | [**listLoanMarginTiers**](docs/UnifiedApi.md#listLoanMarginTiers) | **GET** /unified/loan_margin_tiers | Query unified account tiered loan margin
611611
*UnifiedApi* | [**calculatePortfolioMargin**](docs/UnifiedApi.md#calculatePortfolioMargin) | **POST** /unified/portfolio_calculator | Portfolio margin calculator
612612
*UnifiedApi* | [**setUserLeverage**](docs/UnifiedApi.md#setUserLeverage) | **POST** /unified/leverage/user_setting | Set leverage for all of the user&#39;s borrowed currencies
@@ -621,7 +621,7 @@ Class | Method | HTTP request | Description
621621
*UnifiedApi* | [**getUnifiedDeltaNeutral**](docs/UnifiedApi.md#getUnifiedDeltaNeutral) | **GET** /unified/delta_neutral | Query the account Delta-neutral strategy mode setting
622622
*UnifiedApi* | [**setUnifiedDeltaNeutral**](docs/UnifiedApi.md#setUnifiedDeltaNeutral) | **POST** /unified/delta_neutral | Set the account Delta-neutral strategy mode
623623
*WalletApi* | [**listCurrencyChains**](docs/WalletApi.md#listCurrencyChains) | **GET** /wallet/currency_chains | Query chains supported for specified currency
624-
*WalletApi* | [**getDepositAddress**](docs/WalletApi.md#getDepositAddress) | **GET** /wallet/deposit_address | Generate currency deposit address
624+
*WalletApi* | [**getDepositAddress**](docs/WalletApi.md#getDepositAddress) | **GET** /wallet/deposit_address | Get a currency deposit address
625625
*WalletApi* | [**listWithdrawals**](docs/WalletApi.md#listWithdrawals) | **GET** /wallet/withdrawals | Get withdrawal records
626626
*WalletApi* | [**listDeposits**](docs/WalletApi.md#listDeposits) | **GET** /wallet/deposits | Get deposit records
627627
*WalletApi* | [**getTransfer**](docs/WalletApi.md#getTransfer) | **GET** /wallet/transfers | Get trading account transfer
@@ -630,7 +630,7 @@ Class | Method | HTTP request | Description
630630
*WalletApi* | [**transferWithSubAccount**](docs/WalletApi.md#transferWithSubAccount) | **POST** /wallet/sub_account_transfers | Transfer between main and sub accounts
631631
*WalletApi* | [**subAccountToSubAccount**](docs/WalletApi.md#subAccountToSubAccount) | **POST** /wallet/sub_account_to_sub_account | Transfer between sub-accounts
632632
*WalletApi* | [**getTransferOrderStatus**](docs/WalletApi.md#getTransferOrderStatus) | **GET** /wallet/order_status | Main-Sub Account Transfer Status Query
633-
*WalletApi* | [**listWithdrawStatus**](docs/WalletApi.md#listWithdrawStatus) | **GET** /wallet/withdraw_status | Query withdrawal status
633+
*WalletApi* | [**listWithdrawStatus**](docs/WalletApi.md#listWithdrawStatus) | **GET** /wallet/withdraw_status | Get currency withdrawal fees and limits, optionally filtered by currency.
634634
*WalletApi* | [**listSubAccountBalances**](docs/WalletApi.md#listSubAccountBalances) | **GET** /wallet/sub_account_balances | Query sub-account balance information
635635
*WalletApi* | [**listSubAccountMarginBalances**](docs/WalletApi.md#listSubAccountMarginBalances) | **GET** /wallet/sub_account_margin_balances | Query sub-account isolated margin account balance information
636636
*WalletApi* | [**listSubAccountFuturesBalances**](docs/WalletApi.md#listSubAccountFuturesBalances) | **GET** /wallet/sub_account_futures_balances | Query sub-account perpetual futures account balance information
@@ -640,7 +640,7 @@ Class | Method | HTTP request | Description
640640
*WalletApi* | [**getTotalBalance**](docs/WalletApi.md#getTotalBalance) | **GET** /wallet/total_balance | Query personal account totals
641641
*WalletApi* | [**listSmallBalance**](docs/WalletApi.md#listSmallBalance) | **GET** /wallet/small_balance | Get list of convertible small balance currencies
642642
*WalletApi* | [**convertSmallBalance**](docs/WalletApi.md#convertSmallBalance) | **POST** /wallet/small_balance | Convert small balance currency
643-
*WalletApi* | [**listSmallBalanceHistory**](docs/WalletApi.md#listSmallBalanceHistory) | **GET** /wallet/small_balance_history | Get convertible small balance currency history
643+
*WalletApi* | [**listSmallBalanceHistory**](docs/WalletApi.md#listSmallBalanceHistory) | **GET** /wallet/small_balance_history | Get small-balance conversion history
644644
*WalletApi* | [**listPushOrders**](docs/WalletApi.md#listPushOrders) | **GET** /wallet/push | Get UID transfer history
645645
*WalletApi* | [**getLowCapExchangeList**](docs/WalletApi.md#getLowCapExchangeList) | **GET** /wallet/getLowCapExchangeList | Retrieve the list of low-liquidity or low-cap tokens
646646
*WelfareApi* | [**getUserIdentity**](docs/WelfareApi.md#getUserIdentity) | **GET** /rewards/getUserIdentity | Get user identity
@@ -980,6 +980,7 @@ Class | Method | HTTP request | Description
980980
- [FuturesPremiumIndex](docs/FuturesPremiumIndex.md)
981981
- [FuturesPriceTrigger](docs/FuturesPriceTrigger.md)
982982
- [FuturesPriceTriggeredOrder](docs/FuturesPriceTriggeredOrder.md)
983+
- [FuturesPriceTriggeredOrderError](docs/FuturesPriceTriggeredOrderError.md)
983984
- [FuturesRiskLimitTier](docs/FuturesRiskLimitTier.md)
984985
- [FuturesTicker](docs/FuturesTicker.md)
985986
- [FuturesTrade](docs/FuturesTrade.md)
@@ -1356,6 +1357,7 @@ Class | Method | HTTP request | Description
13561357
- [TrailOrderChangeLogResponse](docs/TrailOrderChangeLogResponse.md)
13571358
- [TrailOrderDetailResponse](docs/TrailOrderDetailResponse.md)
13581359
- [TrailOrderListResponse](docs/TrailOrderListResponse.md)
1360+
- [TrailOrderListResponseEnvelope](docs/TrailOrderListResponseEnvelope.md)
13591361
- [TrailOrderResponse](docs/TrailOrderResponse.md)
13601362
- [TransactionConfig](docs/TransactionConfig.md)
13611363
- [TransactionID](docs/TransactionID.md)

‎build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
33
apply plugin: 'java'
44

55
group = 'io.gate'
6-
version = '7.2.173'
6+
version = '7.2.174'
77

88
buildscript {
99
repositories {

‎build.sbt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "io.gate",
44
name := "gate-api",
5-
version := "7.2.173",
5+
version := "7.2.174",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

‎docs/AutoInvestPlanUpdate.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# AutoInvestPlanUpdate
33

4-
Update auto invest plan request
4+
Request to update an auto-invest plan. The current model contains plan_id, fund_source, and fund_flow.
55

66
## Properties
77

‎docs/BotApi.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Method | HTTP request | Description
1111
[**postAIHubFuturesGridCreate**](BotApi.md#postAIHubFuturesGridCreate) | **POST** /bot/futures-grid/create | Create a contract grid
1212
[**postAIHubSpotMartingaleCreate**](BotApi.md#postAIHubSpotMartingaleCreate) | **POST** /bot/spot-martingale/create | Create Spot Martin
1313
[**postAIHubContractMartingaleCreate**](BotApi.md#postAIHubContractMartingaleCreate) | **POST** /bot/contract-martingale/create | Create contract martin
14-
[**getAIHubPortfolioRunning**](BotApi.md#getAIHubPortfolioRunning) | **GET** /bot/portfolio/running | Query the list of running policies
14+
[**getAIHubPortfolioRunning**](BotApi.md#getAIHubPortfolioRunning) | **GET** /bot/portfolio/running | List running strategies.
1515
[**getAIHubPortfolioDetail**](BotApi.md#getAIHubPortfolioDetail) | **GET** /bot/portfolio/detail | Query order policy details
1616
[**postAIHubPortfolioStop**](BotApi.md#postAIHubPortfolioStop) | **POST** /bot/portfolio/stop | Terminate a single running policy
1717
[**postAIHubSmartPositionCreate**](BotApi.md#postAIHubSmartPositionCreate) | **POST** /bot/smart-position/create | Create rebalance bot
@@ -601,7 +601,7 @@ Name | Type | Description | Notes
601601
# **getAIHubPortfolioRunning**
602602
> AIHubPortfolioRunningSuccessResponse getAIHubPortfolioRunning().strategyType(strategyType).market(market).page(page).pageSize(pageSize).xGateServiceId(xGateServiceId).xGateAppLang(xGateAppLang).xRequestId(xRequestId).xTraceId(xTraceId).execute();
603603
604-
Query the list of running policies
604+
List running strategies.
605605

606606
Query the list of AIHub strategies currently running by the user, and support filtering by strategy type, trading pair and paging conditions.
607607

0 commit comments

Comments
 (0)