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
+24-27Lines changed: 24 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
-
# gate-client
1
+
# gate-api
2
2
3
3
Gate API v4
4
-
- API version: 1.0.0
4
+
- API version: 1.1.0
5
5
6
6
APIv4 futures provides all sorts of 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.
7
7
@@ -39,8 +39,8 @@ Add this dependency to your project's POM:
39
39
```xml
40
40
<dependency>
41
41
<groupId>io.gate</groupId>
42
-
<artifactId>gate-client</artifactId>
43
-
<version>1.0.0</version>
42
+
<artifactId>gate-api</artifactId>
43
+
<version>1.1.0</version>
44
44
<scope>compile</scope>
45
45
</dependency>
46
46
```
@@ -50,7 +50,7 @@ Add this dependency to your project's POM:
50
50
Add this dependency to your project's build file:
51
51
52
52
```groovy
53
-
compile "io.gate:gate-client:1.0.0"
53
+
compile "io.gate:gate-api:1.1.0"
54
54
```
55
55
56
56
### Others
@@ -63,38 +63,33 @@ mvn clean package
63
63
64
64
Then manually install the following JARs:
65
65
66
-
*`target/gate-client-1.0.0.jar`
66
+
*`target/gate-api-1.1.0.jar`
67
67
*`target/lib/*.jar`
68
68
69
69
## Getting Started
70
70
71
71
Please follow the [installation](#installation) instruction and execute the following Java code:
**leverageMax** | **String** | maximum leverage | [optional]
12
-
**markType** | [**MarkTypeEnum**](#MarkTypeEnum) | mark price type, internal - based on internal trading, index - based on external index price | [optional]
13
-
**markPrice** | **String** | latest mark price | [optional]
14
-
**indexPrice** | **String** | latest index price | [optional]
15
-
**maintenanceRate** | **String** | maintenance rate of margin | [optional]
**riskLimitMax** | **String** | maximum risk limit the contract allowed | [optional]
22
-
**orderSizeMin** | **Long** | minimum order size the contract allowed | [optional]
23
-
**orderSizeMax** | **Long** | maximum order size the contract allowed | [optional]
24
-
**orderPriceDeviate** | **String** | deviation between order price and current index price. If price of an order is denoted as `order_price`, it must meet the following condition: abs(order_price - mark_price) <= mark_price * order_price_deviate | [optional]
**leverageMax** | **String** | Maximum leverage | [optional]
12
+
**maintenanceRate** | **String** | Maintenance rate of margin | [optional]
13
+
**markType** | [**MarkTypeEnum**](#MarkTypeEnum) | Mark price type, internal - based on internal trading, index - based on external index price | [optional]
14
+
**markPrice** | **String** | Current mark price | [optional]
15
+
**indexPrice** | **String** | Current index price | [optional]
16
+
**lastPrice** | **String** | Last trading price | [optional]
17
+
**makerFeeRate** | **String** | Maker fee rate, where negative means rebate | [optional]
**riskLimitMax** | **String** | Maximum risk limit the contract allowed | [optional]
27
+
**orderSizeMin** | **Long** | Minimum order size the contract allowed | [optional]
28
+
**orderSizeMax** | **Long** | Maximum order size the contract allowed | [optional]
29
+
**orderPriceDeviate** | **String** | deviation between order price and current index price. If price of an order is denoted as order_price, it must meet the following condition: abs(order_price - mark_price) <= mark_price * order_price_deviate | [optional]
30
+
**orderbookId** | **Long** | Current orderbook ID | [optional]
31
+
**tradeId** | **Long** | Current trade ID | [optional]
0 commit comments