Skip to content

Commit 7578f60

Browse files
author
gateio
committed
update to v6.102.6
1 parent a601a30 commit 7578f60

541 files changed

Lines changed: 8512 additions & 8367 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: 281 additions & 281 deletions
Large diffs are not rendered by default.

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 = '6.102.1'
6+
version = '6.102.6'
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 := "6.102.1",
5+
version := "6.102.6",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/AccountApi.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ All URIs are relative to *https://api.gateio.ws/api/v4*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**getAccountDetail**](AccountApi.md#getAccountDetail) | **GET** /account/detail | Get account detail
8-
[**getAccountRateLimit**](AccountApi.md#getAccountRateLimit) | **GET** /account/rate_limit | Get user transaction rate limit information
9-
[**listSTPGroups**](AccountApi.md#listSTPGroups) | **GET** /account/stp_groups | List STP Groups
10-
[**createSTPGroup**](AccountApi.md#createSTPGroup) | **POST** /account/stp_groups | Create STP Group
11-
[**listSTPGroupsUsers**](AccountApi.md#listSTPGroupsUsers) | **GET** /account/stp_groups/{stp_id}/users | List users of the STP group
12-
[**addSTPGroupUsers**](AccountApi.md#addSTPGroupUsers) | **POST** /account/stp_groups/{stp_id}/users | Add users to the STP group
13-
[**deleteSTPGroupUsers**](AccountApi.md#deleteSTPGroupUsers) | **DELETE** /account/stp_groups/{stp_id}/users | Delete the user in the STP group
7+
[**getAccountDetail**](AccountApi.md#getAccountDetail) | **GET** /account/detail | Get account detail.
8+
[**getAccountRateLimit**](AccountApi.md#getAccountRateLimit) | **GET** /account/rate_limit | Get user transaction rate limit information.
9+
[**listSTPGroups**](AccountApi.md#listSTPGroups) | **GET** /account/stp_groups | List STP Groups.
10+
[**createSTPGroup**](AccountApi.md#createSTPGroup) | **POST** /account/stp_groups | Create STP Group.
11+
[**listSTPGroupsUsers**](AccountApi.md#listSTPGroupsUsers) | **GET** /account/stp_groups/{stp_id}/users | List users of the STP group.
12+
[**addSTPGroupUsers**](AccountApi.md#addSTPGroupUsers) | **POST** /account/stp_groups/{stp_id}/users | Add users to the STP group.
13+
[**deleteSTPGroupUsers**](AccountApi.md#deleteSTPGroupUsers) | **DELETE** /account/stp_groups/{stp_id}/users | Delete the user in the STP group.
1414
[**getDebitFee**](AccountApi.md#getDebitFee) | **GET** /account/debit_fee | Query GT deduction configuration.
1515
[**setDebitFee**](AccountApi.md#setDebitFee) | **POST** /account/debit_fee | Set GT deduction.
1616

@@ -19,7 +19,7 @@ Method | HTTP request | Description
1919
# **getAccountDetail**
2020
> AccountDetail getAccountDetail()
2121
22-
Get account detail
22+
Get account detail.
2323

2424
### Example
2525

@@ -77,13 +77,13 @@ This endpoint does not need any parameter.
7777
### HTTP response details
7878
| Status code | Description | Response headers |
7979
|-------------|-------------|------------------|
80-
**200** | Successful | - |
80+
**200** | Successful. | - |
8181

8282
<a name="getAccountRateLimit"></a>
8383
# **getAccountRateLimit**
8484
> List&lt;AccountRateLimit&gt; getAccountRateLimit()
8585
86-
Get user transaction rate limit information
86+
Get user transaction rate limit information.
8787

8888
### Example
8989

@@ -141,15 +141,15 @@ This endpoint does not need any parameter.
141141
### HTTP response details
142142
| Status code | Description | Response headers |
143143
|-------------|-------------|------------------|
144-
**200** | Successful | - |
144+
**200** | Successful. | - |
145145

146146
<a name="listSTPGroups"></a>
147147
# **listSTPGroups**
148148
> List&lt;StpGroup&gt; listSTPGroups().name(name).execute();
149149
150-
List STP Groups
150+
List STP Groups.
151151

152-
Retrieve the list of STP groups created by the main account user only
152+
Retrieve the list of STP groups created by the main account user only.
153153

154154
### Example
155155

@@ -172,7 +172,7 @@ public class Example {
172172
defaultClient.setApiKeySecret("YOUR_API_KEY", "YOUR_API_SECRET");
173173

174174
AccountApi apiInstance = new AccountApi(defaultClient);
175-
String name = "group"; // String | Perform a fuzzy search based on the name
175+
String name = "group"; // String | Perform a fuzzy search based on the name.
176176
try {
177177
List<StpGroup> result = apiInstance.listSTPGroups()
178178
.name(name)
@@ -195,7 +195,7 @@ public class Example {
195195

196196
Name | Type | Description | Notes
197197
------------- | ------------- | ------------- | -------------
198-
**name** | **String**| Perform a fuzzy search based on the name | [optional]
198+
**name** | **String**| Perform a fuzzy search based on the name. | [optional]
199199

200200
### Return type
201201

@@ -213,15 +213,15 @@ Name | Type | Description | Notes
213213
### HTTP response details
214214
| Status code | Description | Response headers |
215215
|-------------|-------------|------------------|
216-
**200** | List retrieved | - |
216+
**200** | List retrieved. | - |
217217

218218
<a name="createSTPGroup"></a>
219219
# **createSTPGroup**
220220
> StpGroup createSTPGroup(stpGroup)
221221
222-
Create STP Group
222+
Create STP Group.
223223

224-
Only the main account is allowed to create a new STP user group
224+
Only the main account is allowed to create a new STP user group.
225225

226226
### Example
227227

@@ -289,9 +289,9 @@ Name | Type | Description | Notes
289289
# **listSTPGroupsUsers**
290290
> List&lt;StpGroupUser&gt; listSTPGroupsUsers(stpId)
291291
292-
List users of the STP group
292+
List users of the STP group.
293293

294-
Only the main account that created this STP group can query the account
294+
Only the main account that created this STP group can query the account.
295295

296296
### Example
297297

@@ -314,7 +314,7 @@ public class Example {
314314
defaultClient.setApiKeySecret("YOUR_API_KEY", "YOUR_API_SECRET");
315315

316316
AccountApi apiInstance = new AccountApi(defaultClient);
317-
Long stpId = 1L; // Long | STP Group ID
317+
Long stpId = 1L; // Long | STP Group ID.
318318
try {
319319
List<StpGroupUser> result = apiInstance.listSTPGroupsUsers(stpId);
320320
System.out.println(result);
@@ -335,7 +335,7 @@ public class Example {
335335

336336
Name | Type | Description | Notes
337337
------------- | ------------- | ------------- | -------------
338-
**stpId** | **Long**| STP Group ID |
338+
**stpId** | **Long**| STP Group ID. |
339339

340340
### Return type
341341

@@ -353,15 +353,15 @@ Name | Type | Description | Notes
353353
### HTTP response details
354354
| Status code | Description | Response headers |
355355
|-------------|-------------|------------------|
356-
**200** | List retrieved | - |
356+
**200** | List retrieved. | - |
357357

358358
<a name="addSTPGroupUsers"></a>
359359
# **addSTPGroupUsers**
360360
> List&lt;StpGroupUser&gt; addSTPGroupUsers(stpId, requestBody)
361361
362-
Add users to the STP group
362+
Add users to the STP group.
363363

364-
- Only the master account that created the STP user group is allowed to add users to the STP user group.- Only accounts under the main account are allowed to be added. Cross-account is not permitted
364+
- Only the master account that created the STP user group is allowed to add users group.- Only accounts under the main account are allowed to be added. Cross-account is not permitted
365365

366366
### Example
367367

@@ -384,8 +384,8 @@ public class Example {
384384
defaultClient.setApiKeySecret("YOUR_API_KEY", "YOUR_API_SECRET");
385385

386386
AccountApi apiInstance = new AccountApi(defaultClient);
387-
Long stpId = 1L; // Long | STP Group ID
388-
List<Long> requestBody = Arrays.asList(); // List<Long> | User ID
387+
Long stpId = 1L; // Long | STP Group ID.
388+
List<Long> requestBody = Arrays.asList(); // List<Long> | User ID.
389389
try {
390390
List<StpGroupUser> result = apiInstance.addSTPGroupUsers(stpId, requestBody);
391391
System.out.println(result);
@@ -406,8 +406,8 @@ public class Example {
406406

407407
Name | Type | Description | Notes
408408
------------- | ------------- | ------------- | -------------
409-
**stpId** | **Long**| STP Group ID |
410-
**requestBody** | [**List&lt;Long&gt;**](Long.md)| User ID |
409+
**stpId** | **Long**| STP Group ID. |
410+
**requestBody** | [**List&lt;Long&gt;**](Long.md)| User ID. |
411411

412412
### Return type
413413

@@ -431,7 +431,7 @@ Name | Type | Description | Notes
431431
# **deleteSTPGroupUsers**
432432
> List&lt;StpGroupUser&gt; deleteSTPGroupUsers(stpId, userId)
433433
434-
Delete the user in the STP group
434+
Delete the user in the STP group.
435435

436436
- Only the main account that created this STP group is allowed to delete users from the STP user group - Deletion is limited to accounts under the current main account; cross-account deletion is not permitted
437437

@@ -456,8 +456,8 @@ public class Example {
456456
defaultClient.setApiKeySecret("YOUR_API_KEY", "YOUR_API_SECRET");
457457

458458
AccountApi apiInstance = new AccountApi(defaultClient);
459-
Long stpId = 1L; // Long | STP Group ID
460-
Long userId = 1L; // Long | STP user ID, multiple can be separated by commas
459+
Long stpId = 1L; // Long | STP Group ID.
460+
Long userId = 1L; // Long | STP user ID, multiple can be separated by commas.
461461
try {
462462
List<StpGroupUser> result = apiInstance.deleteSTPGroupUsers(stpId, userId);
463463
System.out.println(result);
@@ -478,8 +478,8 @@ public class Example {
478478

479479
Name | Type | Description | Notes
480480
------------- | ------------- | ------------- | -------------
481-
**stpId** | **Long**| STP Group ID |
482-
**userId** | **Long**| STP user ID, multiple can be separated by commas |
481+
**stpId** | **Long**| STP Group ID. |
482+
**userId** | **Long**| STP user ID, multiple can be separated by commas. |
483483

484484
### Return type
485485

@@ -497,7 +497,7 @@ Name | Type | Description | Notes
497497
### HTTP response details
498498
| Status code | Description | Response headers |
499499
|-------------|-------------|------------------|
500-
**200** | Success | - |
500+
**200** | Success. | - |
501501

502502
<a name="getDebitFee"></a>
503503
# **getDebitFee**
@@ -563,7 +563,7 @@ This endpoint does not need any parameter.
563563
### HTTP response details
564564
| Status code | Description | Response headers |
565565
|-------------|-------------|------------------|
566-
**200** | Success | - |
566+
**200** | Success. | - |
567567

568568
<a name="setDebitFee"></a>
569569
# **setDebitFee**
@@ -632,5 +632,5 @@ null (empty response body)
632632
### HTTP response details
633633
| Status code | Description | Response headers |
634634
|-------------|-------------|------------------|
635-
**200** | Success | - |
635+
**200** | Success. | - |
636636

docs/AccountBalance.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11

22
# AccountBalance
33

4-
Total balances calculated with specified currency unit
4+
Total balances calculated with specified currency unit.
55

66
## Properties
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10-
**amount** | **String** | Account total balance amount | [optional]
11-
**currency** | [**CurrencyEnum**](#CurrencyEnum) | Currency | [optional]
10+
**amount** | **String** | Account total balance amount. | [optional]
11+
**currency** | [**CurrencyEnum**](#CurrencyEnum) | Currency. | [optional]
1212
**unrealisedPnl** | **String** | Unrealised_pnl, this field will only appear in futures, options, delivery, and total accounts | [optional]
13-
**borrowed** | **String** | Borrowed,this field will only appear in margin and cross_margin accounts | [optional]
13+
**borrowed** | **String** | Borrowed,this field will only appear in margin and cross_margin accounts. | [optional]
1414

1515
## Enum: CurrencyEnum
1616

docs/AccountDetail.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11

22
# AccountDetail
33

4-
Account detail
4+
Account detail.
55

66
## Properties
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10-
**ipWhitelist** | **List&lt;String&gt;** | IP whitelist | [optional]
11-
**currencyPairs** | **List&lt;String&gt;** | CurrencyPair whitelisting | [optional]
12-
**userId** | **Long** | User ID | [optional]
13-
**tier** | **Long** | User VIP level | [optional]
10+
**ipWhitelist** | **List&lt;String&gt;** | IP whitelist. | [optional]
11+
**currencyPairs** | **List&lt;String&gt;** | CurrencyPair whitelisting. | [optional]
12+
**userId** | **Long** | User ID. | [optional]
13+
**tier** | **Long** | User VIP level. | [optional]
1414
**key** | [**AccountDetailKey**](AccountDetailKey.md) | | [optional]
15-
**copyTradingRole** | **Integer** | User role: 0 - Normal user 1 - Copy trading leader 2 - Copy trading follower 3 - Both leader and follower | [optional]
15+
**copyTradingRole** | **Integer** | User role: 0 - Normal user, 1 - Copy trading leader, follower, 3 - Both leader and follower | [optional]
1616

docs/AccountDetailKey.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
# AccountDetailKey
33

4-
API Key detail
4+
API Key detail.
55

66
## Properties
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10-
**mode** | **Integer** | mode: 1 - classic account 2 - portfolio margin account | [optional]
10+
**mode** | **Integer** | mode: 1 - classic account 2 - portfolio margin account. | [optional]
1111

docs/AccountRateLimit.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**tier** | **String** | Frequency limit level (For detailed frequency limit rules, see [Transaction ratio frequency limit](#rate-limit-based-on-fill-ratio)) | [optional]
9-
**ratio** | **String** | Transaction rate | [optional]
10-
**mainRatio** | **String** | Total transaction ratio of main account | [optional]
11-
**updatedAt** | **String** | Update time | [optional]
9+
**ratio** | **String** | Transaction rate. | [optional]
10+
**mainRatio** | **String** | Total transaction ratio of main account. | [optional]
11+
**updatedAt** | **String** | Update time. | [optional]
1212

docs/AgencyCommission.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**commissionTime** | **Long** | Commission Time. (unix timestamp) | [optional]
9-
**userId** | **Long** | User ID | [optional]
10-
**groupName** | **String** | Group name | [optional]
11-
**commissionAmount** | **String** | Commission Amount | [optional]
12-
**commissionAsset** | **String** | Commission Asset | [optional]
13-
**source** | **String** | Source. SPOT - SPOT Rebate, FUTURES - Futures Rebate | [optional]
8+
**commissionTime** | **Long** | Commission Time. (unix timestamp). | [optional]
9+
**userId** | **Long** | User ID. | [optional]
10+
**groupName** | **String** | Group name. | [optional]
11+
**commissionAmount** | **String** | Commission Amount. | [optional]
12+
**commissionAsset** | **String** | Commission Asset. | [optional]
13+
**source** | **String** | Source. SPOT - SPOT Rebate, FUTURES - Futures Rebate. | [optional]
1414

docs/AgencyCommissionHistory.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**currencyPair** | **String** | Currency pair | [optional]
9-
**total** | **Long** | Total | [optional]
10-
**list** | [**List&lt;AgencyCommission&gt;**](AgencyCommission.md) | List of comission history | [optional]
8+
**currencyPair** | **String** | Currency pair. | [optional]
9+
**total** | **Long** | Total. | [optional]
10+
**list** | [**List&lt;AgencyCommission&gt;**](AgencyCommission.md) | List of comission history. | [optional]
1111

0 commit comments

Comments
 (0)