You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+48-23Lines changed: 48 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
3
3
Gate API
4
4
5
-
- API version: v4.106.18
6
-
- SDK version: 7.2.18
5
+
- API version: v4.106.22
6
+
- SDK version: 7.2.22
7
7
8
8
Welcome to Gate API
9
9
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:
52
52
<dependency>
53
53
<groupId>io.gate</groupId>
54
54
<artifactId>gate-api</artifactId>
55
-
<version>7.2.18</version>
55
+
<version>7.2.22</version>
56
56
<scope>compile</scope>
57
57
</dependency>
58
58
```
@@ -62,7 +62,7 @@ Add this dependency to your project's POM:
62
62
Add this dependency to your project's build file:
63
63
64
64
```groovy
65
-
compile "io.gate:gate-api:7.2.18"
65
+
compile "io.gate:gate-api:7.2.22"
66
66
```
67
67
68
68
### Others
@@ -75,7 +75,7 @@ mvn clean package
75
75
76
76
Then manually install the following JARs:
77
77
78
-
*`target/gate-api-7.2.18.jar`
78
+
*`target/gate-api-7.2.22.jar`
79
79
*`target/lib/*.jar`
80
80
81
81
To install the API client library to your local Maven repository, simply execute:
*FuturesApi* | [**listPositions**](docs/FuturesApi.md#listPositions) | **GET** /futures/{settle}/positions | Get user position list
260
+
*FuturesApi* | [**listPositionsTimerange**](docs/FuturesApi.md#listPositionsTimerange) | **GET** /futures/{settle}/positions_timerange | Get user's historical position information list by time
259
261
*FuturesApi* | [**getPosition**](docs/FuturesApi.md#getPosition) | **GET** /futures/{settle}/positions/{contract} | Get single position information
260
262
*FuturesApi* | [**getLeverage**](docs/FuturesApi.md#getLeverage) | **GET** /futures/{settle}/get_leverage/{contract} | Get Leverage Information for Specified Mode
261
263
*FuturesApi* | [**updatePositionMargin**](docs/FuturesApi.md#updatePositionMargin) | **POST** /futures/{settle}/positions/{contract}/margin | Update position margin
*FuturesApi* | [**getTrailOrders**](docs/FuturesApi.md#getTrailOrders) | **GET** /futures/{settle}/autoorder/v1/trail/list | Get trail order list
298
+
*FuturesApi* | [**getTrailOrderDetail**](docs/FuturesApi.md#getTrailOrderDetail) | **GET** /futures/{settle}/autoorder/v1/trail/detail | Get trail order details
299
+
*FuturesApi* | [**updateTrailOrder**](docs/FuturesApi.md#updateTrailOrder) | **POST** /futures/{settle}/autoorder/v1/trail/update | Update trail order
300
+
*FuturesApi* | [**getTrailOrderChangeLog**](docs/FuturesApi.md#getTrailOrderChangeLog) | **GET** /futures/{settle}/autoorder/v1/trail/change_log | Get trail order user modification records
292
301
*FuturesApi* | [**listPriceTriggeredOrders**](docs/FuturesApi.md#listPriceTriggeredOrders) | **GET** /futures/{settle}/price_orders | Query auto order list
293
302
*FuturesApi* | [**createPriceTriggeredOrder**](docs/FuturesApi.md#createPriceTriggeredOrder) | **POST** /futures/{settle}/price_orders | Create price-triggered order
294
303
*FuturesApi* | [**cancelPriceTriggeredOrderList**](docs/FuturesApi.md#cancelPriceTriggeredOrderList) | **DELETE** /futures/{settle}/price_orders | Cancel all auto orders
**riskLimitMax** | **String** | Maximum risk limit allowed by the contract (deprecated). It is recommended to use /futures/{settle}/risk_limit_tiers to query risk limits | [optional]
30
30
**orderSizeMin** | **String** | Minimum order size allowed by the contract | [optional]
31
+
**enableDecimal** | **Boolean** | Whether decimal string type is supported for contract lot size. When this field is set to `true`, it indicates that the contract supports decimal lot sizes (i.e., the `size` field can use a decimal string type); when set to `false`, it indicates that the contract does not support decimal lot sizes (i.e., the `size` field can only use an integer type). | [optional]
31
32
**orderSizeMax** | **String** | Maximum order size allowed by the contract | [optional]
32
33
**orderPriceDeviate** | **String** | Maximum allowed deviation between order price and current mark price. The order price `order_price` must satisfy the following condition: abs(order_price - mark_price) <= mark_price * order_price_deviate | [optional]
33
34
**refDiscountRate** | **String** | Trading fee discount for referred users | [optional]
**priceOffset** | **String** | Callback ratio or price distance, e.g., `0.1` or `0.1%` | [optional]
14
+
**reduceOnly** | **Boolean** | Whether reduce only | [optional]
15
+
**positionRelated** | **Boolean** | Whether bound to a position (if position_related = true (position-related), then reduce_only must also be true) | [optional]
0 commit comments