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
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# gate-api
2
2
3
3
Gate API v4
4
-
- API version: 4.6.1
4
+
- API version: 4.7.2
5
5
6
6
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.
7
7
@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
40
40
<dependency>
41
41
<groupId>io.gate</groupId>
42
42
<artifactId>gate-api</artifactId>
43
-
<version>4.6.1</version>
43
+
<version>4.7.2</version>
44
44
<scope>compile</scope>
45
45
</dependency>
46
46
```
@@ -50,7 +50,7 @@ Add this dependency to your project's POM:
Copy file name to clipboardExpand all lines: docs/FuturesInitialOrder.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,8 @@ Name | Type | Description | Notes
10
10
**close** | **Boolean** | Set to true if trying to close the position | [optional]
11
11
**tif** | [**TifEnum**](#TifEnum) | Time in force. If using market price, only `ioc` is supported. - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled | [optional]
12
12
**text** | [**TextEnum**](#TextEnum) | How the order is created. Possible values are: web, api and app | [optional]
13
-
**reduceOnly** | **Boolean** | Set to true to create an post-only order | [optional]
14
-
**isReduceOnly** | **Boolean** | Is the order post-only | [optional]
13
+
**reduceOnly** | **Boolean** | Set to true to create an reduce-only order | [optional]
14
+
**isReduceOnly** | **Boolean** | Is the order reduce-only | [optional]
15
15
**isClose** | **Boolean** | Is the order to close position | [optional]
Copy file name to clipboardExpand all lines: docs/Loan.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
**status** | [**StatusEnum**](#StatusEnum) | Loan status open - not fully loaned loaned - all loaned out for lending loan; loaned in for borrowing side finished - loan is finished, either being all repaid or cancelled by the lender auto_repaid - automatically repaid by the system | [optional]
11
11
**side** | [**SideEnum**](#SideEnum) | Loan side |
12
12
**currency** | **String** | Loan currency |
13
-
**rate** | **String** | Loan rate |
13
+
**rate** | **String** | Loan rate. Only rates in [0.0002, 0.002] are supported. Not required in lending. Market rate calculated from recent rates will be used if not set | [optional]
14
14
**amount** | **String** | Loan amount |
15
15
**days** | **Integer** | Loan days |
16
16
**autoRenew** | **Boolean** | Auto renew the loan on expiration | [optional]
0 commit comments