Skip to content

Commit 44dcf72

Browse files
author
gate
committed
update to v7.2.167
1 parent 2aa36f8 commit 44dcf72

58 files changed

Lines changed: 4894 additions & 154 deletions

File tree

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: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Gate API
44

5-
- API version: v4.106.164
6-
- SDK version: 7.2.164
5+
- API version: v4.106.167
6+
- SDK version: 7.2.167
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.164</version>
55+
<version>7.2.167</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.164"
65+
compile "io.gate:gate-api:7.2.167"
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.164.jar`
78+
* `target/gate-api-7.2.167.jar`
7979
* `target/lib/*.jar`
8080

8181
To install the API client library to your local Maven repository, simply execute:
@@ -180,6 +180,8 @@ Class | Method | HTTP request | Description
180180
*BotApi* | [**getAIHubPortfolioRunning**](docs/BotApi.md#getAIHubPortfolioRunning) | **GET** /bot/portfolio/running | Query the list of running policies
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
183+
*BotApi* | [**postAIHubSmartPositionCreate**](docs/BotApi.md#postAIHubSmartPositionCreate) | **POST** /bot/smart-position/create | Create rebalance bot
184+
*BotApi* | [**postAIHubFuturesComboCreate**](docs/BotApi.md#postAIHubFuturesComboCreate) | **POST** /bot/futures-combo/create | Create futures-combo bot
183185
*CfdApi* | [**queryMt5AccountInfo**](docs/CfdApi.md#queryMt5AccountInfo) | **GET** /tradfi/users/mt5-account | Query MT5 account information
184186
*CfdApi* | [**queryCategories**](docs/CfdApi.md#queryCategories) | **GET** /tradfi/symbols/categories | Query trading symbol categories
185187
*CfdApi* | [**querySymbolCommissions**](docs/CfdApi.md#querySymbolCommissions) | **GET** /tradfi/symbols/commissions | Query symbol commission rates
@@ -652,10 +654,16 @@ Class | Method | HTTP request | Description
652654

653655
## Documentation for Models
654656

657+
- [AIHubContractMartingaleConfiguration](docs/AIHubContractMartingaleConfiguration.md)
655658
- [AIHubCreateData](docs/AIHubCreateData.md)
656659
- [AIHubCreateSuccessResponse](docs/AIHubCreateSuccessResponse.md)
657660
- [AIHubDiscoverData](docs/AIHubDiscoverData.md)
658661
- [AIHubDiscoverSuccessResponse](docs/AIHubDiscoverSuccessResponse.md)
662+
- [AIHubFuturesComboAsset](docs/AIHubFuturesComboAsset.md)
663+
- [AIHubFuturesComboCreateParams](docs/AIHubFuturesComboCreateParams.md)
664+
- [AIHubFuturesComboCreateRequest](docs/AIHubFuturesComboCreateRequest.md)
665+
- [AIHubMartingalePriceRule](docs/AIHubMartingalePriceRule.md)
666+
- [AIHubPortfolioAssetPosition](docs/AIHubPortfolioAssetPosition.md)
659667
- [AIHubPortfolioBaseInfo](docs/AIHubPortfolioBaseInfo.md)
660668
- [AIHubPortfolioDetailData](docs/AIHubPortfolioDetailData.md)
661669
- [AIHubPortfolioDetailSuccessResponse](docs/AIHubPortfolioDetailSuccessResponse.md)
@@ -667,7 +675,13 @@ Class | Method | HTTP request | Description
667675
- [AIHubPortfolioStopData](docs/AIHubPortfolioStopData.md)
668676
- [AIHubPortfolioStopRequest](docs/AIHubPortfolioStopRequest.md)
669677
- [AIHubPortfolioStopSuccessResponse](docs/AIHubPortfolioStopSuccessResponse.md)
678+
- [AIHubRebalanceAsset](docs/AIHubRebalanceAsset.md)
679+
- [AIHubRebalanceCreateParams](docs/AIHubRebalanceCreateParams.md)
680+
- [AIHubRebalanceCreateRequest](docs/AIHubRebalanceCreateRequest.md)
681+
- [AIHubRebalanceStopOptions](docs/AIHubRebalanceStopOptions.md)
670682
- [AIHubRecommendation](docs/AIHubRecommendation.md)
683+
- [AIHubSpotMartingaleConfiguration](docs/AIHubSpotMartingaleConfiguration.md)
684+
- [AIHubStopProgress](docs/AIHubStopProgress.md)
671685
- [AccountBalance](docs/AccountBalance.md)
672686
- [AccountBookResponse](docs/AccountBookResponse.md)
673687
- [AccountDetail](docs/AccountDetail.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.164'
6+
version = '7.2.167'
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.164",
5+
version := "7.2.167",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
# AIHubContractMartingaleConfiguration
3+
4+
AIHub-supported persisted contract settings. This is not a complete advanced native configuration.
5+
6+
## Properties
7+
8+
Name | Type | Description | Notes
9+
------------ | ------------- | ------------- | -------------
10+
**investAmount** | **String** | | [optional]
11+
**investmentCurrency** | **String** | | [optional]
12+
**priceDeviation** | **String** | | [optional]
13+
**takeProfitRatio** | **String** | | [optional]
14+
**direction** | **String** | | [optional]
15+
**firstOrderSize** | **String** | Exact decimal contract quantity from the product snapshot; empty remains unverified, never inferred from the total budget. | [optional]
16+
**maxOrders** | **Long** | Maximum additional entries excluding the first. | [optional]
17+
**leverage** | **Integer** | | [optional]
18+
**stopLossPriceRule** | [**AIHubMartingalePriceRule**](AIHubMartingalePriceRule.md) | | [optional]
19+

‎docs/AIHubCreateData.md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ Policy information returned after the policy is successfully created.
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10-
**strategyId** | **String** | |
11-
**strategyType** | [**StrategyType**](StrategyType.md) | |
12-
**market** | **String** | |
13-
**status** | **String** | The initial state after successful creation, usually &#x60;running&#x60; |
10+
**strategyId** | **String** | | [optional]
11+
**strategyType** | [**StrategyType**](StrategyType.md) | | [optional]
12+
**market** | **String** | | [optional]
13+
**status** | **String** | Observed product lifecycle state, or unknown. Creation acceptance/starting is not running; stopping/finished alone does not prove funds settled. | [optional]
1414
**jumpUrl** | **String** | | [optional]
15+
**operationStatus** | **String** | pending when the write result requires verification; rejected for a proven pre-effect refusal. | [optional]
16+
**recoveryRequired** | **Boolean** | | [optional]
1517

‎docs/AIHubCreateSuccessResponse.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
1010
**code** | **Integer** | |
1111
**message** | **String** | |
12-
**data** | [**AIHubCreateData**](AIHubCreateData.md) | |
13-
**traceId** | **String** | |
12+
**data** | [**AIHubCreateData**](AIHubCreateData.md) | | [optional]
13+
**traceId** | **String** | | [optional]
14+
**label** | **String** | Stable business error label when present. HTTP 200 can contain a non-200 business code; data may retain a real identity on failure. | [optional]
1415

‎docs/AIHubDiscoverSuccessResponse.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
1010
**code** | **Integer** | |
1111
**message** | **String** | |
12-
**data** | [**AIHubDiscoverData**](AIHubDiscoverData.md) | |
13-
**traceId** | **String** | |
12+
**data** | [**AIHubDiscoverData**](AIHubDiscoverData.md) | | [optional]
13+
**traceId** | **String** | | [optional]
14+
**label** | **String** | Stable business error label when present. HTTP 200 can contain a non-200 business code; data may retain a real identity on failure. | [optional]
1415

‎docs/AIHubFuturesComboAsset.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
# AIHubFuturesComboAsset
3+
4+
One contract member of a futures-combo strategy.
5+
6+
## Properties
7+
8+
Name | Type | Description | Notes
9+
------------ | ------------- | ------------- | -------------
10+
**market** | **String** | |
11+
**side** | [**SideEnum**](#SideEnum) | |
12+
**rate** | **String** | Ratio 0.01–1 in increments of 0.01; all member weights sum to 1. |
13+
14+
## Enum: SideEnum
15+
16+
Name | Value
17+
---- | -----
18+
BUY | &quot;buy&quot;
19+
SELL | &quot;sell&quot;
20+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
2+
# AIHubFuturesComboCreateParams
3+
4+
Creation parameters for a futures-combo strategy.
5+
6+
## Properties
7+
8+
Name | Type | Description | Notes
9+
------------ | ------------- | ------------- | -------------
10+
**beginMoneyAmount** | **String** | |
11+
**beginMoneyCurrency** | [**BeginMoneyCurrencyEnum**](#BeginMoneyCurrencyEnum) | |
12+
**assetInfo** | [**List&lt;AIHubFuturesComboAsset&gt;**](AIHubFuturesComboAsset.md) | |
13+
**leverage** | **Integer** | |
14+
**period** | [**PeriodEnum**](#PeriodEnum) | | [optional]
15+
**threshold** | **String** | Ratio 0.01–0.50; exclusive with period. | [optional]
16+
**stopProfit** | **String** | | [optional]
17+
**stopLoss** | **String** | | [optional]
18+
19+
## Enum: BeginMoneyCurrencyEnum
20+
21+
Name | Value
22+
---- | -----
23+
USDT | &quot;USDT&quot;
24+
25+
## Enum: PeriodEnum
26+
27+
Name | Value
28+
---- | -----
29+
_30M | &quot;30m&quot;
30+
_1H | &quot;1h&quot;
31+
_4H | &quot;4h&quot;
32+
_8H | &quot;8h&quot;
33+
_12H | &quot;12h&quot;
34+
_1D | &quot;1d&quot;
35+
_3D | &quot;3d&quot;
36+
_7D | &quot;7d&quot;
37+
_14D | &quot;14d&quot;
38+
_28D | &quot;28d&quot;
39+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
# AIHubFuturesComboCreateRequest
3+
4+
Request body for creating a futures-combo strategy.
5+
6+
## Properties
7+
8+
Name | Type | Description | Notes
9+
------------ | ------------- | ------------- | -------------
10+
**strategyType** | [**StrategyTypeEnum**](#StrategyTypeEnum) | |
11+
**createParams** | [**AIHubFuturesComboCreateParams**](AIHubFuturesComboCreateParams.md) | |
12+
13+
## Enum: StrategyTypeEnum
14+
15+
Name | Value
16+
---- | -----
17+
FUTURES_COMBO | &quot;futures_combo&quot;
18+

0 commit comments

Comments
 (0)