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
[**set_debit_fee**](AccountApi.md#set_debit_fee) | **POST** /account/debit_fee | Set GT deduction.
7
+
[**get_account_detail**](AccountApi.md#get_account_detail) | **GET** /account/detail | Retrieve user account information
8
+
[**get_account_rate_limit**](AccountApi.md#get_account_rate_limit) | **GET** /account/rate_limit | Get user transaction rate limit information
9
+
[**list_stp_groups**](AccountApi.md#list_stp_groups) | **GET** /account/stp_groups | Query STP user groups created by the user
10
+
[**create_stp_group**](AccountApi.md#create_stp_group) | **POST** /account/stp_groups | Create STP user group
11
+
[**list_stp_groups_users**](AccountApi.md#list_stp_groups_users) | **GET** /account/stp_groups/{stp_id}/users | Query users in the STP user group
12
+
[**add_stp_group_users**](AccountApi.md#add_stp_group_users) | **POST** /account/stp_groups/{stp_id}/users | Add users to the STP user group
13
+
[**delete_stp_group_users**](AccountApi.md#delete_stp_group_users) | **DELETE** /account/stp_groups/{stp_id}/users | Delete users from the STP user group
@@ -74,14 +74,14 @@ This endpoint does not need any parameter.
74
74
### HTTP response details
75
75
| Status code | Description | Response headers |
76
76
|-------------|-------------|------------------|
77
-
**200** | Successful. | - |
77
+
**200** | Successfully retrieved | - |
78
78
79
79
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
@@ -137,16 +137,16 @@ This endpoint does not need any parameter.
137
137
### HTTP response details
138
138
| Status code | Description | Response headers |
139
139
|-------------|-------------|------------------|
140
-
**200** | Successful. | - |
140
+
**200** | Successfully retrieved | - |
141
141
142
142
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
143
143
144
144
# **list_stp_groups**
145
145
> list[StpGroup] list_stp_groups(name=name)
146
146
147
-
List STP Groups.
147
+
Query STP user groups created by the user
148
148
149
-
Retrieve the list of STP groups created by the main account user only.
149
+
Only query STP user groups created by the current main account
**name** | **str**| Perform a fuzzy search based on the name. | [optional]
191
+
**name** | **str**| Fuzzy search by name | [optional]
192
192
193
193
### Return type
194
194
@@ -206,16 +206,16 @@ Name | Type | Description | Notes
206
206
### HTTP response details
207
207
| Status code | Description | Response headers |
208
208
|-------------|-------------|------------------|
209
-
**200** | List retrieved. | - |
209
+
**200** | List retrieved successfully | - |
210
210
211
211
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
212
212
213
213
# **create_stp_group**
214
214
> StpGroup create_stp_group(stp_group)
215
215
216
-
Create STP Group.
216
+
Create STP user group
217
217
218
-
Only the main account is allowed to create a new STP user group.
218
+
Only the main account is allowed to create a new STP user group
@@ -275,16 +275,16 @@ Name | Type | Description | Notes
275
275
### HTTP response details
276
276
| Status code | Description | Response headers |
277
277
|-------------|-------------|------------------|
278
-
**200** | User added successfully. Returning the current users within the STP group. | - |
278
+
**200** | User added successfully, returning current users in the STP group | - |
279
279
280
280
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
@@ -344,16 +344,16 @@ Name | Type | Description | Notes
344
344
### HTTP response details
345
345
| Status code | Description | Response headers |
346
346
|-------------|-------------|------------------|
347
-
**200** | List retrieved. | - |
347
+
**200** | List retrieved successfully | - |
348
348
349
349
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
- 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
356
+
- Only the main account that created this STP group can add users to the STP user group- Only accounts under the current main account are allowed, cross-main account is not permitted
**request_body** | [**list[int]**](int.md)| User ID. |
399
+
**stp_id** | **int**| STP Group ID |
400
+
**request_body** | [**list[int]**](int.md)| User ID |
401
401
402
402
### Return type
403
403
@@ -415,14 +415,14 @@ Name | Type | Description | Notes
415
415
### HTTP response details
416
416
| Status code | Description | Response headers |
417
417
|-------------|-------------|------------------|
418
-
**200** | User added successfully. Returning the current users within the STP group. | - |
418
+
**200** | User added successfully, returning current users in the STP group | - |
419
419
420
420
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
- 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
**user_id** | **int**| STP user ID, multiple can be separated by commas. |
470
+
**stp_id** | **int**| STP Group ID |
471
+
**user_id** | **int**| STP user IDs, multiple IDs can be separated by commas |
472
472
473
473
### Return type
474
474
@@ -486,16 +486,16 @@ Name | Type | Description | Notes
486
486
### HTTP response details
487
487
| Status code | Description | Response headers |
488
488
|-------------|-------------|------------------|
489
-
**200** | Success. | - |
489
+
**200** | Users deleted successfully, returns current users in the STP group | - |
490
490
491
491
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
492
492
493
493
# **get_debit_fee**
494
494
> DebitFee get_debit_fee()
495
495
496
-
Query GT deduction configuration.
496
+
Query GT fee deduction configuration
497
497
498
-
Query the current GT deduction configuration for the account.
498
+
Query the GT fee deduction configuration for the current account
@@ -551,16 +551,16 @@ This endpoint does not need any parameter.
551
551
### HTTP response details
552
552
| Status code | Description | Response headers |
553
553
|-------------|-------------|------------------|
554
-
**200** | Success. | - |
554
+
**200** | Success | - |
555
555
556
556
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
557
557
558
558
# **set_debit_fee**
559
559
> set_debit_fee(debit_fee)
560
560
561
-
Set GT deduction.
561
+
Configure GT fee deduction
562
562
563
-
Enable or disable GT deduction for the current account.
563
+
Enable or disable GT fee deduction for the current account
print("Gate api exception, label: %s, message: %s\n"% (ex.label, ex.message))
@@ -619,7 +619,7 @@ void (empty response body)
619
619
### HTTP response details
620
620
| Status code | Description | Response headers |
621
621
|-------------|-------------|------------------|
622
-
**200** | Success. | - |
622
+
**200** | Success | - |
623
623
624
624
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
**amount** | **str** | Account total balance amount. | [optional]
8
-
**currency** | **str** | Currency. | [optional]
7
+
**amount** | **str** | Account total balance amount | [optional]
8
+
**currency** | **str** | Currency | [optional]
9
9
**unrealised_pnl** | **str** | Unrealised_pnl, this field will only appear in futures, options, delivery, and total accounts | [optional]
10
-
**borrowed** | **str** | Borrowed,this field will only appear in margin and cross_margin accounts. | [optional]
10
+
**borrowed** | **str** | Total borrowed amount, this field will only appear in margin and cross_margin accounts | [optional]
11
11
12
12
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**copy_trading_role** | **int** | User role: 0 - Normal user, 1 - Copy trading leader, follower, 3 - Both leader and follower | [optional]
12
+
**copy_trading_role** | **int** | User role: 0 - Normal user, 1 - Copy trading leader, 2 - Follower, 3 - Both leader and follower | [optional]
13
13
14
14
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments